Opened 8 years ago

Closed 8 years ago

#336 closed defect (fixed)

NPE when deleting plugin

Reported by: zzz Owned by: sponge
Priority: major Milestone: 0.8.2
Component: apps/plugins Version: 0.8.1
Keywords: Cc:
Parent Tickets:

Description

ERROR [tListener0-1] outer.web.ConfigClientsHandler?: Error deleting plugin snowman

java.lang.NullPointerException?
at net.i2p.router.web.PluginStarter?.stopPlugin(PluginStarter?.java:237)
at net.i2p.router.web.ConfigClientsHandler?.processForm(ConfigClientsHandler?.java:80)
at net.i2p.router.web.FormHandler?.process(FormHandler?.java:183)
at net.i2p.router.web.FormHandler?.getAllMessages(FormHandler?.java:92)
at net.i2p.router.web.jsp.configclients_jsp._jspService(configclients_jsp.java:302)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:89)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

Subtickets

Change History (3)

comment:1 Changed 8 years ago by zzz

  • Summary changed from NPE when stopping plugin to NPE when deleting plugin

This is in the new code you added.

The plugin had not been started.

comment:2 Changed 8 years ago by sponge

  • Status changed from new to accepted

comment:3 Changed 8 years ago by sponge

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.