Topic
  • 7 replies
  • Latest Post - ‏2015-12-03T03:39:56Z by Rhco
SystemAdmin
SystemAdmin
5842 Posts

Pinned topic Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

‏2012-12-10T13:38:23Z |
After configuring my SCCD 7.5 to integrate with Active Directory, I'm getting the following error when trying to login:

Error 500: java.lang.NullPointerException

Below also what I could find in the systemout log file:

12/10/12 4:56:25:255 PST 00000043 SystemOut O 10 Dec 2012 04:56:25:255 ERROR] [ [] Error obtaining mxe.webclient.maxuisessions
java.lang.NullPointerException
at psdi.server.MXServer.getProperty(MXServer.java:4054)
at psdi.webclient.system.session.WebClientSessionFactory.getMaxSessions(WebClientSessionFactory.java:92)
at psdi.webclient.system.session.WebClientSessionFactory.hasAvailableSessions(WebClientSessionFactory.java:133)
at psdi.webclient.system.controller.RequestManager.checkSession(RequestManager.java:234)
at psdi.webclient.system.controller.RequestManager.manageRequest(RequestManager.java:68)
at psdi.webclient.servlet.WebClientServlet.handleRequest(WebClientServlet.java:123)
at psdi.webclient.servlet.WebClientServlet.doGet(WebClientServlet.java:72)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at psdi.webclient.system.filter.HttpCrossSiteScriptingSecurity.doFilter(HttpCrossSiteScriptingSecurity.java:66)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at psdi.webclient.system.filter.TIPCMSFilter.doFilter(TIPCMSFilter.java:38)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
12/10/12 4:56:26:317 PST 00000043 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet webclient in application MAXIMO. Exception created : java.lang.NullPointerException
at psdi.server.MXServer.getProperty(MXServer.java:4054)
at psdi.webclient.system.runtime.WebClientRuntime.getWebClientSystemProperty(WebClientRuntime.java:1645)
at psdi.webclient.system.runtime.WebClientRuntime.getWebClientProperty(WebClientRuntime.java:1582)
at psdi.webclient.system.runtime.WebClientRuntime.getWebClientProperty(WebClientRuntime.java:1514)
at psdi.webclient.system.controller.RequestManager.checkSession(RequestManager.java:420)
at psdi.webclient.system.controller.RequestManager.manageRequest(RequestManager.java:68)
at psdi.webclient.servlet.WebClientServlet.handleRequest(WebClientServlet.java:123)
at psdi.webclient.servlet.WebClientServlet.doGet(WebClientServlet.java:72)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at psdi.webclient.system.filter.HttpCrossSiteScriptingSecurity.doFilter(HttpCrossSiteScriptingSecurity.java:66)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at psdi.webclient.system.filter.TIPCMSFilter.doFilter(TIPCMSFilter.java:38)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)

I appreciate your help.
Thanks,
Mario
Updated on 2012-12-20T11:17:30Z at 2012-12-20T11:17:30Z by Techguy_maximo
  • SystemAdmin
    SystemAdmin
    5842 Posts

    Re: Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

    ‏2012-12-19T12:23:08Z  
    anyone can help?
    thanks a lot
  • Techguy_maximo
    Techguy_maximo
    33 Posts

    Re: Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

    ‏2012-12-19T22:48:48Z  
    anyone can help?
    thanks a lot
    Hi,

    Generally Error 500 will occur if the application is facing some issue with the database. Please tell us in which OS you have installed the SCCD ? Did you performed any database configuration ?
  • SystemAdmin
    SystemAdmin
    5842 Posts

    Re: Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

    ‏2012-12-20T07:55:49Z  
    Hi,

    Generally Error 500 will occur if the application is facing some issue with the database. Please tell us in which OS you have installed the SCCD ? Did you performed any database configuration ?
    Thanks Techguy_maximo for the reply.

    I have installed SCCD 7.5 on Windows Server 2008 R2 Standard.
    After the upgrade, I have allied changes in Database Configuration. It was working fine before configuring SCCD to integrate with LDAP. After the configuration, I'm getting that error after authenticating.

    Thanks
  • Techguy_maximo
    Techguy_maximo
    33 Posts

    Re: Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

    ‏2012-12-20T11:17:30Z  
    Thanks Techguy_maximo for the reply.

    I have installed SCCD 7.5 on Windows Server 2008 R2 Standard.
    After the upgrade, I have allied changes in Database Configuration. It was working fine before configuring SCCD to integrate with LDAP. After the configuration, I'm getting that error after authenticating.

    Thanks
    Hi,

    It seems you still need to do some changes in the either in.xml properties files or in the web console. Before integration what kind of authentication process you are using ? Is it Maximo authentication 0r WebSphere ? Please try to run config db update from the command prompt.
  • jimmie.jones
    jimmie.jones
    1 Post

    Re: Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

    ‏2013-07-16T03:50:44Z  

    Hello Mario,

       Did you ever find a resolution?

  • EP15_Robert_Kilian
    EP15_Robert_Kilian
    1 Post

    Re: Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

    ‏2013-09-04T13:57:53Z  
    Hi,

    It seems you still need to do some changes in the either in.xml properties files or in the web console. Before integration what kind of authentication process you are using ? Is it Maximo authentication 0r WebSphere ? Please try to run config db update from the command prompt.

    Hi folks,

    I just ran into a simular problem with Tivoli Network Manager for IP. Turns out /opt on the server completely ran out of space and could not process the login and started throwing an Error 500: java.lang.NullPointerException. If that's the case, try resizing rootvg-opt. Mine was set at 6GB, and I just upped it to 10GB. I see here you're on Windows, but in case anyone out there is on Linux I figured I'd include this just to illustrate what's going on...

    [root@myserver bin]# df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/mapper/rootvg-system
                           2031440   1359788    566796  71% /
    /dev/mapper/rootvg-usr
                           6094400   4666624   1113204  81% /usr
    /dev/mapper/rootvg-home
                           1015704     34228    929048   4% /home
    /dev/mapper/rootvg-var
                           2031440    210500   1716084  11% /var
    /dev/mapper/rootvg-opt
                           6094400   6094400         0 100% /opt

    /dev/mapper/rootvg-tmp
                           1015704    244488    718788  26% /tmp
    /dev/sda1               396623     46172    329970  13% /boot
    tmpfs                  4087264         0   4087264   0% /dev/shm

    [root@myserver bin]# lvextend -L10G /dev/mapper/rootvg-opt
      /dev/cdrom: open failed: No medium found
      Extending logical volume opt to 10.00 GB
      Logical volume opt successfully resized

    [root@myserver bin]# resize2fs /dev/mapper/rootvg-opt
    resize2fs 1.39 (29-May-2006)
    Filesystem at /dev/mapper/rootvg-opt is mounted on /opt; on-line resizing required
    Performing an on-line resize of /dev/mapper/rootvg-opt to 2621440 (4k) blocks.
    The filesystem on /dev/mapper/rootvg-opt is now 2621440 blocks long.

    Once I resized, TIP let me login no problem.

  • Rhco
    Rhco
    1 Post

    Re: Error 500: java.lang.NullPointerException when trying to login to SCCD 7.5

    ‏2015-12-03T03:39:56Z  

    Hi, I've also encounter the Error 500:java.lang.NullPointerException while i'm trying to login in SCCD 7.5. I would like to ask if how can i resolve this error. thanks !:)