You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tim Moloney (JIRA)" <ji...@apache.org> on 2009/07/16 16:12:14 UTC

[jira] Updated: (FELIX-1369) The features webconsole plugin no longer works

     [ https://issues.apache.org/jira/browse/FELIX-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Moloney updated FELIX-1369:
-------------------------------

    Attachment: FELIX-1369-FeaturesPluginNpe.patch

This patch is a work-around that allows the Features plugin to work and it outputs the cause of the NPE.

  failed to open connection to bundleresource://33.fwk31519478/

In my system, bundle 33 is the Features webconsole plugin.


> The features webconsole plugin no longer works
> ----------------------------------------------
>
>                 Key: FELIX-1369
>                 URL: https://issues.apache.org/jira/browse/FELIX-1369
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>            Reporter: Tim Moloney
>         Attachments: FELIX-1369-FeaturesPluginNpe.patch
>
>
> A fresh check-out of the trunk (r794666) displays the following instead of successfully running the features plugin.
> HTTP ERROR: 500
> INTERNAL_SERVER_ERROR
> RequestURI=/system/console/features
> Caused by:
> java.lang.NullPointerException
> 	at org.apache.felix.webconsole.AbstractWebConsolePlugin.spoolResource(AbstractWebConsolePlugin.java:363)
> 	at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:150)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:315)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> 	at org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
> 	at org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
> Powered by Jetty://

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.