D2W and CooperatingEditingContext: Can anybody use together?
D2W and CooperatingEditingContext: Can anybody use together?
- Subject: D2W and CooperatingEditingContext: Can anybody use together?
- From: gbrown <email@hidden>
- Date: Thu, 21 Apr 2005 16:19:57 -0400
Can a D2W use a CooperatingEditingContext, which implements the
EOStateTransition interface?
Is there a way?
if I modify the session object :
Session(){ // use my ec
super();
setDefaultEditingContext(new CooperatingEditingContext());
}
then the app explodes with:
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
Application, then the later Exception in WOExceptionPage.
Original Exception:
java.lang.IllegalAccessException: Class
com.webobjects.foundation._NSUtilities can not access a member of class
Session with modifiers ""
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
at java.lang.Class.newInstance0(Class.java:302)
at java.lang.Class.newInstance(Class.java:261)
at
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:577)
at
com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1611)
at
com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:1752)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:309)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:432)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:552)
WOExceptionPage Exception:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden