You're right. PageSection was public, but LoggerLevel was private. With that set to private, I get the same exception, only on that enumeration instead.
Dave
On Oct 13, 2010, at 7:46 AM, Q wrote:
>
> On 13/10/2010, at 9:41 PM, David Avendasora wrote:
>
>> It's not that easy. Before they were private, which doesn't work either.
>>
>
> It appears from David's commit that PageSection, the one you had the stacktrace for, was previously public.
>
>> Dave
>>
>> On Oct 13, 2010, at 7:17 AM, Kieran Kelleher wrote:
>>
>>> See who changed that page last in svn and send them an email.
>>>
>>> On Oct 13, 2010, at 6:25 AM, David Avendasora (JIRA) wrote:
>>>
>>>> Using JRebel breaks ERXLog4JConfiguration
>>>> -----------------------------------------
>>>>
>>>> Key: WOL-1181
>>>> URL: http://issues.objectstyle.org/jira/browse/WOL-1181
>>>> Project: WOProject/WOLips
>>>> Issue Type: Bug
>>>> Reporter: David Avendasora
>>>>
>>>>
>>>> If I use JRebel with a D2W project, the "Log4j" link in the bottom left throws the error below. Here's my launch args:
>>>>
>>>> ${jrebel_args} -XX:MaxPermSize=512m
>>>> -Xms512m
>>>> -Xmx1024m
>>>> -Drebel.webobjects_plugin=true
>>>> -Dwojrebel.noexclude
>>>>
>>>>
>>>> Oct 13 06:16:00 TotalViewAdminD2W[9191] (ERXNSLogLog4jBridge.java:43) WARN NSLog - <er.extensions.appserver.ERXDirectActionRequestHandler>: Exception while handling action named "log4j" on action class "ERXDirectAction" :com.webobjects.foundation.NSForwardException [java.lang.IllegalAccessException] Class com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access er.extensions.logging.ERXLog4JConfiguration$PageSection!:java.lang.IllegalAccessException: Class com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access er.extensions.logging.ERXLog4JConfiguration$PageSection!
>>>> Oct 13 06:16:00 TotalViewAdminD2W[9191] (TVWApplication.java:283) ERROR er.extensions.appserver.ERXApplication - Uncaught exception: java.lang.IllegalAccessException: Class com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access er.extensions.logging.ERXLog4JConfiguration$PageSection!
>>>> Extra info: {
>>>> "Current User" = "Katrina Dtqemooq";
>>>> "CurrentComponent" = "er.extensions.logging.ERXLog4JConfiguration";
>>>> "PreviousPageList" = (
>>>> "QuerySamsPerson",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "QuerySamsPerson",
>>>> "QuerySamsPerson",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "QuerySamsStudent",
>>>> "er.extensions.components.ERXLocalizationEditor",
>>>> "QuerySamsStudent",
>>>> "QuerySamsPerson",
>>>> "QuerySamsPerson",
>>>> "QuerySamsStudent",
>>>> "QuerySamsPerson"
>>>> );
>>>> "Headers" = {
>>>> "user-agent" = "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5";
>>>> "accept-encoding" = "gzip, deflate";
>>>> "accept-language" = "en-us";
>>>> "accept" = "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
>>>> "connection" = "keep-alive";
>>>> "referer" = "http://10.0.1.8:9191/cgi-bin/WebObjects/TotalViewAdminD2W.woa/wo/q6TTENDXmwbQSrjO8ZxGYw/29.0.3.3.7.2.1.0.0.0.1.1.0.0";
>>>> "host" = "10.0.1.8:9191";
>>>> };
>>>> "CurrentPage" = "er.extensions.logging.ERXLog4JConfiguration";
>>>> "Current Account" = "10050133627";
>>>> "URL" = "/cgi-bin/WebObjects/TotalViewAdminD2W.woa/wa/ERXDirectAction/log4j?wosid=q6TTENDXmwbQSrjO8ZxGYw";
>>>> }
>>>>
>>>> IllegalAccessException: Class com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1 can not access er.extensions.logging.ERXLog4JConfiguration$PageSection!
>>>> at com.zeroturnaround.javarebel.kd.checkAndSetAccessibility(JRebel:757)
>>>> ... skipped 11 stack elements
>>>> at ognl.helperfunction.WOHelperFunctionKeyValueAssociation.valueInComponent(WOHelperFunctionKeyValueAssociation.java:50001)
>>>> ... skipped 14 stack elements
>>>> at er.extensions.logging.ERXLog4JConfiguration.__jrma__611$44536(ERXLog4JConfiguration.java:50001)
>>>> ... skipped 6 stack elements
>>>> at er.extensions.logging.ERXLog4JConfiguration.generateResponse(ERXLog4JConfiguration.java:50001)
>>>> ... skipped 5 stack elements
>>>> at er.extensions.appserver.ajax.ERXAjaxApplication.dispatchRequest(ERXAjaxApplication.java:50001)
>>>> ... skipped 1 stack elements
>>>> at com.k12.totalview.app.TVWApplication.dispatchRequestImmediately(TVWApplication.java:50001)
>>>> at com.k12.totalview.app.Application.dispatchRequestImmediately(Application.java:50001)
>>>> ... skipped 1 stack elements
>>>> at com.k12.totalview.app.TVWApplication.dispatchRequest(TVWApplication.java:213)
>>>> at com.k12.totalview.app.Application.dispatchRequest(Application.java:42)
>>>> ... skipped 3 stack elements
>>>>
>>>>
>>>> --
>>>> This message is automatically generated by JIRA.
>>>> -
>>>> If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
>>>> -
>>>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>
This archive was generated by hypermail 2.0.0 : Wed Oct 13 2010 - 11:56:40 UTC