Opened 9 years ago

Closed 9 years ago

#538 closed defect (fixed)

Incorrect router shutdown (netdb NPE)

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


Router restart initiated using webconsole, it's stopped but not started again.

INFO | some_time | CRIT [hutdown hook] net.i2p.router.Router : Graceful shutdown progress - no more tunnels, safe to die
INFO | some_time | CRIT [hutdown hook] net.i2p.router.Router : Error shutting down the networkDb
INFO | some_time | java.lang.NullPointerException?
INFO | some_time | at net.i2p.router.networkdb.kademlia.FloodfillPeerSelector?.selectFloodfillParticipantsIncludingUs(FloodfillPeerSelector?.java:198)
INFO | some_time | at net.i2p.router.networkdb.kademlia.FloodfillPeerSelector?.selectFloodfillParticipants(FloodfillPeerSelector?.java:176)
INFO | some_time | at net.i2p.router.networkdb.kademlia.FloodfillPeerSelector?.selectFloodfillParticipants(FloodfillPeerSelector?.java:151)
INFO | some_time | at net.i2p.router.networkdb.kademlia.FloodfillNetworkDatabaseFacade?.flood(FloodfillNetworkDatabaseFacade?.java:166)
INFO | some_time | at net.i2p.router.networkdb.kademlia.FloodfillNetworkDatabaseFacade?.shutdown(FloodfillNetworkDatabaseFacade?.java:97)
INFO | some_time | at net.i2p.router.Router.shutdown2(
INFO | some_time | at net.i2p.router.Router.shutdown(
INFO | some_time | at net.i2p.router.Router$GracefulShutdown?.run(
INFO | some_time | at
INFO | some_time | at
ERROR | some_time | Shutdown failed: Timed out waiting for signal from JVM.
ERROR | some_time | JVM did not exit on request, terminated
STATUS | some_time | ←- Wrapper Stopped


Change History (1)

comment:1 Changed 9 years ago by zzz

Component: unspecifiedrouter/netdb
Resolution: fixed
Status: newclosed

Thanks for the report,
this was already reported by echelon and I fixed it in 0.8.9-1.
I'm also going to change all these shutdown CRITs to ERRORs.

Note: See TracTickets for help on using tickets.