History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-408
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Blocker Blocker
Assignee: Robin Shen
Reporter: Sten Rosendahl
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Page Load Error when launching web gui after install

Created: 08/Jan/09 02:46 AM   Updated: 08/Jan/09 05:42 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Windows Server 2003 R2 Standard Edition SP2
JRE Standard Edition 1.5.0_16-b02


 Description  « Hide
The following appears repeatedly in quickbuild.log:

2009-01-05 16:07:33,929 [SocketListener0-1] ERROR org.apache.wicket.RequestCycle - javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
java.lang.RuntimeException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:32)
at com.pmease.quickbuild.bootstrap.BootstrapUtils.decrypt(BootstrapUtils.java:86)
at com.pmease.quickbuild.util.StringUtils.decrypt(StringUtils.java:102)
at com.pmease.quickbuild.web.WebModule$1.onBeginRequest(WebModule.java:89)
at org.apache.wicket.RequestCycle.prepare(RequestCycle.java:1165)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1227)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at com.pmease.quickbuild.web.UIServlet.service(UIServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:269)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.DESedeCipher.engineDoFinal(DashoA12275)
at javax.crypto.Cipher.doFinal(DashoA12275)
at com.pmease.quickbuild.bootstrap.BootstrapUtils.decrypt(BootstrapUtils.java:83)
... 28 more

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [08/Jan/09 05:42 PM]
This error can be fixed by clearing the browser cache to get rid of auto-login cookies used by QuickBuild since M3 changed to encrypt the login password in the cookie and if a previous unencrypted password was found, an exception will be thrown during the decryption process.

Please check to see if this approach fixes your problem. If not please reopen this issue.

Thanks