Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1252

NullPointerException in "scr list" command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • scr-1.0.8
    • scr-1.2.0
    • 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

          Activity

            People

              fmeschbe Felix Meschberger
              thiloplanz Thilo Planz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: