You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Eric Norman <en...@apache.org> on 2026/04/14 21:27:38 UTC

[VOTE] Release Apache Sling JCR ContentLoader version 3.0.0

Hi,

We solved 8 issues in this release:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310710&version=12352905&styleName=Text

Staging repository:
https://repository.apache.org/content/repositories/orgapachesling-3088/

You can use this UNIX script to download the release and verify the
signatures:
https://raw.githubusercontent.com/apache/sling-tooling-release/master/check_staged_release.sh

Usage:
sh check_staged_release.sh 3088 /tmp/sling-staging

Please vote to approve this release:

  [ ] +1 Approve the release
  [ ]  0 Don't care
  [ ] -1 Don't release, because ...

This majority vote is open for at least 72 hours.

RE: [VOTE] Release Apache Sling JCR ContentLoader version 3.0.0

Posted by Stefan Seifert <st...@diva-e.com>.
+1

(local build works fine for me)

stefan

Re: [VOTE] Release Apache Sling JCR ContentLoader version 3.0.0

Posted by Eric Norman <en...@apache.org>.
+1

On Tue, Apr 14, 2026 at 2:27 PM Eric Norman <en...@apache.org> wrote:

> Hi,
>
> We solved 8 issues in this release:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310710&version=12352905&styleName=Text
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachesling-3088/
>
> You can use this UNIX script to download the release and verify the
> signatures:
>
> https://raw.githubusercontent.com/apache/sling-tooling-release/master/check_staged_release.sh
>
> Usage:
> sh check_staged_release.sh 3088 /tmp/sling-staging
>
> Please vote to approve this release:
>
>   [ ] +1 Approve the release
>   [ ]  0 Don't care
>   [ ] -1 Don't release, because ...
>
> This majority vote is open for at least 72 hours.
>

Re: [VOTE] Release Apache Sling JCR ContentLoader version 3.0.0

Posted by Robert Munteanu <ro...@apache.org>.
On Wed, 2026-04-15 at 14:35 -0700, Eric Norman wrote:
> I was also not able to reproduce that error locally and the
> ci-builds.apache.org builds of the trunk seem to be working fine with
> both
> JDK 17 and 21 on linux and windows.
> 
> I was using this environment to produce the release:
> 
> Apache Maven 3.9.10 (5f519b97e944483d878815739f519b2eade0a91d)
> Maven home: /home/enorman/tools/apache-maven-3.9.10
> Java version: 17.0.15, vendor: Ubuntu, runtime:
> /usr/lib/jvm/java-17-openjdk-amd64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-216-generic", arch: "amd64",
> family:
> "unix"

Right, I am not sure why it fails only for me. The failure was 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.12-1-default", arch: "amd64", family: "unix"


I filed SLING-13173 [1] with a potential PR for review.

After applying the patch the build passes for me. Due to very small
scope I'll vote to approve the release.

> Please vote to approve this release:

+1

Thanks,
Robert


[1]: https://issues.apache.org/jira/browse/SLING-13173

Re: [VOTE] Release Apache Sling JCR ContentLoader version 3.0.0

Posted by Eric Norman <en...@apache.org>.
Hi Robert,

Thanks for taking a look at it.

Does anyone else see this?


I was also not able to reproduce that error locally and the
ci-builds.apache.org builds of the trunk seem to be working fine with both
JDK 17 and 21 on linux and windows.

I was using this environment to produce the release:

Apache Maven 3.9.10 (5f519b97e944483d878815739f519b2eade0a91d)
Maven home: /home/enorman/tools/apache-maven-3.9.10
Java version: 17.0.15, vendor: Ubuntu, runtime:
/usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-216-generic", arch: "amd64", family:
"unix"


Maybe something in your m2 cache is corrupted?  Have you tried a build with
a fresh local maven artifact repository?

mvn clean verify -Dmaven.repo.local=/tmp/temp-repo


Regards,
Eric

On Wed, Apr 15, 2026 at 4:13 AM Robert Munteanu <ro...@apache.org> wrote:

> 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
>

Re: [VOTE] Release Apache Sling JCR ContentLoader version 3.0.0

Posted by Jörg Hoh <jh...@googlemail.com>.
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 <ro...@apache.org>:
>
> 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

Re: [VOTE] Release Apache Sling JCR ContentLoader version 3.0.0

Posted by Robert Munteanu <ro...@apache.org>.
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