NullPointerException in "scr list" command ------------------------------------------
Key: FELIX-1252 URL: https://issues.apache.org/jira/browse/FELIX-1252 Project: Felix Issue Type: Bug Components: Declarative Services (SCR) Affects Versions: scr-1.0.8 Environment: Felix 1.8.1 Shell Service 1.2.0 SCR 1.0.8 Reporter: Thilo Planz Priority: Minor When no components are registered, the shell command fails: -> scr list No components registered Id State Name Unable to execute command: java.lang.NullPointerException java.lang.NullPointerException at org.apache.felix.scr.impl.ScrCommand.list(ScrCommand.java:161) at org.apache.felix.scr.impl.ScrCommand.execute(ScrCommand.java:102) at org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291) at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177) at java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.