NullPointerException when adding console users
 Technote (troubleshooting)
 
Problem(Abstract)
When using the administrative console to add a user to the Console Users, WebSphere® Application Server issues a NullPointerException in the SystemOut.log file.
 
Cause
The problem is caused by a corrupted system management file, preferences.xml.
The following is an example of the NullPointerException located in the SystemOut.log file:

[5/21/04 13:46:15:096 GMT-05:00]   3b3c06 WebGroup      I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]:
/secure/layouts/dynamicSelectionLayout.jsp: init
[5/21/04 13:52:00:290 GMT-05:00]    e0782 WebGroup      E SRVE0026E: [Servlet Error]-[]: java.lang.NullPointerException
   at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:665)
   at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:198)
   at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
   at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:212)
   at
. . .
 
Resolving the problem
Remove all occurences of the preferences.xml file under the WebSphere directories, then restart WebSphere Application Server. A new file is created at server restart.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > System Management/Repository
Operating system(s): Windows
Software version: 5.1.1
Software edition:
Reference #: 1173373
IBM Group: Software Group
Modified date: Aug 16, 2004