Opened 6 years ago

Closed 6 years ago

#763 closed defect (fixed)

0.9.3-2: org.mortbay.jetty.Server : /i2psnark/.ajax/xhr1.html java.lang.NullPointerException

Reported by: guest Owned by:
Priority: minor Milestone: 0.9.4
Component: apps/console Version: 0.9.3
Keywords: Cc:
Parent Tickets:

Description

It started like this:

$date | JVM appears hung: Timed out waiting for signal from JVM.                                      
$date | JVM did not exit on request, terminated                                                       
$date | Launching a JVM...                                                                            
$date | Startup failed: Timed out waiting for a signal from the JVM.                                  
$date | JVM did not exit on request, terminated                                                       
$date | Launching a JVM...                                                                            
$date | Startup failed: Timed out waiting for a signal from the JVM.                                  
$date | JVM did not exit on request, terminated                                                       
$date | Launching a JVM...
$date | Startup failed: Timed out waiting for a signal from the JVM.
$date | JVM did not exit on request, terminated
$date | Launching a JVM...
$date | Startup failed: Timed out waiting for a signal from the JVM.
$date | JVM did not exit on request, terminated
$date | Launching a JVM...
$date | Wrapper (Version 3.1.1) http://wrapper.tanukisoftware.org
$date |
$date | Starting I2P 0.9.3-2
$date | WARN: Old router was not shut down gracefully, deleting router.ping
$date | INFO: Native CPUID library jcpuid-x86-linux loaded from file
$date | INFO: Locally optimized native BigInteger library loaded from file
$date | INFO: Jetty 6.1.26 logging to I2P logs using class org.mortbay.jetty.Server

since:

[Every two minutes] ERROR [onsole Jetty] org.mortbay.jetty.Server      : /i2psnark/.ajax/xhr1.html
java.lang.NullPointerException
        at net.i2p.router.web.SummaryBarRenderer.renderSummaryHTML(SummaryBarRenderer.java:84)
        at net.i2p.router.web.SummaryHelper.renderSummaryBar(SummaryHelper.java:793)
        at net.i2p.router.web.jsp.nowebapp_jsp._jspService(nowebapp_jsp.java:298)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        at net.i2p.router.web.LocaleWebAppHandler.handle(LocaleWebAppHandler.java:93)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

I2P Version and Running Environment:

I2P version: 0.9.3-2
Java version: Sun Microsystems Inc. 1.6.0_26 (Java(TM) SE Runtime Environment 1.6.0_26-b03)
Wrapper version: 3.1.1
Server version: 6.1.26
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux amd64 3.4.4-01
Processor: Athlon II X2/X3/X4 (Regor/Rana/Propus AM3, 45 nm) (athlon64)
Jbigi: Locally optimized native BigInteger library loaded from file
Encoding: UTF-8
Charset: UTF-8

No further information is available.

Subtickets

Change History (3)

comment:1 follow-up: Changed 6 years ago by zzz

  • Component changed from unspecified to apps/console

Very strange. This is happening in the summary bar refresh code. What browser? If you refresh the whole page, do the errors stop?

comment:2 in reply to: ↑ 1 Changed 6 years ago by guest

Replying to zzz:

What browser?

Iceweasel 10.0.10

If you refresh the whole page, do the errors stop?

Too late, I already rebooted I2P. But, if it happens again, I'll report here.

comment:3 Changed 6 years ago by zzz

  • Resolution set to fixed
  • Status changed from new to closed

Still don't understand how it happened, but I fixed SummaryHelper?.getRequestURI() to never return null, in 0.9.3-5.

Note: See TracTickets for help on using tickets.