Atmosphere/atmosphere — Issue #108: Possible NPE with SimpleBroadcaster
Author: jfarcand
Created: 2011-12-07 13:24:33+00:00
State: open

ERROR 2011-12-07 08:21:15.935 +0000 WordnikSystemExceptionMapper - RuntimeException: null
java.lang.NullPointerException
at org.atmosphere.cpr.DefaultBroadcaster.trackBroadcastMessage(DefaultBroadcaster.java:742)
at org.atmosphere.cpr.DefaultBroadcaster.perRequestFilter(DefaultBroadcaster.java:608)
at org.atmosphere.cpr.DefaultBroadcaster.push(DefaultBroadcaster.java:544)
at org.atmosphere.util.SimpleBroadcaster.broadcast(SimpleBroadcaster.java:99)
at com.wordnik.smartwords.resource.Smartwords$$anonfun$com$wordnik$smartwords$resource$Smartwords$$broadcast$1.apply(Smartwords.scala:185)
at com.wordnik.smartwords.resource.Smartwords$$anonfun$com$wordnik$smartwords$resource$Smartwords$$broadcast$1.apply(Smartwords.scala:174)
at com.wordnik.resource.util.Profiler$class.profile(Profiler.scala:14)
at com.wordnik.smartwords.resource.Smartwords.profile(Smartwords.scala:26)
at com.wordnik.smartwords.resource.Smartwords.com$wordnik$smartwords$resource$Smartwords$$broadcast(Smartwords.scala:174)
at com.wordnik.smartwords.resource.Smartwords$$anonfun$subscribeAndPublish$1.apply(Smartwords.scala:167)
at com.wordnik.smartwords.resource.Smartwords$$anonfun$subscribeAndPublish$1.apply(Smartwords.scala:126)
at com.wordnik.resource.util.Profiler$class.profile(Profiler.scala:14)
at com.wordnik.smartwords.resource.Smartwords.profile(Smartwords.scala:26)
at com.wordnik.smartwords.resource.Smartwords.subscribeAndPublish(Smartwords.scala:126)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$JResponseOutInvoker._dispatch(AbstractResourceMethodDispatchPr
ovider.java:236)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1465)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1396)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1345)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1335)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)