You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew MacBean (JIRA)" <ji...@apache.org> on 2014/07/04 15:49:34 UTC

[jira] [Resolved] (QPID-4300) [Java Broker Web Console]NullPointerException was reported into broker log on request from the web management console when broker was starting up

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

Andrew MacBean resolved QPID-4300.
----------------------------------

    Resolution: Fixed

This is issue was resolved by refactoring done since 0.18 and is no longer an issue in 0.29.

> [Java Broker Web Console]NullPointerException was reported into broker log on request from the web management console when broker was starting up
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-4300
>                 URL: https://issues.apache.org/jira/browse/QPID-4300
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.18, 0.19
>            Reporter: Alex Rudyy
>
> NullPointerException was reported into broker log on request from the web management console when the broker was in a process of start up.
> The web management console was left running and on broker restart the exception stack trace was added into the broker log:
> {noformat}
> 2012-09-11 16:00:08,155 WARN  [qtp404150953-21] (ServletHandler.java:546) - /rest/authenticationprovider/PrincipalDatabaseAuthenticationManager
> java.lang.NullPointerException
>         at org.apache.qpid.server.registry.ApplicationRegistry.getSubjectCreator(ApplicationRegistry.java:624)
>         at org.apache.qpid.server.management.plugin.servlet.rest.AbstractServlet.getAndCacheAuthorizedSubject(AbstractServlet.java:266)
>         at org.apache.qpid.server.management.plugin.servlet.rest.AbstractServlet.doWithSubjectAndActor(AbstractServlet.java:199)
>         at org.apache.qpid.server.management.plugin.servlet.rest.AbstractServlet.doGet(AbstractServlet.java:80)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
>         at org.eclipse.jetty.server.Server.handle(Server.java:348)
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
>         at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:884)
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:938)
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
>         at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
>         at java.lang.Thread.run(Thread.java:662)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org