karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Closed: (KARAF-142) NPE at org.apache.felix.webconsole.internal.servlet.OsgiManager.service - karaf started in server mode
Date Thu, 19 Aug 2010 14:53:18 GMT

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

Guillaume Nodet closed KARAF-142.
---------------------------------

    Resolution: Duplicate

> NPE at org.apache.felix.webconsole.internal.servlet.OsgiManager.service - karaf started
in server mode
> ------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-142
>                 URL: https://issues.apache.org/jira/browse/KARAF-142
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Charles Moulliard
>             Fix For: 2.2.0
>
>
> The following error is generated when we try to reach the web console of karaf 
> {code}
> 16:58:47,964 | WARN  | 7@qtp-28812593-0 | jetty                            | service.jetty.internal.JCLLogger
 115 | 55 - org.ops4j.pax.web.pax-web-jetty - 0.7.2 | /syste
> m/console/
> java.lang.NullPointerException
>         at java.lang.String.concat(String.java:1996)[:1.6.0_20]
>         at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:360)[58:org.apache.felix.webconsole:3.1.0]
>         at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:340)[58:org.apache.felix.webconsole:3.1.0]
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)[55:org.ops4j.pax.web.pax-web-jetty:0.7.2]
>         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)[55:org.ops4j.pax.web.pax-web-jetty:0.7.2]
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)[55:org.ops4j.pax.web.pax-web-jetty:0.7.2]
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.Server.handle(Server.java:326)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
>         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)[51:org.apache.servicemix.bundles.jetty-bundle:6.1.22.1]
> 16:59:02,542 | WARN  | 7@qtp-28812593-0 | jetty                            | service.jetty.internal.JCLLogger
 115 | 55 - org.ops4j.pax.web.pax-web-jetty - 0.7.2 | /syste
> m/console/
> {code}
> How to reproduce that 
> 1) Start karaf in server mode --> bin/karaf server
> 2) Open your browser --> http://localhost:8181/system/console
> 3) Error appears in the web screen of the browser
> {code}
> HTTP ERROR 500
> Problem accessing /system/console. Reason:
>     INTERNAL_SERVER_ERROR
> Caused by:
> java.lang.NullPointerException
> 	at java.lang.String.concat(String.java:1996)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:360)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:340)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
> 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
> 	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> {code}

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


Mime
View raw message