Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: webconsole-4.0.0
    • Fix Version/s: webconsole-4.2.0
    • Component/s: Web Console
    • Labels:
      None

      Description

      When uninstalling a bundle from the bundle list, a NPE in the framework occurs - I think this starts to happen with framework 4.0.3, but I think this is not a problem of the framework but a bug in the web console.

      This is the stack trace:
      14.09.2012 13:44:54.858 INFO [0:0:0:0:0:0:0:1%0 [1347623094009] POST /system/console/bundles/108 HTTP/1.1] servletengine Servlet threw exception: java.lang.NullPointerException
      at org.apache.felix.framework.PackageAdminImpl.getBundleType(PackageAdminImpl.java:112)
      at org.apache.felix.webconsole.internal.core.BundlesServlet.isFragmentBundle(BundlesServlet.java:715)
      at org.apache.felix.webconsole.internal.core.BundlesServlet.doPost(BundlesServlet.java:358)

      Although the bundle is uninstalled, the web console tries to find out whether the bundle is a fragment to report a status in the json. I think this doesn't make sense for an uninstalled bundle

        Issue Links

          Activity

          Carsten Ziegeler created issue -
          Felix Meschberger made changes -
          Field Original Value New Value
          Link This issue is related to FELIX-3670 [ FELIX-3670 ]
          Carsten Ziegeler made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Carsten Ziegeler [ cziegeler ]
          Resolution Fixed [ 1 ]
          Carsten Ziegeler made changes -
          Link This issue is related to FELIX-3318 [ FELIX-3318 ]
          Felix Meschberger made changes -
          Link This issue is duplicated by FELIX-3318 [ FELIX-3318 ]
          Felix Meschberger made changes -
          Link This issue is related to FELIX-3318 [ FELIX-3318 ]
          Felix Meschberger made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Carsten Ziegeler [ cziegeler ] Felix Meschberger [ fmeschbe ]
          Felix Meschberger made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Felix Meschberger made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Felix Meschberger
              Reporter:
              Carsten Ziegeler
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development