Opened 5 months ago

Last modified 5 months ago

#2379 new defect

NPE in ntcp reader

Reported by: Reportage Owned by:
Priority: minor Milestone: undecided
Component: router/general Version: 0.9.37
Keywords: NPE, ntcp reader Cc:
Parent Tickets: Sensitive: no

Description

Oracle Java 1.8
Router: 0.9.37-16+
Linux 4.18

Noticed a bunch of these (7) that occurred within a 5 minute timespan and then stopped. Not seen before.

CRIT [… reader 4/4] …port.ntcp.Reader: Error in the ntcp reader
     java.lang.NullPointerException
     at net.i2p.router.tunnel.InboundMessageDistributor.handleClove(InboundMessageDistributor.java:272)
     at net.i2p.router.message.GarlicMessageReceiver.handleClove(GarlicMessageReceiver.java:105)
     at net.i2p.router.message.GarlicMessageReceiver.receive(GarlicMessageReceiver.java:79)
     at net.i2p.router.tunnel.InboundMessageDistributor.distribute(InboundMessageDistributor.java:186)
     at net.i2p.router.tunnel.TunnelGatewayZeroHop.add(TunnelGatewayZeroHop.java:78)
     at net.i2p.router.tunnel.TunnelGatewayZeroHop.add(TunnelGatewayZeroHop.java:58)
     at net.i2p.router.tunnel.TunnelDispatcher.dispatch(TunnelDispatcher.java:593)
     at net.i2p.router.InNetMessagePool.doShortCircuitTunnelGateway(InNetMessagePool.java:308)
     at net.i2p.router.InNetMessagePool.shortCircuitTunnelGateway(InNetMessagePool.java:294)
     at net.i2p.router.InNetMessagePool.add(InNetMessagePool.java:179)
     at net.i2p.router.transport.TransportManager.messageReceived(TransportManager.java:782)
     at net.i2p.router.transport.TransportImpl.messageReceived(TransportImpl.java:488)
     at net.i2p.router.transport.ntcp.NTCPConnection$NTCP2ReadState.gotI2NP(NTCPConnection.java:2145)
     at net.i2p.router.transport.ntcp.NTCP2Payload.processPayload(NTCP2Payload.java:130)
     at net.i2p.router.transport.ntcp.NTCPConnection$NTCP2ReadState.decryptAndProcess(NTCPConnection.java:2076)
     at net.i2p.router.transport.ntcp.NTCPConnection$NTCP2ReadState.receive(NTCPConnection.java:1999)
     at net.i2p.router.transport.ntcp.NTCPConnection.recvEncryptedI2NP(NTCPConnection.java:1358)
     at net.i2p.router.transport.ntcp.Reader.processRead(Reader.java:171)
     at net.i2p.router.transport.ntcp.Reader.access$400(Reader.java:21)
     at net.i2p.router.transport.ntcp.Reader$Runner.run(Reader.java:120)
     at java.lang.Thread.run(Thread.java:748)
     at net.i2p.util.I2PThread.run(I2PThread.java:103)

Subtickets

Change History (1)

comment:1 Changed 5 months ago by zzz

Component: unspecifiedrouter/general

There's nothing to see at InboundMessageDistributor? line 272 and no way it can NPE there. Either a cosmic glitch, or the jar got overwritten, or bad ram, or I don't know what. Nothing I can do with this but I'll leave it open for a while in case it happens again.

Note: See TracTickets for help on using tickets.