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

Étienne Miret closed LOG4J2-3217.
---------------------------------
    Resolution: Invalid

While trying to create an MCVE, I couldn’t reproduce the issue I had in my 
application.

I’ll investigate further what happened in my application, but for now I’m 
closing this as invalid. Sorry.

> Configurator.initialize(String,ClassLoader,URI) throws NPE
> ----------------------------------------------------------
>
>                 Key: LOG4J2-3217
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3217
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators
>    Affects Versions: 2.15.0
>         Environment: Just upgraded from log4j 2.11.0 to 2.15.0. It was 
> working in 2.11.0.
>            Reporter: Étienne Miret
>            Priority: Major
>
> Calling {{org.apache.logging.log4j.core.config.Configurator.initialize 
> (String, ClassLoader, URI)}} throws a NullPointerException:
>  
> {{2021-12-13 14:49:02,227 main ERROR There was a problem initializing the 
> LoggerContext [TestDynamicFilter] using configuration at 
> [file:/****/log4j2-test-dynamic-filter.xml]. java.lang.NullPointerException}}
> {{    at 
> org.apache.logging.log4j.core.selector.ContextSelector.getContext(ContextSelector.java:112)}}
> {{    at 
> org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:253)}}
> {{    at 
> org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:182)}}
> {{    at 
> org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:143)}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to