java.lang.IllegalStateException: Primary key not available

Oracle Community | 807581 | 1 decade ago
  1. 0

    Any fix for jdo losing cmr related beans?

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

    problems with ejbCreate

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

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

    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:1252)
      3. com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:1753)
      4. com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1613)
      5. com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:529)
      5 frames
    3. com.boeing.bca
      _ConfigManagerBean_EJBObjectImpl_Tie._invoke
      1. com.boeing.bca.ednc.ejbcontainer.domain.DBstore.SourceSinkBean_1932466358_ConcreteImpl_LocalHomeImpl.create(SourceSinkBean_1932466358_ConcreteImpl_LocalHomeImpl.java:38)
      2. com.boeing.bca.ednc.ejbcontainer.services.DBstore.ConfigManagerBean.createSourceSinkInConfiguration(ConfigManagerBean.java:486)
      3. com.boeing.bca.ednc.ejbcontainer.services.DBstore.ConfigManagerBean_EJBObjectImpl.createSourceSinkInConfiguration(ConfigManagerBean_EJBObjectImpl.java:1222)
      4. com.boeing.bca.ednc.ejbcontainer.services.DBstore._ConfigManagerBean_EJBObjectImpl_Tie._invoke(Unknown Source)
      4 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