You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/05/10 15:07:47 UTC

[jira] [Work started] (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 ]

Work on KARAF-625 started by Jean-Baptiste Onofré.

> 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: runtime
>    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.
For more information on JIRA, see: http://www.atlassian.com/software/jira