Opened 3 years ago

Closed 18 months ago

#2379 closed defect (worksforme)

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


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
     at net.i2p.router.tunnel.InboundMessageDistributor.handleClove(
     at net.i2p.router.message.GarlicMessageReceiver.handleClove(
     at net.i2p.router.message.GarlicMessageReceiver.receive(
     at net.i2p.router.tunnel.InboundMessageDistributor.distribute(
     at net.i2p.router.tunnel.TunnelGatewayZeroHop.add(
     at net.i2p.router.tunnel.TunnelGatewayZeroHop.add(
     at net.i2p.router.tunnel.TunnelDispatcher.dispatch(
     at net.i2p.router.InNetMessagePool.doShortCircuitTunnelGateway(
     at net.i2p.router.InNetMessagePool.shortCircuitTunnelGateway(
     at net.i2p.router.InNetMessagePool.add(
     at net.i2p.router.transport.TransportManager.messageReceived(
     at net.i2p.router.transport.TransportImpl.messageReceived(
     at net.i2p.router.transport.ntcp.NTCPConnection$NTCP2ReadState.gotI2NP(
     at net.i2p.router.transport.ntcp.NTCP2Payload.processPayload(
     at net.i2p.router.transport.ntcp.NTCPConnection$NTCP2ReadState.decryptAndProcess(
     at net.i2p.router.transport.ntcp.NTCPConnection$NTCP2ReadState.receive(
     at net.i2p.router.transport.ntcp.NTCPConnection.recvEncryptedI2NP(
     at net.i2p.router.transport.ntcp.Reader.processRead(
     at net.i2p.router.transport.ntcp.Reader.access$400(
     at net.i2p.router.transport.ntcp.Reader$


Change History (2)

comment:1 Changed 3 years 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.

comment:2 Changed 18 months ago by zzz

Resolution: worksforme
Sensitive: unset
Status: newclosed

no further reports

Note: See TracTickets for help on using tickets.