Karaf
  1. Karaf
  2. KARAF-1212

NPE during update of the FeatureFinder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-feature
    • Labels:
      None

      Description

      At startup, the FeatureFinder fails on the updated() method due to a NPE:

      2012-02-17 09:58:40,367 | ERROR | .features.repos) | configadmin | ? ? | 9 - org.apache.felix.configadmin - 1.2.8 | [org.osgi.service.cm.ManagedService, id=68, bundle=28]: Unexpected problem updating null
      java.lang.NullPointerException
      at org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_26]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_26]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_26]
      at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_26]
      at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[16:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
      at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[16:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
      at $Proxy20.updated(Unknown Source)[9:org.apache.felix.configadmin:1.2.8]
      at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[9:org.apache.felix.configadmin:1.2.8]
      at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[9:org.apache.felix.configadmin:1.2.8]
      at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]

        Issue Links

          Activity

          Jamie goodyear made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jean-Baptiste Onofré made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jean-Baptiste Onofré made changes -
          Fix Version/s 2.2.6 [ 12319142 ]
          Affects Version/s 3.0.0 [ 12316040 ]
          Jean-Baptiste Onofré made changes -
          Field Original Value New Value
          Link This issue is duplicated by KARAF-1204 [ KARAF-1204 ]
          Jean-Baptiste Onofré created issue -

            People

            • Assignee:
              Jean-Baptiste Onofré
              Reporter:
              Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development