You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/03/03 06:31:00 UTC

[jira] [Commented] (KARAF-5556) Cave Deployer Connection throws NullPointerException

    [ https://issues.apache.org/jira/browse/KARAF-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384513#comment-16384513 ] 

ASF subversion and git services commented on KARAF-5556:
--------------------------------------------------------

Commit 480ffd9581032fb576d22b9976c04ebdc6e236d4 in karaf-cave's branch refs/heads/master from [~jbonofre]
[ https://gitbox.apache.org/repos/asf?p=karaf-cave.git;h=480ffd9 ]

[KARAF-5556] Prevent NPE dealing with Cave Deployer connections


> 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)