[ https://issues.apache.org/jira/browse/KARAF-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-5556. ----------------------------------------- Resolution: Fixed > Cave Deployer Connection throws NullPointerException > ---------------------------------------------------- > > Key: KARAF-5556 > URL: https://issues.apache.org/jira/browse/KARAF-5556 > Project: Karaf > Issue Type: Bug > Components: cave-deployer > Affects Versions: cave-4.1.0 > Reporter: Jean-Baptiste Onofré > Assignee: Jean-Baptiste Onofré > Priority: Major > Fix For: cave-4.1.1 > > > Manipulating the Deployer Connections (using the dedicated commands) throws > NPE: > {code} > karaf@root()> cave:deployer-connection > Error executing command: java.lang.NullPointerException > karaf@root()> cave:deployer-connection-register local 127.0.0.1:44444 karaf > karaf karaf > Error executing command: java.lang.NullPointerException > karaf@root()> log:tail16:31:02.511 ERROR [Karaf local console user karaf] > Exception caught while executing command > java.lang.NullPointerException: null > at > org.apache.karaf.cave.deployer.service.impl.DeployerImpl.connections(DeployerImpl.java:102) > ~[?:?] > at > org.apache.karaf.cave.deployer.command.ConnectionListCommand.execute(ConnectionListCommand.java:43) > ~[?:?] > at > org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) > ~[?:?] > at > org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) > ~[?:?] > at > org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) > ~[?:?] > at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:571) > ~[?:?] > at > org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:497) > ~[?:?] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:386) ~[?:?] > at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417) ~[?:?] > at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?] > at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?] > at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) > ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) > ~[?:?] > at java.lang.Thread.run(Thread.java:844) [?:?] > 16:31:04.789 ERROR [Karaf local console user karaf] Exception caught while > executing command > java.lang.NullPointerException: null > at > org.apache.karaf.cave.deployer.service.impl.DeployerImpl.registerConnection(DeployerImpl.java:78) > ~[?:?] > at > org.apache.karaf.cave.deployer.command.ConnectionRegisterCommand.execute(ConnectionRegisterCommand.java:57) > ~[?:?] > at > org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) > ~[?:?] > at > org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) > ~[?:?] > at > org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) > ~[?:?] > at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:571) > ~[?:?] > at > org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:497) > ~[?:?] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:386) ~[?:?] > at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417) ~[?:?] > at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?] > at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?] > at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) > ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) > ~[?:?] > at java.lang.Thread.run(Thread.java:844) [?:?] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)