Opened 8 years ago

Closed 8 years ago

#918 closed defect (not a bug)

Ошибка 500: /config.jsp INTERNAL_SERVER_ERROR

Reported by: DISABLED Owned by:
Priority: major Milestone: 0.9.6
Component: api/crypto Version: 0.9.5
Keywords: Cc:
Parent Tickets: Sensitive: no

Description (last modified by zzz)

     at gnu.crypto.prng.AsyncFortunaStandalone.rotateBuffer(
     at gnu.crypto.prng.AsyncFortunaStandalone.fillBlock(
     at gnu.crypto.prng.BasePRNGStandalone.nextByteInternal(
     at gnu.crypto.prng.BasePRNGStandalone.nextByte(
     at net.i2p.util.FortunaRandomSource.nextBits(
     at net.i2p.util.FortunaRandomSource.signedNextLong(
     at net.i2p.util.FortunaRandomSource.nextLong(
     at net.i2p.router.web.FormHandler.getNewNonce(
     at net.i2p.router.web.jsp.config_jsp._jspService(
     at org.apache.jasper.runtime.HttpJspBase.service(
     at javax.servlet.http.HttpServlet.service(
     at org.mortbay.jetty.servlet.ServletHolder.handle(
     at org.mortbay.jetty.servlet.ServletHandler.handle(
     at org.mortbay.jetty.servlet.SessionHandler.handle(
     at org.mortbay.jetty.handler.ContextHandler.handle(
     at org.mortbay.jetty.webapp.WebAppContext.handle(
     at net.i2p.router.web.LocaleWebAppHandler.handle(
     at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
     at org.mortbay.jetty.handler.HandlerCollection.handle(
     at org.mortbay.jetty.handler.HandlerWrapper.handle(
     at org.mortbay.jetty.Server.handle(
     at org.mortbay.jetty.HttpConnection.handleRequest(
     at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
     at org.mortbay.jetty.HttpParser.parseNext(
     at org.mortbay.jetty.HttpParser.parseAvailable(
     at org.mortbay.jetty.HttpConnection.handle(
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
     at java.util.concurrent.ThreadPoolExecutor$
I2P version: 0.9.5-0-deb1q1
Java version: Free Software Foundation, Inc. 1.5.0 (null 1.5.0)
Wrapper version: none
Server version: 6.1.26
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux x86_64 3.5.0-27-generic
Processor: Mobile Athlon II/Turion II/Phenom II/Sempron/V-series (Regor/Caspian/Champlain, 45 nm) (athlon64)
Jbigi: Locally optimized native BigInteger library loaded from file
Encoding: UTF-8
Charset: UTF-8


Change History (3)

comment:1 Changed 8 years ago by killyourtv

You'll have much better luck with OpenJDK. The Debian packages depend on

openjdk-6-jre-headless | openjdk-7-jre-headless | default-jre-headless | java5-runtime-headless | java6-runtime-headless

and in Quantal default-jre pulls in openjdk-7-jre, so openjdk should be installed. You can change the default java with

sudo update-alternatives --config java

comment:2 Changed 8 years ago by zzz

Component: router/generalapi/crypto
Description: modified (diff)

Agreed. This NPE is "impossible" (_fullBuffers at line 113 is final and therefore can't be null). A bug in the horrible Gnu gij.

Please switch to OpenJDK and report results.

comment:3 Changed 8 years ago by zzz

Resolution: not a bug
Status: newclosed

Assuming this is a gij bug.

Note: See TracTickets for help on using tickets.