karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-625) Missing property 'log4j.appender.out.file' in the file org.ops4j.pax.logging.cfg caused a NPE
Date Mon, 09 May 2011 10:09:03 GMT

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

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

    Assignee: 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

Mime
View raw message