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

Jean-Baptiste Onofré updated KARAF-625:
---------------------------------------

    Fix Version/s: 3.0.0

> 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

Reply via email to