Hi Robert, I cannot reproduce that locally, builds fine.
Apache Maven 3.9.14 (996c630dbc656c76214ce58821dcc58be960875b) Maven home: /opt/homebrew/Cellar/maven/3.9.14/libexec Java version: 21.0.2, vendor: Eclipse Adoptium, runtime: /Users/joerg/java/jdk-21.0.2+13/Contents/Home Default locale: en_DE, platform encoding: UTF-8 OS name: "mac os x", version: "26.4.1", arch: "aarch64", family: "mac" Am Mi., 15. Apr. 2026 um 13:13 Uhr schrieb Robert Munteanu <[email protected]>: > > On Tue, 2026-04-14 at 14:27 -0700, Eric Norman wrote: > > > > Staging repository: > > https://repository.apache.org/content/repositories/orgapachesling-3088/ > > I cannot build the project form the attached source archive. Tests fail > consistently on Java 17/21/25 for me. The initial failure is in the > ZipReaderTest and the others fail because slf4j cannot be initialised. > > Does anyone else see this? > > This particular failure was reproduced with > > Apache Maven 3.9.14 > Maven home: /usr/share/maven > Java version: 17.0.18, vendor: N/A, runtime: /usr/lib64/jvm/java-17-openjdk-17 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "6.19.11-1-default", arch: "amd64", family: "unix" > > [INFO] Running > org.apache.sling.jcr.contentloader.internal.readers.ZipReaderTest > OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader > classes because bootstrap classpath has been appended > [ERROR] Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 0.948 s <<< FAILURE! -- in > org.apache.sling.jcr.contentloader.internal.readers.ZipReaderTest > [ERROR] > org.apache.sling.jcr.contentloader.internal.readers.ZipReaderTest.removeTempFileLogWarningOnIOException > -- Time elapsed: 0.019 s <<< ERROR! > java.lang.IllegalStateException: Unexpected initialization failure > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:216) > at > org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:187) > at org.slf4j.LoggerFactory.getProvider(LoggerFactory.java:511) > at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:497) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:446) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:472) > at > org.apache.sling.jcr.contentloader.internal.readers.ZipReader.removeTempFile(ZipReader.java:140) > at > org.apache.sling.jcr.contentloader.internal.readers.ZipReaderTest.lambda$removeTempFileLogWarningOnIOException$11(ZipReaderTest.java:260) > at > org.apache.sling.jcr.contentloader.internal.readers.ZipReaderTest.doWorkWithCapturedSystemErr(ZipReaderTest.java:351) > at > org.apache.sling.jcr.contentloader.internal.readers.ZipReaderTest.removeTempFileLogWarningOnIOException(ZipReaderTest.java:260) > Caused by: java.lang.NullPointerException: Cannot invoke > "java.nio.file.attribute.BasicFileAttributes.lastModifiedTime()" because > "this.attrs" is null > at > java.base/java.util.zip.ZipFile$Source$Key.hashCode(ZipFile.java:1398) > at java.base/java.util.HashMap.hash(HashMap.java:338) > at java.base/java.util.HashMap.getNode(HashMap.java:568) > at java.base/java.util.HashMap.get(HashMap.java:556) > at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1439) > at > java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:717) > at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:251) > at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:180) > at java.base/java.util.jar.JarFile.<init>(JarFile.java:346) > at > java.base/sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:103) > at > java.base/sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:72) > at > java.base/sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:168) > at > java.base/sun.net.www.protocol.jar.JarFileFactory.getOrCreate(JarFileFactory.java:91) > at > java.base/sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:117) > at > java.base/sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:160) > at > java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.parse(ServiceLoader.java:1172) > at > java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1213) > at > java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228) > at > java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273) > at > java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309) > at > java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393) > at > org.slf4j.LoggerFactory.findServiceProviders(LoggerFactory.java:133) > at org.slf4j.LoggerFactory.bind(LoggerFactory.java:195) > ... 9 more -- https://cqdump.joerghoh.de
