java.lang.IllegalStateException: Primary key not available

Oracle Community | 807581 | 1 decade ago
  1. 0

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

    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

    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:1252)
      3. com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:1792)
      4. com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1608)
      5. com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:529)
      5 frames
    3. com.expense.ejb
      UserBean1689033004_ConcreteImpl_LocalHomeImpl.findAll
      1. com.expense.ejb.entity.container.UserBean1689033004_ConcreteImpl_LocalHomeImpl.findAll(UserBean1689033004_ConcreteImpl_LocalHomeImpl.java:133)
      1 frame