PQ88066: JAVA.LANG.NULLPOINTEREXCEPTION AFTER ATTEMPTING TO REMOVE A TRANSACTION CLASS MAPPING VARIABLE FROM ADMIN CONSOLE | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Administrators may see a java.lang.NullPointerException in the WebSphere joblog after attempting to remove a previously added Transaction Class Mapping variable. If the administrator has added a TCLASS value under 'Application Servers - <server> - Web Container - Advanced Settings - Network QoS, and pointed to a file in the 'Transaction Class Mapping' field, and saved, this should work. However, when going back in and deleting the value for the file, and setting Network QoS back to NONE, this effectively removes the value, but not the variable, in the runtime, causing the nullpointer at startup. Here is the full stack trace: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java(Compiled Code)) at com.ibm.ws.webcontainer.httpsession.SessionMgrComponentImpl. setWebContainerProps(SessionMgrComponentImpl.java:477) at com.ibm.ws.webcontainer.httpsession.SessionMgrComponentImpl. initialize(SessionMgrComponentImpl.java:148) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:706) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:632) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:706) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:643) at com.ibm.ws.runtime.component.ServerImpl.initialize (ServerImpl.java:144) at com.ibm.ws.runtime.WsServer.start(WsServer.java:138) at com.ibm.ws.runtime.WsServer.main(WsServer.java:248) at com.ibm.ws390.orb.CommonBridge.WsServerStartup (CommonBridge.java:374)Local fix In the server.xml, edit the properties tag, and add 'value=""' (do not include single quotes) between the name="was.transactionClassMappingFile" entry and the description="WLM Transaction Class Mapping Rule File" entry.Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V5.0 for z/OS * **************************************************************** * PROBLEM DESCRIPTION: After removing the value in the * * Transaction Class Mapping field of the * * Web Container Advanced Settings panel, * * and saving configuration, when the * * server is restarted, the Web * * Container throws a * * NullPointerException. * **************************************************************** * RECOMMENDATION: * **************************************************************** When the Administrative Console sequence Servers>Application Servers>ClusterMember1>Web Container> Advanced Settings (Configuration) is used to remove a value previously defined under Transaction Class Mapping, upon restart the server tries and fails to come up 3 times with an exception. WebContainer is getting a NullPointer Exception while trying to set its properties. Here is the full stack trace: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java(Compiled Code)) at com.ibm.ws.webcontainer.httpsession.SessionMgrComponentImpl. setWebContainerProps(SessionMgrComponentImpl.java:477) at com.ibm.ws.webcontainer.httpsession.SessionMgrComponentImpl. initialize(SessionMgrComponentImpl.java:148) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:706) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:632) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:706) at com.ibm.ws.runtime.component.ContainerImpl.initializeComponen (ContainerImpl.java:643) at com.ibm.ws.runtime.component.ServerImpl.initialize (ServerImpl.java:144) at com.ibm.ws.runtime.WsServer.start(WsServer.java:138) at com.ibm.ws.runtime.WsServer.main(WsServer.java:248) at com.ibm.ws390.orb.CommonBridge.WsServerStartup (CommonBridge.java:374)Problem conclusion A field was not being set properly in the server.xml file. The code was changed to set it properly. APAR PQ88066 is associated with SERVICE LEVEL W502009 of WebSphere Application Server V5.0 for z/OS.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Document Information |
Current web document: swg1PQ88066.html
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ88066
IBM Group: Software Group
Modified date: Jun 3, 2004
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.