java.lang.IllegalStateException: Primary key not available

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • problems with ejbCreate
    via by 807581,
  • Any fix for jdo losing cmr related beans?
    via by 807581,
    • java.lang.IllegalStateException: Primary key not available at com.sun.ejb.containers.EntityContextImpl.getPrimaryKey(EntityContextImpl.java:157) at com.sun.ejb.containers.EntityContainer.forceDestroyBean(EntityContainer.java:1272) at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:1730) at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1590) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:510) at br.com.inttegra.infra.bean.dialogo.DialogoEJB_17447201_ConcreteImpl_LocalHomeImpl.create(DialogoEJB_17447201_ConcreteImpl_LocalHomeImpl.java:50) at br.com.inttegra.infra.bean.dialogo.DialogoBizBean.insert(DialogoBizBean.java:218) at br.com.inttegra.infra.bean.dialogo.DialogoBizBean_EJBLocalObjectImpl.insert(DialogoBizBean_EJBLocalObjectImpl.java:270) at br.com.inttegra.infra.businesslayer.ejb.ControllerBean.insert(ControllerBean.java:378) at br.com.inttegra.infra.businesslayer.ejb.ControllerBean_EJBObjectImpl.insert(ControllerBean_EJBObjectImpl.java:132) at br.com.inttegra.infra.businesslayer.ejb._ControllerBean_EJBObjectImpl_Tie._invoke(Unknown Source) at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569) at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211) at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113) at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275) at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83) at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25) at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
    No Bugmate found.