java.lang.NullPointerException

Spring JIRA | Thomas Hoppe | 10 years ago
  1. 0

    Using the following settings in web.xml to have the Spring context being created: <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <listener> <listener-class> org.springframework.web.context.request.RequestContextListener </listener-class> </listener> Results in the following error message on console for EVERY request: [14.01.07 12:36:44:686 CET] 000000af WebApp E SRVE0026E: [Servlet-Fehler]-[Faces Servlet]: java.lang.NullPointerException at org.springframework.web.context.request.RequestContextListener.requestDestroyed(RequestContextListener.java:73) at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletRequestDestroyed(WebApp.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:980) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) Interestingly, Spring seems to work just fine (Scoped beans etc.)

    Spring JIRA | 10 years ago | Thomas Hoppe
    java.lang.NullPointerException
  2. 0

    Using the following settings in web.xml to have the Spring context being created: <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <listener> <listener-class> org.springframework.web.context.request.RequestContextListener </listener-class> </listener> Results in the following error message on console for EVERY request: [14.01.07 12:36:44:686 CET] 000000af WebApp E SRVE0026E: [Servlet-Fehler]-[Faces Servlet]: java.lang.NullPointerException at org.springframework.web.context.request.RequestContextListener.requestDestroyed(RequestContextListener.java:73) at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletRequestDestroyed(WebApp.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:980) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) Interestingly, Spring seems to work just fine (Scoped beans etc.)

    Spring JIRA | 10 years ago | Thomas Hoppe
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.web.context.request.RequestContextListener.requestDestroyed()
    2. Spring
      RequestContextListener.requestDestroyed
      1. org.springframework.web.context.request.RequestContextListener.requestDestroyed(RequestContextListener.java:73)
      1 frame