karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Langel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3458) NPE when running org.apache.felix.scr:list on karaf 3.0.2
Date Wed, 21 Jan 2015 14:52:35 GMT

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

Frank Langel commented on KARAF-3458:
-------------------------------------

I tried with jvm 1.7 and 1.8, same result

> NPE when running org.apache.felix.scr:list on karaf 3.0.2
> ---------------------------------------------------------
>
>                 Key: KARAF-3458
>                 URL: https://issues.apache.org/jira/browse/KARAF-3458
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 3.0.2
>         Environment: MAC OS 
>            Reporter: Frank Langel
>
> 1. Install org.apache.felix.scr (either 1.8.2 or 1.6) on fresh karaf 3.0.2
> 2. type scr:list in the gogo console
> 3. Result --> NPE 
> See below  
> karaf@root()> scr:list
> Error executing command: java.lang.NullPointerException
> karaf@root()> log:display
> 2015-01-21 13:28:18,481 | ERROR | l for user karaf | ShellUtil                      
 | 25 - org.apache.karaf.shell.console - 3.0.2 | Exception caught while executing command
> java.lang.NullPointerException
> 	at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:61)
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)[25:org.apache.karaf.shell.console:3.0.2]
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.2]
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.2]
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.2]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.2]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.2]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
> 	at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:203)
> 	at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:115)
> 	at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_25]
> 	at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.2]
> 	at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:108)[25:org.apache.karaf.shell.console:3.0.2]
> karaf@root()> list -s|grep scr
> 91 | Active |  80 | 1.8.2                 | org.apache.felix.scr
> karaf@root()>
> karaf@root()> scr:info
> Error executing comm



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message