karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Moquin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2128) NPE in FeaturesEventHandler
Date Fri, 18 Jan 2013 14:36:12 GMT
Ryan Moquin created KARAF-2128:

             Summary: NPE in FeaturesEventHandler
                 Key: KARAF-2128
                 URL: https://issues.apache.org/jira/browse/KARAF-2128
             Project: Karaf
          Issue Type: Bug
          Components: cellar-features
    Affects Versions: cellar-3.0.0
         Environment: Windows 8 64-bit
            Reporter: Ryan Moquin

I don't know if this is related to the fact that I'm running a distribution I created with
Cellar pre-installed (I think I've seen this happen when installing cellar manually from karaf
3.0.0-SNAPSHOT, but I'll re-check it), I see the following error shortly (after this paragraph)
after startup without having executed anything on Karaf other than to view the log.  I hooked
up a debugger and the groupManager is null.  I'm assuming something isn't getting initialized
properly?  I get a similar error in a different class if the groups config file doesn't exist
(might want to prevent the NPE in those cases and either default a value or print a clear
error message), but I don't have the stacktrace handy.  I'll try to get it if you want, unless
you don't need it.

2013-01-18 09:29:17,274 | ERROR | pool-11-thread-9 | EventDispatchTask                | 13
- org.apache.karaf.cellar.cor
e - 3.0.0.SNAPSHOT | Error while dispatching task
        at org.apache.karaf.cellar.features.FeaturesEventHandler.handle(FeaturesEventHandler.java:64)[36:org.apache.kara
        at org.apache.karaf.cellar.features.FeaturesEventHandler.handle(FeaturesEventHandler.java:33)[36:org.apache.kara
        at Proxye81779f6_8100_417b_990b_3dc2dce8c97a.handle(Unknown Source)[:]
        at Proxy20fcbff6_e61b_4560_993f_d0c8c0b67d63.handle(Unknown Source)[:]
        at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:77)[13:org.apache.karaf.cella
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_09]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_09]
        at java.lang.Thread.run(Thread.java:722)[:1.7.0_09]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message