[ https://issues.apache.org/jira/browse/KARAF-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-3257. ------------------------------------ Resolution: Fixed Fix Version/s: 2.4.1 3.0.3 https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=3384d2fc42d755da9fe35e1a6af6c4e561059df1 https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=5c392ea2bf10ddde4a284c25d4ea66247daabdcc > 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: Guillaume Nodet > Fix For: 3.0.3, 2.4.1 > > > 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)