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

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

    [ https://issues.apache.org/jira/browse/FELIX-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721080#action_12721080 ] 

Filippo Diotalevi commented on FELIX-1252:
------------------------------------------

Hi, this bug is already fixed in the trunk. See FELIX-1238

> 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.