java.lang.IllegalArgumentException: [EJB:010142]Instance of EJB 'LineItem' with primary key 'li8' does not exist.

Oracle Community | 897118 | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [EJB:010142] error for cascade-delete

    Oracle Community | 5 years ago | 897118
    java.lang.IllegalArgumentException: [EJB:010142]Instance of EJB 'LineItem' with primary key 'li8' does not exist.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      [EJB:010142]Instance of EJB 'LineItem' with primary key 'li8' does not exist.

      at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException()
    2. weblogic.ejb.container
      EntityEJBLocalObject.remove
      1. weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:141)
      2. weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:657)
      3. weblogic.ejb.container.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:150)
      4. weblogic.ejb.container.internal.EntityEJBLocalObject.remove(EntityEJBLocalObject.java:132)
      4 frames
    3. Test1
      Order_cpl9bk_ELOImpl.remove
      1. Test1.Order_cpl9bk_ELOImpl.remove(Order_cpl9bk_ELOImpl.java:577)
      1 frame
    4. jsp_servlet
      __cascadedeletetest._jspService
      1. jsp_servlet.__cascadedeletetest._jspService(__cascadedeletetest.java:198)
      1 frame
    5. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      1 frame
    6. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3272)
      5 frames
    7. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    8. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    9. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2019)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1925)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1394)
      3 frames
    10. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      2 frames