You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org> on 2012/01/19 22:42:42 UTC

[jira] [Closed] (KARAF-625) Missing property 'log4j.appender.out.file' in the file org.ops4j.pax.logging.cfg caused a NPE

     [ https://issues.apache.org/jira/browse/KARAF-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-625.
--------------------------------

    
> Missing property 'log4j.appender.out.file' in the file org.ops4j.pax.logging.cfg caused a NPE
> ---------------------------------------------------------------------------------------------
>
>                 Key: KARAF-625
>                 URL: https://issues.apache.org/jira/browse/KARAF-625
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.0
>         Environment: mac os x
>            Reporter: Stephane Chomat
>            Assignee: Jean-Baptiste Onofré
>             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.ops4j.pax.logging.cfg,  a NPE is raised.
> java.lang.NullPointerException
> 	at org.apache.karaf.main.Main.substVars(Main.java:1187)
> 	at org.apache.karaf.main.BootstrapLogManager.getDefaultHandler(BootstrapLogManager.java:68)
> 	at org.apache.karaf.main.Main.launch(Main.java:232)
> 	at org.apache.karaf.main.Main.main(Main.java:426)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira