dcsimg
IllegalStateException
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   N_W
Posted On:   Wednesday, May 7, 2003 09:34 AM

I have an session been that creates one entity bean A that is also linked to another entity bean B via a relationship (ie a foriegn key) Whenever I try to create A it has alo to create a B and that within in A. As soon as I call the Set method after creating B I get : [07/05/03 17:27:06:962 BST] 78b28180 ExceptionUtil E CNTR0019E: Non-application exception occurred while processing method "create". Exception data: com.ibm.ejs.container.CreateFailureException: java.lang.IllegalStateException; nested exception is: java.lang.IllegalStateException java.lang.IllegalStateException at com.ibm.ejs.container.EntityBeanO.getEJBLocalObject(EntityBeanO.java:1481) at com.ibm.ws.   More>>

I have an session been that creates one entity bean A that is also linked to another entity bean B via a relationship (ie a foriegn key)

Whenever I try to create A it has alo to create a B and that within in A. As soon as I call the Set method after creating B I get :



[07/05/03 17:27:06:962 BST] 78b28180 ExceptionUtil E CNTR0019E: Non-application exception occurred while processing method "create". Exception data: com.ibm.ejs.container.CreateFailureException: java.lang.IllegalStateException; nested exception is:
java.lang.IllegalStateException
java.lang.IllegalStateException
at com.ibm.ejs.container.EntityBeanO.getEJBLocalObject(EntityBeanO.java:1481)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanInstanceExtensionImpl.getEJBObject(ConcreteBeanInstanceExtensionImpl.java:345)
at com.ibm.ws.ejbpersistence.associations.OneValuedLinkImpl.connectTo(OneValuedLinkImpl.java:63)
at com.ibm.ws.ejbpersistence.associations.OneValuedLinkImpl.setValue(OneValuedLinkImpl.java:202)
at com.ibm.ws.ejbpersistence.associations.ForwardOneLinkImpl.setValue(ForwardOneLinkImpl.java:89)



Does anyone has any idea why this is happending


N    <<Less
About | Sitemap | Contact