Opened 8 years ago

Closed 8 years ago

#999 closed defect (fixed)

NPE in streaming

Reported by: str4d Owned by: Zlatin Balevsky
Priority: major Milestone: 0.9.8
Component: streaming Version:
Keywords: NPE Cc: Zlatin Balevsky
Parent Tickets: Sensitive: no


Upgraded one of my servers to, and then found this in the logs three times (first two separated by a few minutes, the third about half an hour later).

ERROR [lRunner XXXX] .i2p.i2ptunnel.I2PTunnelRunner: Internal error

at net.i2p.client.streaming.PacketLocal?.cancelled(PacketLocal?.java:131)
at net.i2p.client.streaming.Connection.killOutstandingPackets(
at net.i2p.client.streaming.Connection.disconnectComplete(
at net.i2p.client.streaming.I2PSocketFull.destroy(
at net.i2p.client.streaming.I2PSocketFull.close(
at net.i2p.i2ptunnel.I2PTunnelRunner.close(


Change History (4)

comment:1 Changed 8 years ago by str4d

The offending method:


public void cancelled() {

synchronized (this) {

_cancelledOn = _context.clock().now();

_resendEvent.cancel(); ←————— line 131, NPE
if (_log.shouldLog(Log.DEBUG))

_log.debug("Cancelled! " + toString(), new Exception("cancelled"));


comment:2 Changed 8 years ago by zzz

Milestone: 0.9.8
Owner: set to Zlatin Balevsky
Priority: minormajor
Status: newassigned

Doesn't seem to be directly related to the 0.9.7 → changes? But assigning to zab anyway as he is working on streaming atm.

comment:3 Changed 8 years ago by zzz


comment:4 Changed 8 years ago by Zlatin Balevsky

Cc: Zlatin Balevsky added
Resolution: fixed
Status: assignedclosed

Fix has been in trunk for a while now. It just didn't get "plucked" to

Note: See TracTickets for help on using tickets.