Re: IllegalStateException after get a Entity
Re: IllegalStateException after get a Entity
- Subject: Re: IllegalStateException after get a Entity
- From: Jim Pearson <email@hidden>
- Date: Mon, 24 Nov 2003 13:44:15 -0500 (GMT-05:00)
Also, is the EC from a nested EC setup? Was the entity drawn from one EC and referenced in another?
-----Original Message-----
From: Jim Pearson <email@hidden>
Sent: Nov 24, 2003 12:29 PM
To: email@hidden, email@hidden
Subject: Re: IllegalStateException after get a Entity
It appears that the EC referencing your entity is not in current working state.
The part of the stack "attempt to send message to object of
class class swss.cidar.model.SWContact after its EOEditingContext was
finalized" is the indication that the EC holding your entity is either garbage collected, or is in a non-editable state.
Is the EC in a WOSession? Is the entity referenced outside a session?
-----Original Message-----
From: Nicolas BERNARD <email@hidden>
Sent: Nov 24, 2003 8:59 AM
To: email@hidden
Subject: IllegalStateException after get a Entity
When I access to a entity, I have this error. Why ? Can you help me ?
java.lang.IllegalStateException: attempt to send message to object of
class class swss.cidar.model.SWContact after its EOEditingContext was
finalized
at
com.webobjects.eocontrol.EOEditingContext$_EOInvalidationFaultHandler.completeInitializationOfObject(EOEditingContext.java:165)
at
com.webobjects.eocontrol.EOCustomObject.willRead(EOCustomObject.java:832)
at
com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_GenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:492)
at
com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1174)
at swss.cidar.model._SWContact.getContactNumber(_SWContact.java:201)
at
swss.cidar.model.SDL.report.SDLMonthlyReport_ClientCashTransactionDetail.getContactName(SDLMonthlyReport_ClientCashTransactionDetail.java:24)
at java.lang.reflect.Method.invoke(Native Method)
at
com.webobjects.foundation.NSKeyValueCoding$1.methodValue(NSKeyValueCoding.java:648)
at
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1122)
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1223)
at
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:450)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:170)
at
com.webobjects.foundation.NSKeyValueCodingAdditions$Utility.valueForKeyPath(NSKeyValueCodingAdditions.java:105)
at
com.webobjects.appserver.xml.WOXMLMappingCoder.encodeObjectWithXMLTag(WOXMLMappingCoder.java:120)
at
com.webobjects.appserver.xml.WOXMLMappingCoder.encodeArrayWithXMLTag(WOXMLMappingCoder.java:45)
at
com.webobjects.appserver.xml.WOXMLMappingCoder.encodeObjectWithXMLTag(WOXMLMappingCoder.java:59)
at
com.webobjects.appserver.xml.WOXMLMappingCoder.encodeArrayWithXMLTag(WOXMLMappingCoder.java:45)
at
com.webobjects.appserver.xml.WOXMLMappingCoder.encodeObjectWithXMLTag(WOXMLMappingCoder.java:59)
at
com.webobjects.appserver.xml.WOXMLMappingCoder.encodeRootObjectForKey(WOXMLMappingCoder.java:177)
at
infodesign.component.foundation.control.IDEOFController.encodeObjectToXML(IDEOFController.java:146)
at
swss.cidar.control.SDLMainController.getManagementReport(SDLMainController.java:1178)
at java.lang.reflect.Method.invoke(Native Method)
at
infodesign.component.foundation.control.IDGenericController.handleActionRequest(IDGenericController.java:368)
at
infodesign.component.foundation.servlet.IDDispatcherServlet.dispatchRequest(IDDispatcherServlet.java:292)
at
infodesign.component.foundation.servlet.IDDispatcherServlet.doGet(IDDispatcherServlet.java:230)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Unknown Source)
--
Nicolas BERNARD
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.