Using r72 of http://buildfarm.st.ewi.tudelft.nl/ptg/repos/Gamestile/Gamestile

If you “register” (two users), then “create lobby”->“create game” (“5 in a row”), join with the second user, and click the grey area on the left hand side multiple times (somewhere around 20), you sometimes get the following mystery stacktrace (and a 404 after clicking), and F5 ‘fixes’ the issue, but after more clicking the issue will return.

exception occured: null
java.lang.ArrayIndexOutOfBoundsException
at sun.security.provider.DigestBase.engineUpdate(DigestBase.java:110)
at sun.security.provider.MD5.implDigest(MD5.java:88)
at sun.security.provider.DigestBase.engineDigest(DigestBase.java:169)
at sun.security.provider.DigestBase.engineDigest(DigestBase.java:148)
at java.security.MessageDigest$Delegate.engineDigest(MessageDigest.java:545)
at java.security.MessageDigest.digest(MessageDigest.java:323)
at utils.Encoders.encodeTemplateId(Encoders.java:33)
at utils.TemplateServlet.tryInitializeTemplate(TemplateServlet.java:111)
at utils.TemplateServlet.render(TemplateServlet.java:58)
at exampleapp.beans.showBoardPlay_Template.renderInternal(showBoardPlay_Template.java:240)
at utils.TemplateServlet.render(TemplateServlet.java:64)
at exampleapp.beans.outputPlay_Template.renderInternal(outputPlay_Template.java:547)
at utils.TemplateServlet.render(TemplateServlet.java:64)
at exampleapp.beans.joinPlay_templateargument0Play_Template.renderInternal(joinPlay_templateargument0Play_Template.java:370)
at utils.TemplateServlet.render(TemplateServlet.java:64)
at exampleapp.beans.mainString_Template.renderInternal(mainString_Template.java:496)
at utils.TemplateServlet.render(TemplateServlet.java:64)
at exampleapp.beans.joinPlay_Template.renderInternal(joinPlay_Template.java:171)
at utils.TemplateServlet.render(TemplateServlet.java:64)
at exampleapp.beans.JoinPlayPage.render(JoinPlayPage.java:195)
at exampleapp.beans.JoinPlayPage.serve(JoinPlayPage.java:141)
at utils.DispatchServletHelper.handlePage(DispatchServletHelper.java:408)
at utils.DispatchServletHelper.doServe(DispatchServletHelper.java:367)
at utils.DispatchServlet.doGet(DispatchServlet.java:38)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)

Submitted by Sverre Rabbelier on 23 March 2010 at 19:13

On 25 March 2010 at 15:13 Sverre Rabbelier commented:

Concurrency fail:

http://lists.danga.com/pipermail/memcached/2008-March/006533.html.


On 26 March 2010 at 12:40 Danny Groenewegen commented:

fixed in revision 3779

Log in to post comments