Opened 7 years ago

Closed 7 years ago

#676 closed defect (fixed)

NPE in net.i2p.router.transport.udp.EstablishmentManager

Reported by: killyourtv Owned by: zzz
Priority: major Milestone: 0.9.2
Component: router/transport Version: 0.9
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

As seen in #i2p

I2P version: 0.9-0
Java version: Sun Microsystems Inc. 1.6.0_24 (OpenJDK Runtime Environment 1.6.0_24-b24)
Wrapper version: 3.5.14
Server version: 6.1.26
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux amd64 3.x-amd64

8/1/12 XX:XX:XX PM CRIT [cheduler 1/4] net.i2p.util.SimpleScheduler : SimpleScheduler: Scheduled task net.i2p.router.transport.udp.EstablishmentManager$Expire@45c1cfc1 exited unexpectedly, please report
     java.lang.NullPointerException
     at net.i2p.router.OutNetMessage.renderTimestamps(OutNetMessage.java:343)
     at net.i2p.router.OutNetMessage.toString(OutNetMessage.java:330)
     at java.lang.String.valueOf(String.java:2838)
     at java.lang.StringBuilder.append(StringBuilder.java:132)
     at net.i2p.router.transport.udp.UDPTransport.failed(UDPTransport.java:1534)
     at net.i2p.router.transport.udp.EstablishmentManager.processExpired(EstablishmentManager.java:1007)
     at net.i2p.router.transport.udp.EstablishmentManager.access$400(EstablishmentManager.java:34)
     at net.i2p.router.transport.udp.EstablishmentManager$Expire.timeReached(EstablishmentManager.java:268)
     at net.i2p.util.SimpleScheduler$RunnableEvent.run(SimpleScheduler.java:170)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
     at java.lang.Thread.run(Thread.java:679)

That's all that was pasted. I was AFK during the paste.

Subtickets

Change History (2)

comment:1 Changed 7 years ago by zzz

Status: newaccepted

Kindof a race. Only can happen if OutNetMessage? log level is INFO or DEBUG.

comment:2 Changed 7 years ago by zzz

Resolution: fixed
Status: acceptedclosed

Fixed in 0.9.1-2

Note: See TracTickets for help on using tickets.