felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FELIX-871) Bundle Repository page displays NullPointerException if no RepositoryAdmin service is available
Date Sat, 03 Jan 2009 16:35:45 GMT

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

Felix Meschberger closed FELIX-871.
-----------------------------------

    Resolution: Fixed

Fixed in Rev. 731016

> Bundle Repository page displays NullPointerException if no RepositoryAdmin service is
available
> -----------------------------------------------------------------------------------------------
>
>                 Key: FELIX-871
>                 URL: https://issues.apache.org/jira/browse/FELIX-871
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-1.2.0, webconsole-1.2.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-1.2.4
>
>
> The following Stacktrace is displayed if the Bundle Repository page (OSGi Repository)
is addressed in case no RepositoryAdmin service is available:
> java.lang.NullPointerException
> 	at org.apache.felix.webconsole.internal.obr.BundleRepositoryRender.listResources(BundleRepositoryRender.java:266)
> 	at org.apache.felix.webconsole.internal.obr.BundleRepositoryRender.render(BundleRepositoryRender.java:190)
> 	at org.apache.felix.webconsole.internal.servlet.RenderBridge.renderContent(RenderBridge.java:66)
> 	at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:119)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:307)
> The problem is that the listResources method is not correctly handling the situation
of missing repositories.
> Actually the page should display a not about missing RepositoryAdmin service in this
case.

-- 
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