Send logback-user mailing list submissions to
logback-user@qos.ch
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.qos.ch/mailman/listinfo/logback-user
or, via email, send a message with subject or body 'help' to
logback-user-request@qos.ch
You can reach the person managing the list at
logback-user-owner@qos.ch
When replying, please edit your Subject line so it is more specific
than "Re: Contents of logback-user digest..."
Today's Topics:
1. logback 1.3.0-alpha5 NPE (Rolf Schumacher)
2. Re: logback 1.3.0-alpha5 NPE (Ceki)
----------------------------------------------------------------------
Message: 1
Date: Tue, 19 Nov 2019 23:23:24 +0100
From: Rolf Schumacher <rolf@august.de>
To: logback-user@qos.ch
Subject: [logback-user] logback 1.3.0-alpha5 NPE
Message-ID: <1d91697c-8bc3-db36-d40b-91aeea319061@august.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20191119/2c3e88c9/attachment-0001.html>
------------------------------
Message: 2
Date: Tue, 19 Nov 2019 23:25:59 +0100
From: Ceki <ceki@qos.ch>
To: logback-user@qos.ch
Subject: Re: [logback-user] logback 1.3.0-alpha5 NPE
Message-ID: <c2ef47ab-27fd-1db0-684e-31ac714ef9f0@qos.ch>
Content-Type: text/plain; charset=utf-8; format=flowed
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@qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
--
--
Ceki Gülcü
------------------------------
Subject: Digest Footer
_______________________________________________
logback-user mailing list
logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
------------------------------
End of logback-user Digest, Vol 96, Issue 6
*******************************************