Opened 8 years ago

Closed 8 years ago

#1077 closed defect (fixed)

NPE in thread run

Reported by: Eche|on Owned by: zzz
Priority: minor Milestone: 0.9.9
Component: apps/i2ptunnel Version:
Keywords: Cc:
Parent Tickets: Sensitive: no


Thread terminated unexpectedly: ServerHandler? pool /
2013/10/16 10:12:27 | java.lang.NullPointerException?
2013/10/16 10:12:27 | at net.i2p.i2ptunnel.I2PTunnelHTTPServer$CompressedRequestor?.run(
2013/10/16 10:12:27 | at
2013/10/16 10:12:27 | at

I am on

thats false.i2p


Change History (2)

comment:1 Changed 8 years ago by zzz

Owner: set to zzz
Status: newaccepted

Hmm. I did it I think. _headers can't be null so it must be _browserin.

I2PSocketFull.getInputStream() may return null, we should be throwing an IOE. Thankfully the interface declares IOE.

Not clear if recent streaming changes triggered this but no matter.

The new logging of thread death in I2PThread is proving quite helpful.

comment:2 Changed 8 years ago by zzz

Resolution: fixed
Status: acceptedclosed

Fixed in getInputStream() and getOutputStream() will no longer return null.

Note: See TracTickets for help on using tickets.