Opened 8 years ago

Closed 8 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

Description

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(Router.java:1045)
INFO | some_time | at net.i2p.router.Router.shutdown(Router.java:1007)
INFO | some_time | at net.i2p.router.Router$GracefulShutdown?.run(Router.java:1205)
INFO | some_time | at java.lang.Thread.run(Thread.java:662)
INFO | some_time | at net.i2p.util.I2PThread.run(I2PThread.java:85)
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

Subtickets

Change History (1)

comment:1 Changed 8 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.