You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/03/22 15:11:27 UTC

[jira] Created: (FELIX-2219) Showing bundle details of an uninstalled bundles reports "Internal Server Error"

Showing bundle details of an uninstalled bundles reports "Internal Server Error"
--------------------------------------------------------------------------------

                 Key: FELIX-2219
                 URL: https://issues.apache.org/jira/browse/FELIX-2219
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-2.0.6
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: webconsole-3.0.0


Displaying the details of an uninstalled bundle reports a single "Internal Server Error" in the data area instead of something meaningful.

The problems are:
  * The StartLevel service throws an IllegalStateException when getBundleStartLevel is called for an uninstalled bundle
  * Bundle.getRegisteredServices throws IllegalStateException if the bundle is uninstalled

These two methods must be guarded and accounted for

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


[jira] Resolved: (FELIX-2219) Showing bundle details of an uninstalled bundles reports "Internal Server Error"

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2219.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 926135 by guarding said methods

> Showing bundle details of an uninstalled bundles reports "Internal Server Error"
> --------------------------------------------------------------------------------
>
>                 Key: FELIX-2219
>                 URL: https://issues.apache.org/jira/browse/FELIX-2219
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>
> Displaying the details of an uninstalled bundle reports a single "Internal Server Error" in the data area instead of something meaningful.
> The problems are:
>   * The StartLevel service throws an IllegalStateException when getBundleStartLevel is called for an uninstalled bundle
>   * Bundle.getRegisteredServices throws IllegalStateException if the bundle is uninstalled
> These two methods must be guarded and accounted for

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


[jira] Closed: (FELIX-2219) Showing bundle details of an uninstalled bundles reports "Internal Server Error"

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-2219.
-----------------------------------


> Showing bundle details of an uninstalled bundles reports "Internal Server Error"
> --------------------------------------------------------------------------------
>
>                 Key: FELIX-2219
>                 URL: https://issues.apache.org/jira/browse/FELIX-2219
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>
> Displaying the details of an uninstalled bundle reports a single "Internal Server Error" in the data area instead of something meaningful.
> The problems are:
>   * The StartLevel service throws an IllegalStateException when getBundleStartLevel is called for an uninstalled bundle
>   * Bundle.getRegisteredServices throws IllegalStateException if the bundle is uninstalled
> These two methods must be guarded and accounted for

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