From issues-return-38241-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Thu Jan 4 13:54:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 65AA0180657 for ; Thu, 4 Jan 2018 13:54:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 55602160C28; Thu, 4 Jan 2018 12:54:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9A6FD160C2B for ; Thu, 4 Jan 2018 13:54:04 +0100 (CET) Received: (qmail 17019 invoked by uid 500); 4 Jan 2018 12:54:03 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 17008 invoked by uid 99); 4 Jan 2018 12:54:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2018 12:54:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 536C51A09DD for ; Thu, 4 Jan 2018 12:54:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 385JQgMzrNjO for ; Thu, 4 Jan 2018 12:54:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3D6AB5FAEF for ; Thu, 4 Jan 2018 12:54:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 641B5E08C6 for ; Thu, 4 Jan 2018 12:54:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 18B3C212F8 for ; Thu, 4 Jan 2018 12:54:00 +0000 (UTC) Date: Thu, 4 Jan 2018 12:54:00 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KARAF-5556) Cave Deployer Connection throws NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jean-Baptiste Onofr=C3=A9 created KARAF-5556: ------------------------------------------- Summary: 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=C3=A9 Assignee: Jean-Baptiste Onofr=C3=A9 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] E= xception 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(Act= ionCommand.java:84) ~[?:?] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.exec= ute(SecuredCommand.java:68) ~[?:?] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.exec= ute(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(ThreadPoolExecuto= r.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.registerCon= nection(DeployerImpl.java:78) ~[?:?] at org.apache.karaf.cave.deployer.command.ConnectionRegisterCommand.exe= cute(ConnectionRegisterCommand.java:57) ~[?:?] at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(Act= ionCommand.java:84) ~[?:?] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.exec= ute(SecuredCommand.java:68) ~[?:?] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.exec= ute(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(ThreadPoolExecuto= r.java:641) ~[?:?] at java.lang.Thread.run(Thread.java:844) [?:?] {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)