A NullPointerException error occurs when adding or updating a customer finder method in an enterprise bean
 Technote (troubleshooting)
 
Problem(Abstract)
When you update or add a new custom finder method to an enterprise bean in WebSphere® Application Server, a NullPointerException error, which includes the executeFinder method, might be created. The following information is an example of this error:


9/22/04 12:03:19:912 EDT 23081364 WSInteraction < execute with
NullPointerException
java.lang.NullPointerException
at
com.customcom.customer.cci.ejb.entity.websphere_deploy.ORACLE_V9_1.
ConntactBeanFunctionSet_08ac3cdf.execute(Unknown Source)
at
com.ibm.ws.rsadapter.cci.WSInteractionImpl.execute(WSInteraction
Impl.java:417)
at
com.ibm.wsspi.ejbpersistence.WSEJBToRAAdapter.executeFinder(WSEJ
BToRAAdapter.java:149)
at
com.ibm.ws.rsadapter.cci.WSRelationalRAAdapter.executeFinder(WSR
elationalRAAdapter.java:174)
at
com.ibm.ws.ejbpersistence.dataaccess.DataAccessRequestImpl.
execute(Unknown Source)
at
com.ibm.ws.ejbpersistence.beanextensions.
ConcreteBeanStatefulInstanceExtensionImpl.
executeQuery(Unknown Source)
at
com.ibm.ws.ejbpersistence.beanextensions.
ConcreteBeanStatefulInstanceExtensionImpl.
executeFind(Unknown Source)
at
com.mycom.tmmna.cci.ejb.entity.
ConcreteContact_08ac3cdf.ejbFindContactsByUserId_Local(ConcreteContact_08ac3cdf.java:141)
 
Cause
The application server that hosts the enterprise bean was not restarted after the change to the executeFinder method.
 
Resolving the problem
Restart the application server that hosts the enterprise bean with the changed executeFinder method. When you change or add a new executeFinder method you must restart WebSphere Application Server.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers WebSphere Application Server Enterprise 5.0.2, 5.0.1, 5.0
Application Servers WebSphere Application Server EJB Container 5.1.1, 5.1 WebSphere Business Integrations Server Foundation
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > EJB Container
Operating system(s): Windows
Software version: 6.0.2
Software edition:
Reference #: 1238481
IBM Group: Software Group
Modified date: May 25, 2006