Opened 8 years ago

Closed 8 years ago

#539 closed defect (fixed)

500 Internal Server Error - NetDB

Reported by: thebland Owned by: zzz
Priority: minor Milestone: 0.8.10
Component: router/netdb Version: 0.8.9
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

I've gotten this error a half dozen times on an intermittent basis. Normally I get access doing a refresh after getting the following error.

Error 500: /netdb Internal Server Error

java.lang.NullPointerException?

at net.i2p.router.networkdb.kademlia.KademliaNetworkDatabaseFacade?.getRouters(KademliaNetworkDatabaseFacade?.java:949)
at net.i2p.router.web.NetDbRenderer?.renderStatusHTML(NetDbRenderer?.java:244)
at net.i2p.router.web.NetDbHelper?.getNetDbSummary(NetDbHelper?.java:42)
at net.i2p.router.web.jsp.netdb_jsp._jspService(netdb_jsp.java:286)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
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)


I2P Version and Running Environment

I2P version: 0.8.9-0deb1
Java version: Sun Microsystems Inc. 1.6.0_26 (Java™ SE Runtime Environment 1.6.0_26-b03)
Platform: Linux i386 2.6.38-8-generic
Processor: Pentium IV (130 nm) (pentium4)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: UTF-8

Subtickets

Change History (2)

comment:1 Changed 8 years ago by zzz

Component: unspecifiedrouter/netdb
Owner: set to zzz
Status: newaccepted

Great catch, looks like that bug has been there a long time but nobody's ever seen it before. I'll fix it soon.

comment:2 Changed 8 years ago by zzz

Resolution: fixed
Status: acceptedclosed

Fixed in 0.8.9-2

Note: See TracTickets for help on using tickets.