You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/06/18 08:20:10 UTC

[jira] Resolved: (FELIX-1252) NullPointerException in "scr list" command

     [ https://issues.apache.org/jira/browse/FELIX-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-1252.
--------------------------------------

       Resolution: Duplicate
    Fix Version/s: scr-1.0.10
         Assignee: Felix Meschberger

Resolving as duplicate. Please close this issue if you agree. Thanks.

> 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
>            Assignee: Felix Meschberger
>            Priority: Minor
>             Fix For: scr-1.0.10
>
>
> 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.