[
https://issues.apache.org/jira/browse/KARAF-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reassigned KARAF-3257:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> NullPointerException on Karaf osgi shell commands
> -------------------------------------------------
>
> Key: KARAF-3257
> URL: https://issues.apache.org/jira/browse/KARAF-3257
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.4.0
> Reporter: Jimmi Dyson
> Assignee: Jean-Baptiste Onofré
>
> Typing Karaf osgi shell commands such as osgi:list throws
> NullPointerException:
> {noformat}
> Error executing command: java.lang.NullPointerException
> {noformat}
> Stack trace in karaf.log show:
> {noformat}
> java.lang.NullPointerException
> at
> org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:61)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.karaf.shell.console.jline.Console.run(Console.java:196)[21:org.apache.karaf.shell.console:2.4.0]
> at
> org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[21:org.apache.karaf.shell.console:2.4.0]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)