Opened 6 years ago

Closed 6 years ago

#1077 closed defect (fixed)

NPE in thread run

Reported by: echelon Owned by: zzz
Priority: minor Milestone: 0.9.9
Component: apps/i2ptunnel Version:
Keywords: Cc:
Parent Tickets:


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 6 years ago by zzz

  • Owner set to zzz
  • Status changed from new to accepted

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 6 years ago by zzz

  • Resolution set to fixed
  • Status changed from accepted to closed

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

Note: See TracTickets for help on using tickets.