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] [Commented] (KARAF-2128) NPE in FeaturesEventHandler
Date Fri, 08 Feb 2013 14:41:13 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574519#comment-13574519
] 

Jean-Baptiste Onofré commented on KARAF-2128:
---------------------------------------------

I identified a couple of issues around the Cellar features support. It's on the way to be
fixed.
                
> 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
>            Assignee: Jean-Baptiste Onofré
>
> 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
> java.lang.NullPointerException
>         at org.apache.karaf.cellar.features.FeaturesEventHandler.handle(FeaturesEventHandler.java:64)[36:org.apache.kara
> f.cellar.features:3.0.0.SNAPSHOT]
>         at org.apache.karaf.cellar.features.FeaturesEventHandler.handle(FeaturesEventHandler.java:33)[36:org.apache.kara
> f.cellar.features:3.0.0.SNAPSHOT]
>         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
> r.core:3.0.0.SNAPSHOT]
>         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

Mime
View raw message