Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1020 closed defect (fixed)

Error 500: /confignet.jsp Server Error

Reported by: DISABLED Owned by:
Priority: minor Milestone: 0.9.8
Component: router/general Version: 0.9.7.1
Keywords: router, error, 500, confignet Cc:
Parent Tickets: Sensitive: no

Description

Error info:
java.lang.InternalError?: java.io.FileNotFoundException?: /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar

at sun.misc.URLClassPath$JarLoader?.getResource(URLClassPath.java:874)
at sun.misc.URLClassPath.getResource(URLClassPath.java:206)
at sun.misc.URLClassPath.getResource(URLClassPath.java:258)
at java.lang.ClassLoader?.getBootstrapResource(ClassLoader?.java:1242)
at java.lang.ClassLoader?.getResource(ClassLoader?.java:1078)
at java.lang.ClassLoader?.getResource(ClassLoader?.java:1076)
at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:226)
at java.util.ResourceBundle?$RBClassLoader.getResourceAsStream(ResourceBundle?.java:490)
at java.util.ResourceBundle?$Control$1.run(ResourceBundle?.java:2650)
at java.util.ResourceBundle?$Control$1.run(ResourceBundle?.java:2635)
at java.security.AccessController?.doPrivileged(Native Method)
at java.util.ResourceBundle?$Control.newBundle(ResourceBundle?.java:2634)
at java.util.ResourceBundle?.loadBundle(ResourceBundle?.java:1477)
at java.util.ResourceBundle?.findBundle(ResourceBundle?.java:1441)
at java.util.ResourceBundle?.findBundle(ResourceBundle?.java:1395)
at java.util.ResourceBundle?.getBundleImpl(ResourceBundle?.java:1337)
at java.util.ResourceBundle?.getBundle(ResourceBundle?.java:865)
at sun.util.resources.LocaleData?$1.run(LocaleData?.java:164)
at sun.util.resources.LocaleData?$1.run(LocaleData?.java:160)
at java.security.AccessController?.doPrivileged(Native Method)
at sun.util.resources.LocaleData?.getBundle(LocaleData?.java:160)
at sun.util.resources.LocaleData?.getCollationData(LocaleData?.java:116)
at sun.util.locale.provider.LocaleResources?.getCollationData(LocaleResources?.java:148)
at sun.util.locale.provider.CollatorProviderImpl?.getInstance(CollatorProviderImpl?.java:103)
at java.text.Collator.getInstance(Collator.java:242)
at java.text.Collator.getInstance(Collator.java:224)
at net.i2p.router.web.SummaryHelper?$AlphaComparator?.compare(SummaryHelper?.java:471)
at net.i2p.router.web.SummaryHelper?$AlphaComparator?.compare(SummaryHelper?.java:461)
at java.util.TimSort?.countRunAndMakeAscending(TimSort?.java:350)
at java.util.TimSort?.sort(TimSort?.java:215)
at java.util.Arrays.sort(Arrays.java:1435)
at java.util.Collections.sort(Collections.java:230)
at net.i2p.router.web.SummaryHelper?.getDestinations(SummaryHelper?.java:416)
at net.i2p.router.web.SummaryBarRenderer?.renderDestinationsHTML(SummaryBarRenderer?.java:599)
at net.i2p.router.web.SummaryBarRenderer?.renderSummaryHTML(SummaryBarRenderer?.java:129)
at net.i2p.router.web.SummaryHelper?.renderSummaryBar(SummaryHelper?.java:793)
at net.i2p.router.web.jsp.confignet_jsp._jspService(confignet_jsp.java:303)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:723)
at org.eclipse.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:652)
at org.eclipse.jetty.servlet.ServletHandler?.doHandle(ServletHandler?.java:445)
at org.eclipse.jetty.server.handler.ScopedHandler?.handle(ScopedHandler?.java:137)
at org.eclipse.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:556)
at org.eclipse.jetty.server.session.SessionHandler?.doHandle(SessionHandler?.java:227)
at org.eclipse.jetty.server.handler.ContextHandler?.doHandle(ContextHandler?.java:1044)
at org.eclipse.jetty.servlet.ServletHandler?.doScope(ServletHandler?.java:372)
at org.eclipse.jetty.server.session.SessionHandler?.doScope(SessionHandler?.java:189)
at org.eclipse.jetty.server.handler.ContextHandler?.doScope(ContextHandler?.java:978)
at org.eclipse.jetty.server.handler.ScopedHandler?.handle(ScopedHandler?.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper?.handle(HandlerWrapper?.java:116)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:99)
at org.eclipse.jetty.server.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:255)
at org.eclipse.jetty.server.handler.HandlerCollection?.handle(HandlerCollection?.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper?.handle(HandlerWrapper?.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:369)
at org.eclipse.jetty.server.AbstractHttpConnection?.handleRequest(AbstractHttpConnection?.java:486)
at org.eclipse.jetty.server.AbstractHttpConnection?.headerComplete(AbstractHttpConnection?.java:933)
at org.eclipse.jetty.server.AbstractHttpConnection?$RequestHandler?.headerComplete(AbstractHttpConnection?.java:995)
at org.eclipse.jetty.http.HttpParser?.parseNext(HttpParser?.java:644)
at org.eclipse.jetty.http.HttpParser?.parseAvailable(HttpParser?.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection?.handle(AsyncHttpConnection?.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint?.handle(SelectChannelEndPoint?.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint?$1.run(SelectChannelEndPoint?.java:52)
at java.util.concurrent.ThreadPoolExecutor?.runWorker(ThreadPoolExecutor?.java:1142)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:617)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.FileNotFoundException?: /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar
at sun.misc.URLClassPath$JarLoader?.getJarFile(URLClassPath.java:743)
at sun.misc.URLClassPath$JarLoader?.access$600(URLClassPath.java:608)
at sun.misc.URLClassPath$JarLoader?$1.run(URLClassPath.java:690)
at sun.misc.URLClassPath$JarLoader?$1.run(URLClassPath.java:683)
at java.security.AccessController?.doPrivileged(Native Method)
at sun.misc.URLClassPath$JarLoader?.ensureOpen(URLClassPath.java:682)
at sun.misc.URLClassPath$JarLoader?.getResource(URLClassPath.java:872)
… 65 more

I2P Version and Running Environment:

I2P version: 0.9.7.1-0-deb1p1
Java version: Oracle Corporation 1.8.0-ea (Java™ SE Runtime Environment 1.8.0-ea-b103)
Wrapper version: 3.5.19
Server version: 7.6.11.v20130520
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux i386 3.2.0-53-generic-pae
Processor: Core i3 or i5/i7 mobile (32nm) (corei)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: UTF-8
Charset: UTF-8

NOTES:

  1. All irc2p tunnels are running as desired, no errors.
  2. Browsing still works, though slower than normal.
  3. Web console for i2p:

500 Server Error
Sorry! There has been an internal error.

Subtickets

Change History (2)

comment:1 Changed 6 years ago by DISABLED

Resolution: fixed
Status: newclosed

comment:2 Changed 6 years ago by DISABLED

FIXED The error was not in the router but in the requirements:

FileNotFoundException?: /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar

Simply reinstalled java-8. Working perfectly, open tunnels again.

Note: See TracTickets for help on using tickets.