java.lang.IllegalStateException: Primary key not available

Oracle Community | 807581 | 1 decade ago
  1. 0

    problems with ejbCreate

    Oracle Community | 1 decade ago | 807581
    java.lang.IllegalStateException: Primary key not available
  2. 0

    java.lang.IllegalStateException when trying to get a entity bean

    Oracle Community | 1 decade ago | 807581
    java.lang.IllegalStateException: Primary key not available
  3. 0

    Any fix for jdo losing cmr related beans?

    Oracle Community | 1 decade ago | 807581
    java.lang.IllegalStateException: Primary key not available
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Second application using EJB with CMP cannot see SQL Server Tables.

    Oracle Community | 1 decade ago | 807581
    java.lang.IllegalStateException: Primary key not available
  6. 0

    javax.ejb.EJBException: Null primary key returned by ejbCreate method

    Oracle Community | 1 decade ago | 843830
    java.lang.IllegalStateException: Primary key not available

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Primary key not available

      at com.sun.ejb.containers.EntityContextImpl.getPrimaryKey()
    2. Embedded GlassFish Web
      BaseContainer.postInvoke
      1. com.sun.ejb.containers.EntityContextImpl.getPrimaryKey(EntityContextImpl.java:157)
      2. com.sun.ejb.containers.EntityContainer.forceDestroyBean(EntityContainer.java:1272)
      3. com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:1730)
      4. com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1590)
      5. com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:510)
      5 frames
    3. br.com.inttegra
      _ControllerBean_EJBObjectImpl_Tie._invoke
      1. br.com.inttegra.infra.bean.dialogo.DialogoEJB_17447201_ConcreteImpl_LocalHomeImpl.create(DialogoEJB_17447201_ConcreteImpl_LocalHomeImpl.java:50)
      2. br.com.inttegra.infra.bean.dialogo.DialogoBizBean.insert(DialogoBizBean.java:218)
      3. br.com.inttegra.infra.bean.dialogo.DialogoBizBean_EJBLocalObjectImpl.insert(DialogoBizBean_EJBLocalObjectImpl.java:270)
      4. br.com.inttegra.infra.businesslayer.ejb.ControllerBean.insert(ControllerBean.java:378)
      5. br.com.inttegra.infra.businesslayer.ejb.ControllerBean_EJBObjectImpl.insert(ControllerBean_EJBObjectImpl.java:132)
      6. br.com.inttegra.infra.businesslayer.ejb._ControllerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
      6 frames
    4. com.sun.corba
      RequestProcessor.process
      1. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
      2. com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
      3. com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
      4. com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
      5. com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
      5 frames
    5. com.iplanet.ias
      FastThreadPool$ThreadPoolThread.run
      1. com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
      2. com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
      2 frames