Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible NPE with SimpleBroadcaster #108

Closed
jfarcand opened this issue Dec 7, 2011 · 1 comment
Closed

Possible NPE with SimpleBroadcaster #108

jfarcand opened this issue Dec 7, 2011 · 1 comment

Comments

@jfarcand
Copy link
Member

jfarcand commented Dec 7, 2011

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)

@jfarcand
Copy link
Member Author

jfarcand commented Dec 7, 2011

Fixed

 (https://github.com/Atmosphere/atmosphere/commit/eb8da108ac722d80b57733ef9a8e0501bb0549c2)

@jfarcand jfarcand closed this as completed Dec 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant