You mean _sessionClass() ?

Le 7 juin 2011 à 14:23, Mike Schrag a écrit :

> not sure what changed in your app, but it's basically just guessing wrong on 
> the session class .. you can override _session() in your WOApplication 
> subclass and return the exact class you expect it to be.
> 
> ms
> 
> On Jun 7, 2011, at 8:20 AM, Jean Pierre Malrieu wrote:
> 
>> No I didn't... My Wonder version is probably several months old...
>> 
>> Le 7 juin 2011 à 14:16, Mike Schrag a écrit :
>> 
>>> did you update wonder within the past two days? try updating again.
>>> 
>>> On Jun 7, 2011, at 7:56 AM, Jean Pierre Malrieu wrote:
>>> 
>>>> Hi all,
>>>> 
>>>> All of a sudden, I cannot debug the app I was working on...
>>>> 
>>>> I am now receiving the following exception:
>>>> 
>>>> Application: SaisieIEP
>>>> Error: java.lang.IllegalStateException exception
>>>> Reason:
>>>> java.lang.IllegalStateException: An Exception occurred while generating 
>>>> the Exception page 'WOExceptionPage'. This is most likely due to an error 
>>>> in 'WOExceptionPage' itself or WebObjects encountered an uncaught 
>>>> exception while creating a Session object.
>>>> 
>>>> 
>>>> Below are the logs of the original Exception which occured in 
>>>> com.educlab.iep.Application, then the later Exception in WOExceptionPage.
>>>> 
>>>> Original Exception:
>>>> java.lang.IllegalArgumentException: <com.educlab.iep.Application> Class 
>>>> 'Session' exists (interface org.jabsorb.client.Session) but is not a 
>>>> subclass of WOSession.
>>>> at 
>>>> com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934)
>>>> at 
>>>> com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1973)
>>>> at 
>>>> er.extensions.appserver.ERXApplication.createSessionForRequest(ERXApplication.java:2239)
>>>> at 
>>>> com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2110)
>>>> at com.webobjects.appserver.WOContext.session(WOContext.java:369)
>>>> at 
>>>> com.webobjects.appserver.WOContext.componentActionURL(WOContext.java:1208)
>>>> at 
>>>> com.webobjects.appserver.WOContext._componentActionURL(WOContext.java:1255)
>>>> at 
>>>> er.extensions.components._private.ERXWOForm.appendAttributesToResponse(ERXWOForm.java:421)
>>>> at 
>>>> com.webobjects.appserver._private.WOHTMLDynamicElement._appendOpenTagToResponse(WOHTMLDynamicElement.java:493)
>>>> at 
>>>> er.extensions.components._private.ERXWOForm.appendToResponse(ERXWOForm.java:449)
>>>> at 
>>>> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
>>>> at 
>>>> com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
>>>> at 
>>>> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
>>>> at 
>>>> com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1574)
>>>> at 
>>>> com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1543)
>>>> at 
>>>> com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1538)
>>>> at 
>>>> com.webobjects.appserver.WODirectAction.defaultAction(WODirectAction.java:119)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at 
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>> at 
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at 
>>>> com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:144)
>>>> at 
>>>> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259)
>>>> at 
>>>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
>>>> at 
>>>> er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:124)
>>>> at 
>>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>>>> at 
>>>> er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1984)
>>>> at 
>>>> er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1949)
>>>> at 
>>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
>>>> at 
>>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
>>>> at java.lang.Thread.run(Thread.java:680)
>>>> 
>>>> 
>>>> I don't find any reference to org.jabsorb.client.Session in my code...
>>>> 
>>>> Ideas?
>>>> 
>>>> TIA
>>>> 
>>>> JPM
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>> 
>> Tout ce que l'on apprend à un enfant, on l'empêche de l'inventer ou de le 
>> découvrir.
>> J. Piaget
>> 
>> 
>> 
>> 
> 

Tout ce que l'on apprend à un enfant, on l'empêche de l'inventer ou de le 
découvrir.
J. Piaget




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to