  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Exception on invoking remove() on CMP EJB in WAS 5. | Exception on invoking remove() on CMP EJB in WAS 5. 2003-11-26 - By Vikram Naik
Back Hello,
I have deployed an application on WAS 5.0 consisting of Local CMP EJB 2.0 beans. Also have implemented CMR for some EJB's, update and inserts work fine, but on invoking remove() method on the component interface of the ejb which have container managed relationships, I get following a nullpointer exception.
I have checked with database constraints as well as the constraints on the EJB to RDB mapping everything is in place.
Please help me to decipher this Error.
The Exception stack is as specified below.
java.lang.NullPointerException  at com.ibm.ws.ejbpersistence.dataaccess.DataAccessRequestImpl.execute(DataAcces sRequestImpl.java:66) at com.ibm.ws.ejbpersistence.beanextensions.CBStatefulPersistor.executeRemove(C BStatefulPersistor.java:297) at com.ibm.ws.ejbpersistence.beanextensions.CBReadyState.ejbRemove(CBReadyState .java:68) at com.ibm.ws.ejbpersistence.beanextensions.CBStatefulPersistor.ejbRemove(CBSta tefulPersistor.java:152) at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanStatefulInstanceExtensi onImpl.ejbRemove(ConcreteBeanStatefulInstanceExtensionImpl.java:172) at se.ibs.dv.om.OrderProduct.ejb.ConcreteOrderProduct_c20dee4f.ejbRemove(Unknow n Source) at com.ibm.ejs.container.EntityBeanO.remove(EntityBeanO.java:1329) at com.ibm.ejs.container.EJSContainer.removeBean(EJSContainer.java:1922) at com.ibm.ejs.container.EJSLocalWrapper.remove(EJSLocalWrapper.java :154) at com.ibm.ws.ejbpersistence.associations.LinkManagerImpl.remove(LinkManagerImp l.java:98)
............
Thanks & Regards, Vikram Naik
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|
 |