java.lang.NullPointerException

wordpress.com | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.atmosphere.samples.chat.ChatAtmosphereHandler.onEvent()
  2. org.atmosphere.samples
    ChatAtmosphereHandler.onEvent
    1. org.atmosphere.samples.chat.ChatAtmosphereHandler.onEvent(ChatAtmosphereHandler.java:96)
    1 frame
  3. atmosphere-runtime
    AtmosphereServlet.service
    1. org.atmosphere.cpr.WebContainer.action(WebContainer.java:115)
    2. org.atmosphere.cpr.WebContainer.suspended(WebContainer.java:93)
    3. org.atmosphere.container.JettyCometSupport.service(JettyCometSupport.java:89)
    4. org.atmosphere.cpr.AtmosphereServlet.service(AtmosphereServlet.java:310)
    4 frames
  4. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
    1 frame
  5. Glassfish Core
    StandardPipeline.invoke
    1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
    4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)
    5 frames
  6. Glassfish
    PESessionLockingStandardPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:87)
    2 frames
  7. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158)
    2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651)
    3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)
    4. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:318)
    5. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:222)
    5 frames
  8. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    1 frame
  9. Grizzly WS
    ProcessorTask.invokeAdapter
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:803)
    1 frame
  10. grizzly-comet
    CometAsyncFilter.doFilter
    1. com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:469)
    2. com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:338)
    3. com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
    3 frames
  11. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:164)
    2. com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:140)
    3. com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:90)
    4. com.sun.grizzly.http.TaskBase.run(TaskBase.java:190)
    5. com.sun.grizzly.http.TaskBase.execute(TaskBase.java:172)
    6. com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:142)
    7. com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:174)
    8. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    9. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    10. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    11. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    12. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    13. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    14. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    15. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:526)
    16. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:507)
    16 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame