Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cellar-2.3.2
-
None
Description
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.