Atmosphere/atmosphere — Issue #209: Atmosphere-meteor bug with IE 9.
Author: vasim
Created: 2012-03-06 09:52:05+00:00
State: open

just testing IE 9 with Atmosphere-meteor-pubsub.
Choose streaming and press switch transport.

In the version 0.9.SNAPSHOT from today 05.03.2012 I get an exception on glassfish 3.1.1 release or in glassfish 3.1.2b23(probably on all version between):
I test it with the version 0.8.5 and 0.8.6 of Atmosphere too and I get the same Exceptions.

[#|2012-03-05T16:49:07.958+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.
com.sun.enterprise.server.logging|_ThreadID=17;_ThreadName=http-thread-pool-8080
(2);|16:49:07.958 [http-thread-pool-8080(2)] ERROR o.a.h.ReflectorServletProcess
or - onRequest()
java.lang.NullPointerException: null
at org.atmosphere.samples.pubsub.MeteorPubSub.doGet(MeteorPubSub.java:58
) ~[MeteorPubSub.class:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [javax.s
ervlet.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [javax.s
ervlet.jar:na]
at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterCh
ain.java:170) ~[atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(Atmospher
eFilterChain.java:131) ~[atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWr
apper.service(ReflectorServletProcessor.java:311) ~[atmosphere-runtime-0.9-SNAPS
HOT.jar:0.9-SNAPSHOT]
at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorS
ervletProcessor.java:169) ~[atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor
.java:232) [atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProces
sor.java:167) [atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.container.GrizzlyCometSupport.service(GrizzlyCometSupp
ort.java:119) [atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.container.GlassFishWebSocketSupport.service(GlassFishW
ebSocketSupport.java:120) [atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFrame
work.java:1078) [atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:28
8) [atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:274
) [atmosphere-runtime-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [javax.s
ervlet.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [javax.s
ervlet.jar:na]
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java
:1539) [web-core.jar:3.1.1]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:281) [web-core.jar:3.1.1]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175) [web-core.jar:3.1.1]
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
ava:655) [web-core.jar:3.1.1]
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:595) [web-core.jar:3.1.1]
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) [web-g
lue.jar:3.1.1]
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESess
ionLockingStandardPipeline.java:91) [web-glue.jar:3.1.1]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:162) [web-core.jar:3.1.1]
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.j
ava:330) [web-core.jar:3.1.1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:231) [web-core.jar:3.1.1]
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(Container
Mapper.java:174) [kernel.jar:3.1.1]
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:8
28) [grizzly-http.jar:1.9.36]
at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:444
) [grizzly-comet.jar:1.9.36]
at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:308) [grizz
ly-comet.jar:1.9.36]
at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java
:87) [grizzly-comet.jar:1.9.36]
at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncEx
ecutor.java:171) [grizzly-http.jar:1.9.36]
at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecut
or.java:143) [grizzly-http.jar:1.9.36]
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java
:94) [grizzly-http.jar:1.9.36]
at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193) [grizzly-http.ja
r:1.9.36]
at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175) [grizzly-htt
p.jar:1.9.36]
at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.ja
va:145) [grizzly-http.jar:1.9.36]
at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.j
ava:204) [grizzly-http.jar:1.9.36]
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
tocolChain.java:137) [grizzly-framework.jar:1.9.36]
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:104) [grizzly-framework.jar:1.9.36]
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:90) [grizzly-framework.jar:1.9.36]
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
:79) [grizzly-http.jar:1.9.36]
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:54) [grizzly-framework.jar:1.9.36]
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:59) [grizzly-framework.jar:1.9.36]
at com.sun.grizzly.ContextTask.run(ContextTask.java:71) [grizzly-framewo
rk.jar:1.9.36]
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
ool.java:532) [grizzly-utils.jar:1.9.36]
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
.java:513) [grizzly-utils.jar:1.9.36]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_27]
|#]

[#|2012-03-05T16:49:07.960+0100|WARNING|glassfish3.1.1|javax.enterprise.system.c
ontainer.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=http-thread-pool-80
80(2);|StandardWrapperValve[MeteorServlet]: PWC1406: Servlet.service() for servl
et MeteorServlet threw exception
java.lang.RuntimeException: java.lang.NullPointerException
at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorS
ervletProcessor.java:172)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor
.java:232)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProces
sor.java:167)
at org.atmosphere.container.GrizzlyCometSupport.service(GrizzlyCometSupp
ort.java:119)
at org.atmosphere.container.GlassFishWebSocketSupport.service(GlassFishW
ebSocketSupport.java:120)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFrame
work.java:1078)
at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:28
8)
at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:274
)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java
:1539)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:281)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
ava:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESess
ionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.j
ava:330)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(Container
Mapper.java:174)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:8
28)
at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:444
)
at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:308)
at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java
:87)
at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncEx
ecutor.java:171)
at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecut
or.java:143)
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java
:94)
at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)
at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175)
at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.ja
va:145)
at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.j
ava:204)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
tocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
ool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
.java:513)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at org.atmosphere.samples.pubsub.MeteorPubSub.doGet(MeteorPubSub.java:58
)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterCh
ain.java:170)
at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(Atmospher
eFilterChain.java:131)
at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWr
apper.service(ReflectorServletProcessor.java:311)
at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorS
ervletProcessor.java:169)
... 41 more
|#]

With all other browsers like Firefox, Chrome or Opera works just fine.

I need a bugfix for version 0.8.6 please.