Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1275 closed defect (fixed)

SAM Datagram NPE

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.13
Component: apps/SAM Version: 0.9.12
Keywords: Cc: user
Parent Tickets: Sensitive: no

Description (last modified by zzz)

From (unrelated?) #1271 comments 7 and 8

[11.05.14 22:32:23 ERROR [ms #49207]: ] i2p.client.I2PSessionMuxedImpl: Receive message 30232148 had no matches
11.05.14 22:32:23 ERROR [ms #49207]: ] i2p.client.I2PSessionMuxedImpl: Error: message 30232148 already received!
11.05.14 22:32:23 ERROR [ms #49207]: ] i2p.client.I2PSessionMuxedImpl: Error notifying app of message availability
java.lang.NullPointerException
	at java.io.ByteArrayInputStream.<init>(Unknown Source)
	at net.i2p.client.datagram.I2PDatagramDissector.loadI2PDatagram(I2PDatagramDissector.java:64)
	at net.i2p.sam.SAMDatagramSession.messageReceived(SAMDatagramSession.java:99)
	at net.i2p.sam.SAMMessageSession$SAMMessageSessionHandler.messageAvailable(SAMMessageSession.java:242)
	at net.i2p.client.I2PSessionDemultiplexer$NoPortsListener.messageAvailable(I2PSessionDemultiplexer.java:130)
	at net.i2p.client.I2PSessionDemultiplexer.messageAvailable(I2PSessionDemultiplexer.java:39)
	at net.i2p.client.I2PSessionMuxedImpl$MuxedAvailabilityNotifier.run(I2PSessionMuxedImpl.java:352)
	at java.lang.Thread.run(Unknown Source)
	at net.i2p.util.I2PThread.run(I2PThread.java:84)

Subtickets

Change History (3)

comment:1 Changed 5 years ago by zzz

Owner: changed from mkvore to zzz
Status: newaccepted

Bug is also in BOB and i2psnark datagram handling.

comment:2 Changed 5 years ago by zzz

Resolution: fixed
Status: acceptedclosed

Fixed in 0916238e53033d6a527ef862ab7f7541865c4cc8 0.9.12-18-rc in BOB, SAM, and snark.
Could only happen on an extremely overloaded router.

comment:3 Changed 5 years ago by zzz

Description: modified (diff)
Note: See TracTickets for help on using tickets.