Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
scr-1.0.8
-
None
-
Felix 1.8.1
Shell Service 1.2.0
SCR 1.0.8
Description
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)
Attachments
Issue Links
- duplicates
-
FELIX-1238 NPE when invoking "scr list" with no components registered
- Closed