PQ81381: A hidden NullPointerException occurs during EJB greedy finder collection iterations using bean level access intent.

 A fix is available

5.1.0.5: WebSphere Application Server V5.1.0 Cumulative Fix 5



APAR status
Closed as program error.

Error description
During a entity bean greedy finder collection iteration, a
NullPointerException will be thrown if the following conditions
are met:

1) Bean level access intent is used and
2) Option A activation strategy is assigned to the entity bean.
.
■10/22/03 14:36:40:906 CDT 59dc286f AccessIntentM >
handleException
.
com.ibm.ejs.ras.TraceComponent@8b0a86f
java.lang.NullPointerException
at
com.ibm.ws.appprofile.BaseAccessIntent.getAccessIntent
BaseAccessIntent.java:107)
at
com.ibm.ejs.container.EJBMethodInfoImpl.getAccessIntent(EJBMetho
dInfoImpl.java:386)
       at
com.ibm.ejs.container.EntityBeanO.setAccessIntent(EntityBeanO.ja
va:1780)
       at
com.ibm.ejs.container.EntityBeanO.enlist(EntityBeanO.java:785)
       at
com.ibm.ejs.container.activator.OptAEntityActivationStrategy.doA
ctivation(OptAEntityActivationStrategy.java:142)
       at
com.ibm.ejs.container.activator.OptAEntityActivationStrategy.atA
ctivate(OptAEntityActivationStrategy.java:323)
       at
com.ibm.ejs.container.activator.Activator.activateBean(Activator
.java:516)
       at
com.ibm.ejs.container.EJSHome.activateBean(EJSHome.java:1062)
       at
com.ibm.ejs.container.finder.FinderResultServerImpl.addWrapper(F
inderResultServerImpl.java:399)
       at
com.ibm.ejs.container.finder.FinderResultServerImpl.getWrapperBa
se(FinderResultServerImpl.java:572)
       at
com.ibm.ejs.container.finder.FinderResultServerImpl.getNextWrapp
erCollection(FinderResultServerImpl.java:734)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
Impl.java:79)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
AccessorImpl.java(Compiled Code))
       at java.lang.reflect.Method.invoke(Method.java(Compiled
Code))
.
 getAccessIntent
Unexpected exception retrieving
access intent on base
ACIN_ERRO_UNEXPECTED_EXCEPTION
     ■Ljava.lang.String;@590e2847
     true
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server user who uses   *
*                 entity bean with Option A activation         *
*                 strategy, specifies bean level access intent *
*                 and itereates customer finder collection     *
*                 may be affected.                             *
****************************************************************
* PROBLEM DESCRIPTION: When application iterates a customer    *
*                      finder collection of an entity bean     *
*                      which uses Option A activation          *
*                      strategy and with bean level access     *
*                      intent specified, a                     *
*                      NullPointerException may be logged as   *
*                      a problem in the system and trace       *
*                      log files.                              *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The NullPointerException is caused in a scenario not being
handled in the EJB Container and access intent processing
under the affected conditions.
Problem conclusion
EJB Container and access intent components have been
re-structured to handle the problem scenario. It has also
been redesigned in anticipation of future support and
compatibility of new access intent semantics.
Temporary fix Comments
APAR information
APAR number PQ81381
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 10W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-11-25
Closed date 2003-12-01
Last modified date 2005-02-24

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
EJBCONTR          

Publications Referenced

Fix information

Applicable component levels
R00W PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 10W
Software edition:
Reference #: PQ81381
IBM Group: Software Group
Modified date: Feb 24, 2005