karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-2550) At first sync, cellar-config raises NPE
Date Wed, 06 Nov 2013 14:52:17 GMT
Jean-Baptiste Onofré created KARAF-2550:
-------------------------------------------

             Summary: At first sync, cellar-config raises NPE
                 Key: KARAF-2550
                 URL: https://issues.apache.org/jira/browse/KARAF-2550
             Project: Karaf
          Issue Type: Bug
          Components: cellar-config
    Affects Versions: cellar-2.3.2
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: cellar-3.0.0, cellar-2.3.3


While installing Cellar on a fresh Karaf instance, the sync of the configuration is called
(on cellar-config).

This sync raises several NPE:

2013-11-06 15:48:19,510 | ERROR | pool-11-thread-2 | ConfigurationEventHandler        | config.ConfigurationEventHandler
  91 | 59 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local
configuration
java.lang.NullPointerException
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[59:org.apache.karaf.cellar.config:2.3.2]
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[59:org.apache.karaf.cellar.config:2.3.2]
        at Proxy2c7dce14_0129_4a3b_9a39_dd58fa0dd78f.handle(Unknown Source)[:]
        at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[55:org.apache.karaf.cellar.core:2.3.2]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]
2013-11-06 15:48:19,511 | ERROR | pool-11-thread-4 | ConfigurationEventHandler        | config.ConfigurationEventHandler
  91 | 59 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local
configuration
java.lang.NullPointerException
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[59:org.apache.karaf.cellar.config:2.3.2]
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[59:org.apache.karaf.cellar.config:2.3.2]
        at Proxy2c7dce14_0129_4a3b_9a39_dd58fa0dd78f.handle(Unknown Source)[:]
        at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[55:org.apache.karaf.cellar.core:2.3.2]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]
2013-11-06 15:48:19,511 | ERROR | pool-11-thread-3 | ConfigurationEventHandler        | config.ConfigurationEventHandler
  91 | 59 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local
configuration
java.lang.NullPointerException
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[59:org.apache.karaf.cellar.config:2.3.2]
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[59:org.apache.karaf.cellar.config:2.3.2]
        at Proxy2c7dce14_0129_4a3b_9a39_dd58fa0dd78f.handle(Unknown Source)[:]
        at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[55:org.apache.karaf.cellar.core:2.3.2]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]
2013-11-06 15:48:19,511 | ERROR | pool-11-thread-1 | ConfigurationEventHandler        | config.ConfigurationEventHandler
  91 | 59 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local
configuration
java.lang.NullPointerException
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[59:org.apache.karaf.cellar.config:2.3.2]
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[59:org.apache.karaf.cellar.config:2.3.2]
        at Proxy2c7dce14_0129_4a3b_9a39_dd58fa0dd78f.handle(Unknown Source)[:]
        at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[55:org.apache.karaf.cellar.core:2.3.2]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]
2013-11-06 15:48:19,517 | ERROR | pool-11-thread-5 | ConfigurationEventHandler        | config.ConfigurationEventHandler
  91 | 59 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local
configuration
java.lang.NullPointerException
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[59:org.apache.karaf.cellar.config:2.3.2]
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[59:org.apache.karaf.cellar.config:2.3.2]
        at Proxy2c7dce14_0129_4a3b_9a39_dd58fa0dd78f.handle(Unknown Source)[:]
        at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[55:org.apache.karaf.cellar.core:2.3.2]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]
2013-11-06 15:48:19,519 | ERROR | pool-11-thread-6 | ConfigurationEventHandler        | config.ConfigurationEventHandler
  91 | 59 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local
configuration
java.lang.NullPointerException
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[59:org.apache.karaf.cellar.config:2.3.2]
        at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[59:org.apache.karaf.cellar.config:2.3.2]
        at Proxy2c7dce14_0129_4a3b_9a39_dd58fa0dd78f.handle(Unknown Source)[:]
        at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[55:org.apache.karaf.cellar.core:2.3.2]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_21]


Even if it's not a big deal for the Cellar usage, we have to prevent this.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message