[logback-user] logback 1.3.0-alpha5 NPE

Ceki ceki at qos.ch
Tue Nov 19 23:25:59 CET 2019


Hi Rolf,

You have run into https://jira.qos.ch/browse/LOGBACK-1491

--
Ceki

On 19.11.2019 23:23, Rolf Schumacher wrote:
> I've reduced my problem to a very simple maven project, located here as 
> zip-file:
> 
> /https://www.file-upload.net/download-13793489/deeschd.zip.html/
> 
> doing a /mvn test/ runs fine with Java-11.
> 
> uncommenting
> 
> ///    requires transitive ch.qos.logback.classic;/
> 
> in /src/main/jave/module-info.java/
> 
> and running /mvn test/ again leads to an NPE.
> 
> 
> Why does the mentioning of an existing module in /module-info.java /lead 
> to an NPE?
> //
> 
> This source code is a reduction of an existing project. It has been has 
> been moved from Java-8 to Java-11.
> 
> The source code contains a /LogbackConfigurator.java/ (implementing 
> ch.qos.logback.classic.spi.Configurator).
> 
> /LogbackConfigurator.java/ needs /ch.qos.logback.classic/ in 
> /module-info.java/ in order to compile.
> 
> Am I doing something wrong, or is this a bug?
> 
> Any help welcome
> 
> Rolf
> 
> 
> _______________________________________________
> logback-user mailing list
> logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
> 

-- 
--
Ceki Gülcü


More information about the logback-user mailing list