Hi, I am getting the following exception. I am unable to rectify it can anyone help me in this regard. I am working with Weblogic 8.1
EJB 2.0
I was trying to work around with CMP-CMR and here I am getting this exception.
Error 500--Internal Server Error
java.rmi.RemoteException: EJB Exception: ; nested exception is:
javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: java.lang.NullPointerException
at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:102)
at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:307)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:284)
at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:168)
at com.order.session.order_hvhkpl_EOImpl.addOrderDetails(order_hvhkpl_EOImpl.java:108)
at com.order.session.order_hvhkpl_EOImpl_CBV.addOrderDetails(Lcom.order.dto.OMOrderDTO;)Lcom.order.dto.OMOrderDTO;(Unknown Source)
at com.order.processor.OMProcessor.doGet(OMProcessor.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: java.lang.NullPointerException
at weblogic.ejb20.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal(EJBRuntimeUtils.java:247)
at weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:246)
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:326)
at com.order.entity.OrderManagementEntity_2oq38n_ELOImpl.getValues(OrderManagementEntity_2oq38n_ELOImpl.java:57)
at com.order.session.OrderManagemetBean.addOrderDetails(OrderManagemetBean.java:59)
at com.order.session.order_hvhkpl_EOImpl.addOrderDetails(order_hvhkpl_EOImpl.java:98)
... 14 more
Caused by: java.lang.NullPointerException
at com.order.entity.OrderManagementCMPBean.getValues(OrderManagementCMPBean.java:78)
at com.order.entity.OrderManagementEntity_2oq38n_ELOImpl.getValues(OrderManagementEntity_2oq38n_ELOImpl.java:45)
... 16 more