Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C15C5128 for ; Tue, 10 May 2011 13:08:27 +0000 (UTC) Received: (qmail 6261 invoked by uid 500); 10 May 2011 13:08:27 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 6226 invoked by uid 500); 10 May 2011 13:08:27 -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 6218 invoked by uid 99); 10 May 2011 13:08:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 13:08:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 13:08:26 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 61D9136A4A for ; Tue, 10 May 2011 13:07:47 +0000 (UTC) Date: Tue, 10 May 2011 13:07:47 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: <320682868.99.1305032867397.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1507717418.32053.1304934903311.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Work started] (KARAF-625) Missing property 'log4j.appender.out.file' in the file org.ops4j.pax.logging.cfg caused a NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-625?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Work on KARAF-625 started by Jean-Baptiste Onofr=C3=A9. > Missing property 'log4j.appender.out.file' in the file org.ops4j.pax.logg= ing.cfg caused a NPE > -------------------------------------------------------------------------= -------------------- > > Key: KARAF-625 > URL: https://issues.apache.org/jira/browse/KARAF-625 > Project: Karaf > Issue Type: Bug > Components: runtime > Affects Versions: 2.2.0 > Environment: mac os x > Reporter: Stephane Chomat > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 2.2.1, 3.0.0 > > Original Estimate: 24h > Remaining Estimate: 24h > > When the property 'log4j.appender.out.file' is missed in the file org.ops= 4j.pax.logging.cfg, a NPE is raised. > java.lang.NullPointerException > =09at org.apache.karaf.main.Main.substVars(Main.java:1187) > =09at org.apache.karaf.main.BootstrapLogManager.getDefaultHandler(Bootstr= apLogManager.java:68) > =09at org.apache.karaf.main.Main.launch(Main.java:232) > =09at org.apache.karaf.main.Main.main(Main.java:426) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira