Hi Gareth, nope that doesn't feel right, could you please open a issue thanks.
Regards, Achim 2013/3/27 Gareth <[email protected]> > Hi Jean-Baptiste, Achim, > > Thanks very much for the responses! > > When I look at the help I see: > > OPTIONS > -f, --use-file > Configuration lookup using the filename instead of the pid > > which suggests this has something to do with the file already being there. > Does this need an update? > > Anyway I tried to run this command. Result below: > > karaf@root> config:edit -f com.mycompany.myservice-healthcheck > Error executing command: java.lang.NullPointerException > > 2013-03-26 21:10:08,231 | INFO | []:[] | Thread-8220 | Console > | araf.shell.console.jline.Console 198 | 14 - > org.apache.karaf.shell.console - 2.3.1 | Exception caught while executing > command > java.lang.NullPointerException > at > > org.apache.karaf.shell.config.ConfigCommandSupport.findConfigurationByFileName(ConfigCommandSupport.java:115) > at > org.apache.karaf.shell.config.EditCommand.doExecute(EditCommand.java:50) > at > > org.apache.karaf.shell.config.ConfigCommandSupport.doExecute(ConfigCommandSupport.java:68) > at > > org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38) > at > > org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) > at > org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78) > at > org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474) > at > org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400) > at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) > at > > org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) > at > org.apache.karaf.shell.console.jline.Console.run(Console.java:174) > at java.lang.Thread.run(Unknown Source)[:1.7.0_05] > at > > org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:144)[28:org.apache.karaf.shell.ssh:2.3.1] > at > > org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:135) > at java.security.AccessController.doPrivileged(Native > Method)[:1.7.0_05] > at javax.security.auth.Subject.doAs(Unknown Source)[:1.7.0_05] > at > > org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:133)[28:org.apache.karaf.shell.ssh:2.3.1] > > thanks in advance, > Gareth > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Updating-Managed-Service-Factory-Config-Via-config-commands-tp4028322p4028325.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
