java.lang.NullPointerException

Apereo Issues | Matt Peterson | 8 years ago
  1. 0

    Whenever a portlet times out, the following stacktrace is recorded to the portal log file instead of a message stating that the portlet timed out: SEVERE: Servlet.service() for servlet [portlet-context] threw exception java.lang.NullPointerException at org.jasig.portal.portlet.session.PortletSessionExpirationManager.onEnd(PortletSessionExpirationManager.java:73) at org.apache.pluto.core.PortletServlet.notify(PortletServlet.java:287) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:241) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101) at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:480) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:186) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

    Apereo Issues | 8 years ago | Matt Peterson
    java.lang.NullPointerException
  2. 0

    Whenever a portlet times out, the following stacktrace is recorded to the portal log file instead of a message stating that the portlet timed out: SEVERE: Servlet.service() for servlet [portlet-context] threw exception java.lang.NullPointerException at org.jasig.portal.portlet.session.PortletSessionExpirationManager.onEnd(PortletSessionExpirationManager.java:73) at org.apache.pluto.core.PortletServlet.notify(PortletServlet.java:287) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:241) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101) at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:480) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:186) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

    Apereo Issues | 8 years ago | Matt Peterson
    java.lang.NullPointerException
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.jasig.portal.portlet.session.PortletSessionExpirationManager.onEnd()
    2. org.jasig.portal
      PortletSessionExpirationManager.onEnd
      1. org.jasig.portal.portlet.session.PortletSessionExpirationManager.onEnd(PortletSessionExpirationManager.java:73)
      1 frame
    3. Pluto Portlet Container
      PortletServlet.doGet
      1. org.apache.pluto.core.PortletServlet.notify(PortletServlet.java:287)
      2. org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:241)
      3. org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
      3 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    5. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
      5 frames
    6. Pluto Portlet Container
      PortletContainerImpl.doRender
      1. org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
      2. org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101)
      3. org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:173)
      3 frames
    7. org.jasig.portal
      BaseTask.run
      1. org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:480)
      2. org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:186)
      3. org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:545)
      4. org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)
      4 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames