• Post Reply Bookmark Topic Watch Topic
  • New Topic

NEW ASSERTION ERROR

 
Shanmugam Karthikeyan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IAM USING JSP AS A CLIENT WHICH CALLS AN ORDINARY JAVA BEANS , FROM WHICH IAM CALLING
an Entity Bean.

IAM GETTING THE HOME OBJECT SUCCESSFULLY , BUT WHEN IAM USING THAT HOME OBJECT TO CALL THE
create( , , , )METHOD FROM MY JAVA BEANS ...

IT IS SHOWING THE FOLLOWING ERROR..

PLEASE HELP ME OUT......
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated]
at weblogic.utils.Debug.assert(Debug.java:74)
at weblogic.ejb20.internal.EntityEJBObject.setPrimaryKey(EntityEJBObject.java:61)
at weblogic.ejb20.internal.EntityEJBHome.allocateEO(EntityEJBHome.java:147)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:543)
at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:462)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:190)
at slnn.homebank.loans.loanrequest.LoanRequestBean_3tpett_HomeImpl.create
(LoanRequestBean_3tpett_HomeImpl.java:73)
at slnn.homebank.loans.loanrequest.LoanRequestBean_3tpett_HomeImpl_WLSkel.invoke
(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:158)
at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:253)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:220)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy114.create(Unknown Source)
at slnn.homebank.loans.LoanObject.loanRequestSave(LoanObject.java:67)
at jsp_servlet._jsp.__loanrequest._jspService(__loanrequest.java:234)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Error in getting EJBHome(LoanRequest) : java.rmi.RemoteException: EJB Exception:
; nested exception is:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion v
iolated ]
Error in Saving LoanRequest : java.rmi.RemoteException: EJB Exception: ; nested
exception is:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion v
iolated ]
 
Dave Landers
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really, there's no need to shout
I think that assertion raised is because the PK is null. If you have a BMP entity, make sure your ejbCreate method is returning a good (non-null) PK. If it's CMP, check your deployment descriptors.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!