Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9849

Unexpected problem updating configuration io.fabric8.agent - java.lang.NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-6.x-GA
    • jboss-fuse-6.3
    • Fabric8 v1
    • None
    • % %

    Description

      • This issue is not reproducible.
      • When adding a profile to a container, customer got the following error in the log
        2018-11-24 19:35:33,200 | INFO  | FelixStartLevel  | DeploymentAgent                  | 174 - io.fabric8.fabric-agent - 1.2.0.redhat-630310-08 | Creating fabric-agent-download thread pool with size: 4
        2018-11-24 19:35:33,202 | INFO  | FelixStartLevel  | DeploymentAgent                  | 174 - io.fabric8.fabric-agent - 1.2.0.redhat-630310-08 | Starting DeploymentAgent fabric-agent-174.1.1
        2018-11-24 19:35:33,224 | INFO  | 4.1.1-1-thread-1 | DeploymentAgent                  | 174 - io.fabric8.fabric-agent - 1.2.0.redhat-630310-08 | DeploymentAgent ready to accept configadmin tasks
        2018-11-24 19:35:33,229 | ERROR | .fabric8.agent]) | configadmin                      | 9 - org.apache.felix.configadmin - 1.8.12 | [org.osgi.service.cm.ManagedService, id=337, bundle=174/mvn:io.fabric8/fabric-agent/1.2.0.redhat-630310]: Unexpected problem updating configuration io.fabric8.agent
        java.lang.NullPointerException
                at java.util.Hashtable.put(Hashtable.java:460)[:1.8.0_162]
                at io.fabric8.agent.DeploymentAgent.filterDecryptedProperties(DeploymentAgent.java:315)[174:io.fabric8.fabric-agent:1.2.0.redhat-630310-08]
                at io.fabric8.agent.DeploymentAgent.updated(DeploymentAgent.java:278)[174:io.fabric8.fabric-agent:1.2.0.redhat-630310-08]
                at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[9:org.apache.felix.configadmin:1.8.12]
                at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[9:org.apache.felix.configadmin:1.8.12]
                at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[9:org.apache.felix.configadmin:1.8.12]
                at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461)[9:org.apache.felix.configadmin:1.8.12]
                at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417)[9:org.apache.felix.configadmin:1.8.12]
                at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[9:org.apache.felix.configadmin:1.8.12]
                at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[9:org.apache.felix.configadmin:1.8.12]
                at java.lang.Thread.run(Thread.java:748)[:1.8.0_162]
        
      • This seems to be related to ENTESB-7459, which was a bug same customer reported a while ago that was then fixed. The problem seems to be not reproducable, but customer think it's worth looking into it. A NullPointerException should never occur.

      Attachments

        Issue Links

          Activity

            People

              johnpoth John Poth
              rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: