Page 1 of 1

HttpBox.do Exception

Posted: 12 Feb 2008, 10:44
by drpeck
INFO | jvm 1 | 2008/02/11 14:16:58 | 2008-02-11 14:16:58.202::WARN: /BlueBox/HttpBox.do
INFO | jvm 1 | 2008/02/11 14:16:58 | java.lang.ArrayIndexOutOfBoundsException: 26
INFO | jvm 1 | 2008/02/11 14:16:58 | at java.util.LinkedList.toArray(Unknown Source)
INFO | jvm 1 | 2008/02/11 14:16:58 | at it.gotoandplay.smartfoxserver.httpbox.data.SFSClient.getMessages(SFSClient.java:140)
INFO | jvm 1 | 2008/02/11 14:16:58 | at it.gotoandplay.smartfoxserver.httpbox.HttpBox.handlePollingRequest(HttpBox.java:384)
INFO | jvm 1 | 2008/02/11 14:16:58 | at it.gotoandplay.smartfoxserver.httpbox.HttpBox.doPost(HttpBox.java:163)
INFO | jvm 1 | 2008/02/11 14:16:58 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
INFO | jvm 1 | 2008/02/11 14:16:58 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098)
INFO | jvm 1 | 2008/02/11 14:16:58 | at it.gotoandplay.smartfoxserver.httpbox.filter.SessionIDFilter.doFilter(SessionIDFilter.java:194)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.Server.handle(Server.java:285)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
INFO | jvm 1 | 2008/02/11 14:16:58 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

I don't have any useful output before this, but I'm getting this reported in multiple locations in my server log.

Posted: 12 Feb 2008, 15:43
by Lapo
Interesting exception... actually the error seems to be occurring not in our code but inside the java.util.LinkedList code :shock:
INFO | jvm 1 | 2008/02/11 14:16:58 | java.lang.ArrayIndexOutOfBoundsException: 26
INFO | jvm 1 | 2008/02/11 14:16:58 | at java.util.LinkedList.toArray(Unknown Source)
INFO | jvm 1 | 2008/02/11 14:16:58 | at


Could you zip the entire log file and send it to us via email?
Thanks

p.s. = use the "contact us" button for the email

Posted: 19 Feb 2008, 07:26
by Lapo
Haven't received anything up to now. Did the problem disappear?

Log file sent

Posted: 11 Mar 2008, 15:53
by drpeck
Sorry I got called on to another project and so haven't revisited this since.

I've sent the log file and FYI I'm running java version 1.6.0_03

Any help gratefully received!

Ta.