This is a discussion on NullPointerException -- weblogic.servlet.security.ServletAuthentication - Weblogic ; Hi
We are getting NullPointerException in a new environment.
We tried to debugg this issue by decompiling application code.
We found that the null pointer exception is being raised in jsp page at the line
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weblogic.servlet.security.
ServletAuthentication.weak(userName,"DUMMY",session);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
...

We found that the null pointer exception is being raised in jsp page at the line
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weblogic.servlet.security.
ServletAuthentication.weak(userName,"DUMMY",session);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~

This is the new environment:
-------------------------------------------
The new environment introduced a lot of changes, web server(iPlanet) version from 4.X to 6.0, web platform form NT to Solaris, weblogic proxy plugin from Windows version to Unix version, and siteminder agent from 4.x to 5qmr6.

The only thing remained constant was the WebLogic server(6.1), but ironically, We believe WebLogic application is the only place where the problem can be identified. Whether the cause of error is at web or siteminder, the WebLogic application is the one that can tell us why the application is not happy with something at the login.

Please note:
--------------------------
The application work fine before the above changes.
In new environment the application code and the weblogic Application server version and configuration are not changed.

Thanks in advance

Error:
-----------------------------------------

java.lang.NullPointerException
at weblogic.servlet.security.internal.SecurityModule. logoutSession(SecurityModule.java:386)
at weblogic.servlet.security.internal.SecurityModule. checkAuthenticate(SecurityModule.java:292)
at weblogic.servlet.security.ServletAuthentication.we ak(ServletAuthentication.java:353)
at jsp_servlet.__Main._jspService(__Main.java:263)
at weblogic.servlet.jsp.JspBase.service(JspBase.java: 27)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeSe rvlet(ServletStubImpl.java:198)
at weblogic.servlet.internal.WebAppServletContext.inv okeServlet(WebAppServletContext.java:2678)
at weblogic.servlet.internal.ServletRequestImpl.execu te(ServletRequestImpl.java:2412)
at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:140)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:121)