Manually deleting an instance breaks admin:list -----------------------------------------------
Key: FELIX-1517 URL: https://issues.apache.org/jira/browse/FELIX-1517 Project: Felix Issue Type: Bug Components: Karaf Affects Versions: karaf-1.0.0 Reporter: David Bosschaert When I delete an instance manually, by simply deleting the subdirectory from the instances directory, it breaks the admin:list command. When I run that command afterwards I get this: ka...@root> admin:list Port State Pid Name pipe: java.io.FileNotFoundException: K:\assembly\target\apache-felix-karaf-1.2.0 -SNAPSHOT\instances\too\etc\org.apache.felix.karaf.shell.cfg (The system cannot find the path specified) java.io.FileNotFoundException: K:\assembly\target\apache-felix-karaf-1.2.0-SNAPS HOT\instances\too\etc\org.apache.felix.karaf.shell.cfg (The system cannot find t he path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.felix.karaf.gshell.admin.internal.InstanceImpl.getPort(InstanceImpl.java:76) at org.apache.felix.karaf.gshell.admin.internal.commands.ListCommand.doExecute(ListCommand.java:42) at org.apache.felix.karaf.gshell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:34) at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:45) at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:208) at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:147) at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:91) at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:78) at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71) at org.apache.felix.karaf.gshell.console.jline.Console.run(Console.java:115) 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.