-
Bug
-
Resolution: Done
-
Minor
-
jboss-fuse-6.1
-
None
-
None
-
%
-
--parents camel flag throws a NPE.
It should probably present a meaningful error message
2014-04-28 10:16:04,100 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 220 | 17 - org.apache.karaf.shell.console - 2.3.0.redhat-610379 | Exception caught while executing command java.lang.NullPointerException at io.fabric8.internal.ProfileImpl.setParents(ProfileImpl.java:212)[65:io.fabric8.fabric-core:1.0.0.redhat-379] at io.fabric8.commands.ProfileCreate.doExecute(ProfileCreate.java:47)[66:io.fabric8.fabric-commands:1.0.0.redhat-379] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379] at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379] at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]