We’ve been experiencing some strange random behavior from this add-on.
At some point it starts doing this:
Mar 18, 2013 6:13:07 PM org.icepush.servlet.EnvironmentAdaptingServlet
INFO: Adapting to Servlet 3.0 AsyncContext environment
Mar 18, 2013 6:13:07 PM org.icepush.servlet.AsyncAdaptingServlet
INFO: Using Servlet 3.0 AsyncContext
<Mar 18, 2013 6:13:08 PM CST> <[ServletContext@11051840[app:Stcv6Pruebas module:Stcv6Pruebas.war path:null spec-version:3.0]
] Servlet failed with an Exception
java.lang.RuntimeException: java.lang.RuntimeException: wrapped Exception: java.lang.NegativeArraySizeException
at org.vaadin.artur.icepush.ICEPushServlet.service(ICEPushServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: wrapped Exception: java.lang.NegativeArraySizeException
at org.icepush.servlet.MainServlet.service(MainServlet.java:87)
at org.vaadin.artur.icepush.ICEPushServlet.service(ICEPushServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NegativeArraySizeException
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.(ArrayList.java:131)
at org.icepush.servlet.BrowserDispatcher.discardUnusedServlets(BrowserDispatcher.java:89)
at org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:47)
at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:45)
Truncated. see log file for complete stacktrace
It throws that error on each new session made to the server.
Our application is running on weblogic 12 using vaadin 6.8.4 and icepush 0.2.1.
I already found another thread with a similar problem but no solution was provided.
Any help would be welcome.