Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#2504 closed defect (not our bug)

NPE when enabling/disabling blinded leaset option in Tunnel Manager

Reported by: Reportage Owned by:
Priority: major Milestone: 0.9.41
Component: apps/i2ptunnel Version: 0.9.40
Keywords: NPE, leaseset options Cc:
Parent Tickets: Sensitive: no

Description

CRIT [… Jetty-1106] …el.web.IndexBean: Error processing Save changes
     java.lang.NullPointerException
     at net.i2p.client.streaming.impl.ConnectionOptions.toString(ConnectionOptions.java:906)
     at java.lang.String.valueOf(String.java:2994)
     at java.lang.StringBuilder.append(StringBuilder.java:131)
     at net.i2p.client.streaming.impl.I2PSocketManagerFull.setDefaultOptions(I2PSocketManagerFull.java:463)
     at net.i2p.i2ptunnel.I2PTunnelServer.optionsUpdated(I2PTunnelServer.java:501)
     at net.i2p.i2ptunnel.I2PTunnelHTTPServer.optionsUpdated(I2PTunnelHTTPServer.java:285)
     at net.i2p.i2ptunnel.I2PTunnel.setClientOptions(I2PTunnel.java:570)
     at net.i2p.i2ptunnel.TunnelController.setSessionOptions(TunnelController.java:721)
     at net.i2p.i2ptunnel.TunnelController.setConfig(TunnelController.java:870)
     at net.i2p.i2ptunnel.ui.GeneralHelper.updateTunnelConfig(GeneralHelper.java:145)
     at net.i2p.i2ptunnel.ui.GeneralHelper.saveTunnel(GeneralHelper.java:84)
     at net.i2p.i2ptunnel.ui.GeneralHelper.saveTunnel(GeneralHelper.java:80)
     at net.i2p.i2ptunnel.web.IndexBean.saveChanges(IndexBean.java:281)
     at net.i2p.i2ptunnel.web.IndexBean.processAction(IndexBean.java:206)
     at net.i2p.i2ptunnel.web.IndexBean.getMessages(IndexBean.java:310)
     at net.i2p.i2ptunnel.jsp.index_jsp._jspService(index_jsp.java:161)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
     at net.i2p.servlet.filters.XSSFilter.doFilter(XSSFilter.java:30)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
     at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
     at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
     at org.eclipse.jetty.servlets.gzip.GzipHandler.handle(GzipHandler.java:529)
     at net.i2p.router.web.HostCheckHandler.handle(HostCheckHandler.java:120)
     at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
     at org.eclipse.jetty.server.Server.handle(Server.java:499)
     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
     at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
     at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
     at java.lang.Thread.run(Thread.java:748)

Subtickets

Change History (3)

comment:1 Changed 7 months ago by Reportage

Keywords: leaseset added; leaset removed

comment:2 Changed 7 months ago by Reportage

Resolution: not our bug
Status: newclosed

comment:3 Changed 7 months ago by zzz

Yeah the line numbers didn't line up exactly.
And would only be with log level WARN in streaming.
Checking in a fix for something close to that line number, just in case, in da48bda88effba89b87644f8e23fc4ee8dbf6d3f to be 0.9.40-4

Note: See TracTickets for help on using tickets.