Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3487

config:edit '(service.factorypid=myconfig)' throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.3, 4.0.0.M3
    • 3.0.4, 4.0.0.M2, 4.0.0.M3
    • karaf
    • None

    Description

      2015-01-29 13:34:55,571 | ERROR | nsole user karaf | ShellUtil                        | 41 - org.apache.karaf.shell.core - 4.0.0.SNAPSHOT | Exception caught while executing command
      java.lang.NullPointerException
              at org.apache.karaf.config.command.EditCommand.doExecute(EditCommand.java:53)[22:org.apache.karaf.config.core:4.0.0.SNAPSHOT]
              at org.apache.karaf.config.command.ConfigCommandSupport.execute(ConfigCommandSupport.java:46)[22:org.apache.karaf.config.core:4.0.0.SNAPSHOT]
              at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:95)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:267)[41:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
              at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
      

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: