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 [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to