Opened 4 years ago

Closed 4 years ago

#1610 closed defect (fixed)

500 Server Error on /configtunnels

Reported by: DjJeshk Owned by:
Priority: minor Milestone: 0.9.21
Component: apps/console Version: 0.9.20
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

I2P version: 0.9.20-6
Java version: Oracle Corporation 1.8.0_45 (Java™ SE Runtime Environment 1.8.0_45-b15)
Wrapper version: 3.5.25
Server version: 8.1.17.v20150415
Servlet version: Jasper JSP 2.1 Engine
Platform: Windows 7 x86 6.1
Processor: Core 2 (45nm) (core2)
Jbigi: Locally optimized library jbigi-windows-core2.dll loaded from file
Encoding: Cp1257
Charset: windows-1257

Error 500: /configtunnels Server Error

java.lang.NullPointerException?

at net.i2p.router.tunnel.pool.TunnelPool?.setSettings(TunnelPool?.java:418)
at net.i2p.router.tunnel.pool.TunnelPoolManager?.setInboundSettings(TunnelPoolManager?.java:354)
at net.i2p.router.web.ConfigTunnelsHandler?.saveChanges(ConfigTunnelsHandler?.java:111)
at net.i2p.router.web.ConfigTunnelsHandler?.processForm(ConfigTunnelsHandler?.java:23)
at net.i2p.router.web.FormHandler?.process(FormHandler?.java:261)
at net.i2p.router.web.FormHandler?.getAllMessages(FormHandler?.java:172)
at net.i2p.router.web.jsp.configtunnels_jsp._jspService(configtunnels_jsp.java:457)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:848)
at org.eclipse.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:684)
at org.eclipse.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1496)
at net.i2p.servlet.filters.XSSFilter.doFilter(XSSFilter.java:28)
at org.eclipse.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1476)
at org.eclipse.jetty.servlet.ServletHandler?.doHandle(ServletHandler?.java:501)
at org.eclipse.jetty.server.handler.ScopedHandler?.handle(ScopedHandler?.java:137)
at org.eclipse.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:557)
at org.eclipse.jetty.server.session.SessionHandler?.doHandle(SessionHandler?.java:231)
at org.eclipse.jetty.server.handler.ContextHandler?.doHandle(ContextHandler?.java:1086)
at org.eclipse.jetty.servlet.ServletHandler?.doScope(ServletHandler?.java:429)
at org.eclipse.jetty.server.session.SessionHandler?.doScope(SessionHandler?.java:193)
at org.eclipse.jetty.server.handler.ContextHandler?.doScope(ContextHandler?.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler?.handle(ScopedHandler?.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper?.handle(HandlerWrapper?.java:116)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:99)
at org.eclipse.jetty.server.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:255)
at org.eclipse.jetty.server.handler.HandlerCollection?.handle(HandlerCollection?.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper?.handle(HandlerWrapper?.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection?.handleRequest(AbstractHttpConnection?.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection?.content(AbstractHttpConnection?.java:982)
at org.eclipse.jetty.server.AbstractHttpConnection?$RequestHandler?.content(AbstractHttpConnection?.java:1043)
at org.eclipse.jetty.http.HttpParser?.parseNext(HttpParser?.java:865)
at org.eclipse.jetty.http.HttpParser?.parseAvailable(HttpParser?.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection?.handle(AsyncHttpConnection?.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint?.handle(SelectChannelEndPoint?.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint?$1.run(SelectChannelEndPoint?.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool?.runJob(QueuedThreadPool?.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool?$3.run(QueuedThreadPool?.java:543)
at java.lang.Thread.run(Unknown Source)

Subtickets

Change History (2)

comment:1 Changed 4 years ago by dg

Component: unspecifiedapps/console
Milestone: undecided0.9.21
Status: newtesting

It looks like zzz fixed this between -10 and -11; you probably didn't get the change because of the lack of a version bump.

Fixed by zzz in 6acdae3f1279167098f6f345b124cc22d2a09868 0.9.20-11 (with other changes).

Let us know if this still occurs on -11. Thanks for the report!

comment:2 Changed 4 years ago by zzz

Resolution: fixed
Status: testingclosed

Yes, already found and fixed, the mtn rev above is correct but it was included in the bump to -10, not -11. OP reported version was -6, which I believe was the rev in which the bug was introduced, as a part of the multisession prop.

Note: See TracTickets for help on using tickets.