<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I've reduced my problem to a very simple maven project, located
here as zip-file:</p>
<p><i><a class="moz-txt-link-freetext" href="https://www.file-upload.net/download-13793489/deeschd.zip.html">https://www.file-upload.net/download-13793489/deeschd.zip.html</a></i><br>
</p>
<p>doing a <i>mvn test</i> runs fine with Java-11.</p>
<p>uncommenting </p>
<p><i>// requires transitive ch.qos.logback.classic;</i><br>
</p>
<p>in <i>src/main/jave/module-info.java</i></p>
<p>and running <i>mvn test</i> again leads to an NPE.</p>
<p><br>
</p>
<p>Why does the mentioning of an existing module in <i>module-info.java
</i>lead to an NPE?<br>
<i></i></p>
<p>This source code is a reduction of an existing project. It has
been has been moved from Java-8 to Java-11.<br>
</p>
<p>The source code contains a <i>LogbackConfigurator.java</i>
(implementing ch.qos.logback.classic.spi.Configurator). <br>
</p>
<p><i>LogbackConfigurator.java</i> needs <i>ch.qos.logback.classic</i>
in <i>module-info.java</i> in order to compile.</p>
<p>Am I doing something wrong, or is this a bug?</p>
<p>Any help welcome</p>
<p>Rolf<br>
</p>
</body>
</html>