[GitHub] [sling-org-apache-sling-jcr-contentloader] sonarcloud[bot] commented on pull request #25: SLING-11894 : fixed IT test failures on JDK 17

2023-07-21 Thread via GitHub


sonarcloud[bot] commented on PR #25:
URL: 
https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/25#issuecomment-1646498921

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-jcr-contentloader=25)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-contentloader=25=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-contentloader=25=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-contentloader=25=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-contentloader=25=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Resolved] (SLING-11923) Sling Events does not Build on Java 17

2023-07-21 Thread Rishabh Daim (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rishabh Daim resolved SLING-11923.
--
Resolution: Fixed

> Sling Events does not Build on Java 17
> --
>
> Key: SLING-11923
> URL: https://issues.apache.org/jira/browse/SLING-11923
> Project: Sling
>  Issue Type: Bug
>  Components: Event
>Affects Versions: Event 4.3.12
>Reporter: Dan Klco
>Assignee: Rishabh Daim
>Priority: Major
> Fix For: Event 4.3.14
>
>
> Attempting to build Sling Events with Java 17 fails with:
> {code:java}
> [main] INFO org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Reindexing 
> completed
> [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.935 
> s <<< FAILURE! - in org.apache.sling.event.impl.jobs.queues.TestTopicHalting
> [ERROR] 
> org.apache.sling.event.impl.jobs.queues.TestTopicHalting.testUnhalting  Time 
> elapsed: 1.506 s  <<< ERROR!
> java.lang.NoClassDefFoundError: java/security/acl/Group
>   at java.base/java.lang.ClassLoader.defineClass1(Native Method)
>   at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
>   at 
> java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
>   at 
> java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
>   at 
> java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
>   at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
>   at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
>  
> {code}
> This class is deprecated for removal in Java 11: 
> https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/acl/Group.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-jcr-contentloader] rishabhdaim commented on pull request #25: SLING-11894 : fixed IT test failures on JDK 17

2023-07-21 Thread via GitHub


rishabhdaim commented on PR #25:
URL: 
https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/25#issuecomment-1646497677

   @stefan-egli @stefanseifert could you please review the PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-jcr-contentloader] rishabhdaim opened a new pull request, #25: SLING-11894 : fixed IT test failures on JDK 17

2023-07-21 Thread via GitHub


rishabhdaim opened a new pull request, #25:
URL: https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/25

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [VOTE] Apache Sling Launchpad Base 7.0.5-2.7.8

2023-07-21 Thread Daniel Klco
+1

On Fri, Jul 21, 2023 at 11:25 AM Robert Munteanu  wrote:

> On Fri, 2023-07-21 at 16:48 +0200, Carsten Ziegeler wrote:
> > Please vote to approve this release:
>
> +1
> Robert
>


[jira] [Commented] (SLING-11981) Java 11 causes ITs with Tinybundles 3.0.0 to fail

2023-07-21 Thread Oliver Lietz (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745697#comment-17745697
 ] 

Oliver Lietz commented on SLING-11981:
--

Requires a new Tinybundles release.

> Java 11 causes ITs with Tinybundles 3.0.0 to fail
> -
>
> Key: SLING-11981
> URL: https://issues.apache.org/jira/browse/SLING-11981
> Project: Sling
>  Issue Type: Bug
>Reporter: Joerg Hoh
>Assignee: Oliver Lietz
>Priority: Major
>
> While updating to the latest parent, I found pax exam-based integration tests 
> to fail. 
> {noformat}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.107 
> s <<< FAILURE! - in org.apache.sling.servlets.resolver.it.ServletResourceIT
> [ERROR] org.apache.sling.servlets.resolver.it.ServletResourceIT  Time 
> elapsed: 4.931 s  <<< ERROR!
> org.ops4j.pax.exam.TestContainerException: There are unresolved bundles. See 
> previous ERROR log messages for details.
> {noformat}
> {noformat:output of the IT}
> ERROR: Bundle BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85] 
> Error starting 
> file:/home/joerg/repos/sling-git/sling-org-apache-sling-servlets-resolver/target/paxexam/ServletResourceIT/a882a707-4dfe-48d2-ba47-2b4175d777c3/pax-exam-downloads/BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar
>  (org.osgi.framework.BundleException: Unable to resolve 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
> requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
> 85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
> [[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] 
> osgi.ee; (osgi.ee=UNKNOWN)])
> org.osgi.framework.BundleException: Unable to resolve 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
> requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
> 85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
> [[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] 
> osgi.ee; (osgi.ee=UNKNOWN)]
> at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
> at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
> at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
> at java.base/java.lang.Thread.run(Thread.java:829)
> {noformat}
> {noformat:title=manifest of 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar}
> [...]
> Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compo
>  nent)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(osgi.ee=
>  UNKNOWN)"
> Service-Component: OSGI-INF/org.apache.sling.servlets.resolver.it.Test
>  ResourceProvider.xml,OSGI-INF/org.apache.sling.servlets.resolver.it.T
>  estServiceUserValidator.xml
> TinybundlesVersion: pax-tinybundles-3.0.0
> Tool: Bnd-3.5.0.201709291849
> {noformat}
> I narrowed this down to the upgrade from bundle parent 49 to 50, and it is 
> caused by the bump of the minimal java version to 11 (SLING-11979).
> Because if I don't run with my java 11 default, but with
> {noformat}
> JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre mvn clean install 
> -Dsling.java.version=8
> {noformat}
> the build runs fine (with parent 50).
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (SLING-11981) Java 11 causes ITs with Tinybundles 3.0.0 to fail

2023-07-21 Thread Oliver Lietz (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz reassigned SLING-11981:


Assignee: Oliver Lietz

> Java 11 causes ITs with Tinybundles 3.0.0 to fail
> -
>
> Key: SLING-11981
> URL: https://issues.apache.org/jira/browse/SLING-11981
> Project: Sling
>  Issue Type: Bug
>Reporter: Joerg Hoh
>Assignee: Oliver Lietz
>Priority: Major
>
> While updating to the latest parent, I found pax exam-based integration tests 
> to fail. 
> {noformat}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.107 
> s <<< FAILURE! - in org.apache.sling.servlets.resolver.it.ServletResourceIT
> [ERROR] org.apache.sling.servlets.resolver.it.ServletResourceIT  Time 
> elapsed: 4.931 s  <<< ERROR!
> org.ops4j.pax.exam.TestContainerException: There are unresolved bundles. See 
> previous ERROR log messages for details.
> {noformat}
> {noformat:output of the IT}
> ERROR: Bundle BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85] 
> Error starting 
> file:/home/joerg/repos/sling-git/sling-org-apache-sling-servlets-resolver/target/paxexam/ServletResourceIT/a882a707-4dfe-48d2-ba47-2b4175d777c3/pax-exam-downloads/BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar
>  (org.osgi.framework.BundleException: Unable to resolve 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
> requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
> 85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
> [[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] 
> osgi.ee; (osgi.ee=UNKNOWN)])
> org.osgi.framework.BundleException: Unable to resolve 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
> requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
> 85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
> [[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] 
> osgi.ee; (osgi.ee=UNKNOWN)]
> at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
> at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
> at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
> at java.base/java.lang.Thread.run(Thread.java:829)
> {noformat}
> {noformat:title=manifest of 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar}
> [...]
> Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compo
>  nent)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(osgi.ee=
>  UNKNOWN)"
> Service-Component: OSGI-INF/org.apache.sling.servlets.resolver.it.Test
>  ResourceProvider.xml,OSGI-INF/org.apache.sling.servlets.resolver.it.T
>  estServiceUserValidator.xml
> TinybundlesVersion: pax-tinybundles-3.0.0
> Tool: Bnd-3.5.0.201709291849
> {noformat}
> I narrowed this down to the upgrade from bundle parent 49 to 50, and it is 
> caused by the bump of the minimal java version to 11 (SLING-11979).
> Because if I don't run with my java 11 default, but with
> {noformat}
> JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre mvn clean install 
> -Dsling.java.version=8
> {noformat}
> the build runs fine (with parent 50).
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-11981) Java 11 causes ITs with Tinybundles 3.0.0 to fail

2023-07-21 Thread Oliver Lietz (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-11981:
-
Summary: Java 11 causes ITs with Tinybundles 3.0.0 to fail  (was: Java 11a 
as minimal version causes pax-exam ITs to fail)

> Java 11 causes ITs with Tinybundles 3.0.0 to fail
> -
>
> Key: SLING-11981
> URL: https://issues.apache.org/jira/browse/SLING-11981
> Project: Sling
>  Issue Type: Bug
>Reporter: Joerg Hoh
>Priority: Major
>
> While updating to the latest parent, I found pax exam-based integration tests 
> to fail. 
> {noformat}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.107 
> s <<< FAILURE! - in org.apache.sling.servlets.resolver.it.ServletResourceIT
> [ERROR] org.apache.sling.servlets.resolver.it.ServletResourceIT  Time 
> elapsed: 4.931 s  <<< ERROR!
> org.ops4j.pax.exam.TestContainerException: There are unresolved bundles. See 
> previous ERROR log messages for details.
> {noformat}
> {noformat:output of the IT}
> ERROR: Bundle BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85] 
> Error starting 
> file:/home/joerg/repos/sling-git/sling-org-apache-sling-servlets-resolver/target/paxexam/ServletResourceIT/a882a707-4dfe-48d2-ba47-2b4175d777c3/pax-exam-downloads/BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar
>  (org.osgi.framework.BundleException: Unable to resolve 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
> requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
> 85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
> [[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] 
> osgi.ee; (osgi.ee=UNKNOWN)])
> org.osgi.framework.BundleException: Unable to resolve 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
> requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
> 85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
> [[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] 
> osgi.ee; (osgi.ee=UNKNOWN)]
> at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
> at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
> at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
> at java.base/java.lang.Thread.run(Thread.java:829)
> {noformat}
> {noformat:title=manifest of 
> BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar}
> [...]
> Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compo
>  nent)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(osgi.ee=
>  UNKNOWN)"
> Service-Component: OSGI-INF/org.apache.sling.servlets.resolver.it.Test
>  ResourceProvider.xml,OSGI-INF/org.apache.sling.servlets.resolver.it.T
>  estServiceUserValidator.xml
> TinybundlesVersion: pax-tinybundles-3.0.0
> Tool: Bnd-3.5.0.201709291849
> {noformat}
> I narrowed this down to the upgrade from bundle parent 49 to 50, and it is 
> caused by the bump of the minimal java version to 11 (SLING-11979).
> Because if I don't run with my java 11 default, but with
> {noformat}
> JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre mvn clean install 
> -Dsling.java.version=8
> {noformat}
> the build runs fine (with parent 50).
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-starter] renovate-bot opened a new pull request, #194: chore(deps): update dependency org.apache.felix:org.apache.felix.healthcheck.webconsoleplugin to v2.1.0

2023-07-21 Thread via GitHub


renovate-bot opened a new pull request, #194:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/194

   [![Mend 
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
   
   This PR contains the following updates:
   
   | Package | Change | Age | Adoption | Passing | Confidence |
   |---|---|---|---|---|---|
   | 
[org.apache.felix:org.apache.felix.healthcheck.webconsoleplugin](https://felix.apache.org/)
 ([source](https://gitbox.apache.org/repos/asf?p=felix-dev.git)) | `2.0.2` -> 
`2.1.0` | 
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.felix:org.apache.felix.healthcheck.webconsoleplugin/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 | 
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.apache.felix:org.apache.felix.healthcheck.webconsoleplugin/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 | 
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.apache.felix:org.apache.felix.healthcheck.webconsoleplugin/2.0.2/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 | 
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.felix:org.apache.felix.healthcheck.webconsoleplugin/2.0.2/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 |
   
   ---
   
   ### Configuration
   
    **Schedule**: Branch creation - At any time (no schedule defined), 
Automerge - At any time (no schedule defined).
   
    **Automerge**: Disabled by config. Please merge this manually once you are 
satisfied.
   
   ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry 
checkbox.
   
    **Ignore**: Close this PR and you won't be reminded about this update 
again.
   
   ---
   
- [ ] If you want to rebase/retry this PR, check this 
box
   
   ---
   
   This PR has been generated by [Mend 
Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository 
job log 
[here](https://developer.mend.io/github/apache/sling-org-apache-sling-starter).
   

   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [VOTE] Apache Sling Launchpad Base 7.0.5-2.7.8

2023-07-21 Thread Robert Munteanu
On Fri, 2023-07-21 at 16:48 +0200, Carsten Ziegeler wrote:
> Please vote to approve this release:

+1
Robert


signature.asc
Description: This is a digitally signed message part


[VOTE] Apache Sling Launchpad Base 7.0.5-2.7.8

2023-07-21 Thread Carsten Ziegeler

Hi,

We solved 3 issues in this release:
https://issues.apache.org/jira/projects/SLING/versions/12353444

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

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 2773 /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.

Regards
Carsten
--
Carsten Ziegeler
Adobe
cziege...@apache.org


Problems when updating to later bundle-parents (50+)

2023-07-21 Thread Jörg Hoh
Hi,

I just found that the pax exam tests can break when you update to
bundle-parent 50 or higher. It seems that the minimal version of java 11 is
not handled properly.

See
https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/39

I created [1] for it.

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

-- 
Cheers,
Jörg Hoh,

https://cqdump.joerghoh.de
Twitter: @joerghoh


[jira] [Commented] (SLING-11979) update servlets-resolver to parent 52

2023-07-21 Thread Joerg Hoh (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745626#comment-17745626
 ] 

Joerg Hoh commented on SLING-11979:
---

PR: https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/39

> update servlets-resolver to parent 52
> -
>
> Key: SLING-11979
> URL: https://issues.apache.org/jira/browse/SLING-11979
> Project: Sling
>  Issue Type: Task
>  Components: Servlets
>Affects Versions: Servlets Resolver 2.9.12
>Reporter: Joerg Hoh
>Assignee: Joerg Hoh
>Priority: Major
> Fix For: Servlets Resolver 2.9.14
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-servlets-resolver] joerghoh opened a new pull request, #39: update to bundle-parent 52

2023-07-21 Thread via GitHub


joerghoh opened a new pull request, #39:
URL: https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/39

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (SLING-11981) Java 11a as minimal version causes pax-exam ITs to fail

2023-07-21 Thread Joerg Hoh (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh updated SLING-11981:
--
Description: 
While updating to the latest parent, I found pax exam-based integration tests 
to fail. 

{noformat}
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.107 s 
<<< FAILURE! - in org.apache.sling.servlets.resolver.it.ServletResourceIT
[ERROR] org.apache.sling.servlets.resolver.it.ServletResourceIT  Time elapsed: 
4.931 s  <<< ERROR!
org.ops4j.pax.exam.TestContainerException: There are unresolved bundles. See 
previous ERROR log messages for details.
{noformat}

{noformat:output of the IT}
ERROR: Bundle BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85] Error 
starting 
file:/home/joerg/repos/sling-git/sling-org-apache-sling-servlets-resolver/target/paxexam/ServletResourceIT/a882a707-4dfe-48d2-ba47-2b4175d777c3/pax-exam-downloads/BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar
 (org.osgi.framework.BundleException: Unable to resolve 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
[[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] osgi.ee; 
(osgi.ee=UNKNOWN)])
org.osgi.framework.BundleException: Unable to resolve 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
[[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] osgi.ee; 
(osgi.ee=UNKNOWN)]
at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
at java.base/java.lang.Thread.run(Thread.java:829)
{noformat}

{noformat:title=manifest of 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar}
[...]
Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compo
 nent)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(osgi.ee=
 UNKNOWN)"
Service-Component: OSGI-INF/org.apache.sling.servlets.resolver.it.Test
 ResourceProvider.xml,OSGI-INF/org.apache.sling.servlets.resolver.it.T
 estServiceUserValidator.xml
TinybundlesVersion: pax-tinybundles-3.0.0
Tool: Bnd-3.5.0.201709291849
{noformat}

I narrowed this down to the upgrade from bundle parent 49 to 50, and it is 
caused by the bump of the minimal java version to 11 (SLING-11979).

Because if I don't run with my java 11 default, but with
{noformat}
JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre mvn clean install 
-Dsling.java.version=8
{noformat}

the build runs fine (with parent 50).



 

  was:
While updating to the latest parent, I found that SLING-11558 is causing pax 
exam-based integration tests to fail. 

{noformat}
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.107 s 
<<< FAILURE! - in org.apache.sling.servlets.resolver.it.ServletResourceIT
[ERROR] org.apache.sling.servlets.resolver.it.ServletResourceIT  Time elapsed: 
4.931 s  <<< ERROR!
org.ops4j.pax.exam.TestContainerException: There are unresolved bundles. See 
previous ERROR log messages for details.
{noformat}

{noformat:output of the IT}
ERROR: Bundle BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85] Error 
starting 
file:/home/joerg/repos/sling-git/sling-org-apache-sling-servlets-resolver/target/paxexam/ServletResourceIT/a882a707-4dfe-48d2-ba47-2b4175d777c3/pax-exam-downloads/BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar
 (org.osgi.framework.BundleException: Unable to resolve 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
[[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] osgi.ee; 
(osgi.ee=UNKNOWN)])
org.osgi.framework.BundleException: Unable to resolve 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
[[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] osgi.ee; 
(osgi.ee=UNKNOWN)]
at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
at 

[jira] [Created] (SLING-11981) Java 11a as minimal version causes pax-exam ITs to fail

2023-07-21 Thread Joerg Hoh (Jira)
Joerg Hoh created SLING-11981:
-

 Summary: Java 11a as minimal version causes pax-exam ITs to fail
 Key: SLING-11981
 URL: https://issues.apache.org/jira/browse/SLING-11981
 Project: Sling
  Issue Type: Bug
Reporter: Joerg Hoh


While updating to the latest parent, I found that SLING-11558 is causing pax 
exam-based integration tests to fail. 

{noformat}
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.107 s 
<<< FAILURE! - in org.apache.sling.servlets.resolver.it.ServletResourceIT
[ERROR] org.apache.sling.servlets.resolver.it.ServletResourceIT  Time elapsed: 
4.931 s  <<< ERROR!
org.ops4j.pax.exam.TestContainerException: There are unresolved bundles. See 
previous ERROR log messages for details.
{noformat}

{noformat:output of the IT}
ERROR: Bundle BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85] Error 
starting 
file:/home/joerg/repos/sling-git/sling-org-apache-sling-servlets-resolver/target/paxexam/ServletResourceIT/a882a707-4dfe-48d2-ba47-2b4175d777c3/pax-exam-downloads/BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar
 (org.osgi.framework.BundleException: Unable to resolve 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
[[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] osgi.ee; 
(osgi.ee=UNKNOWN)])
org.osgi.framework.BundleException: Unable to resolve 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0): missing 
requirement [BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 
85.0)] osgi.ee; (osgi.ee=UNKNOWN) Unresolved requirements: 
[[BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603 [85](R 85.0)] osgi.ee; 
(osgi.ee=UNKNOWN)]
at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
at java.base/java.lang.Thread.run(Thread.java:829)
{noformat}

{noformat:title=manifest of 
BuildByTinyBundles5ef75f77-5f6a-4470-9801-53e7e0f77603_0.jar}
[...]
Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compo
 nent)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(osgi.ee=
 UNKNOWN)"
Service-Component: OSGI-INF/org.apache.sling.servlets.resolver.it.Test
 ResourceProvider.xml,OSGI-INF/org.apache.sling.servlets.resolver.it.T
 estServiceUserValidator.xml
TinybundlesVersion: pax-tinybundles-3.0.0
Tool: Bnd-3.5.0.201709291849
{noformat}

I narrowed this down to the upgrade from bundle parent 49 to 50, and it is 
caused by the bump of the minimal java version to 11 (SLING-11979).

Because if I don't run with my java 11 default, but with
{noformat}
JAVA_HOME=/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre mvn clean install 
-Dsling.java.version=8
{noformat}

the build runs fine (with parent 50).



 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-11980) log tracer relies on Guava (15)

2023-07-21 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745619#comment-17745619
 ] 

Julian Reschke commented on SLING-11980:


If we can't replace and don't want to embed, a potential improvement would be 
to relax the version range we can use.

> log tracer relies on Guava (15)
> ---
>
> Key: SLING-11980
> URL: https://issues.apache.org/jira/browse/SLING-11980
> Project: Sling
>  Issue Type: Improvement
>Affects Versions: Log Tracer 1.0.6
>Reporter: Julian Reschke
>Priority: Major
> Fix For: Log Tracer 1.0.8
>
>
> Log Traces has a hard dependency on Guava 15, which makes it hard to deploy 
> in environments with different Guava versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-11980) log tracer relies on Guava 15

2023-07-21 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745617#comment-17745617
 ] 

Julian Reschke commented on SLING-11980:


I hear you :-).

Replacing is a fine goal, but the Guava caches might make this tricky.

> log tracer relies on Guava 15
> -
>
> Key: SLING-11980
> URL: https://issues.apache.org/jira/browse/SLING-11980
> Project: Sling
>  Issue Type: Improvement
>Affects Versions: Log Tracer 1.0.6
>Reporter: Julian Reschke
>Priority: Major
> Fix For: Log Tracer 1.0.8
>
>
> Log Traces has a hard dependency on Guava 15, which makes it hard to deploy 
> in environments with different Guava versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-11980) log tracer relies on Guava (15)

2023-07-21 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated SLING-11980:
---
Summary: log tracer relies on Guava (15)  (was: log tracer relies on Guava 
15)

> log tracer relies on Guava (15)
> ---
>
> Key: SLING-11980
> URL: https://issues.apache.org/jira/browse/SLING-11980
> Project: Sling
>  Issue Type: Improvement
>Affects Versions: Log Tracer 1.0.6
>Reporter: Julian Reschke
>Priority: Major
> Fix For: Log Tracer 1.0.8
>
>
> Log Traces has a hard dependency on Guava 15, which makes it hard to deploy 
> in environments with different Guava versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-11980) log tracer relies on Guava 15

2023-07-21 Thread Robert Munteanu (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745614#comment-17745614
 ] 

Robert Munteanu commented on SLING-11980:
-

I would rename this issue to "Log tracer relies on Guava" because I consider 
that Sling modules should not depend on Guava. Guava is a fine library, but the 
way they do versioning is not OSGi friendly and we should not rely on it, 
allowing downstream consumers to ship whatever version of Guava they like.

> log tracer relies on Guava 15
> -
>
> Key: SLING-11980
> URL: https://issues.apache.org/jira/browse/SLING-11980
> Project: Sling
>  Issue Type: Improvement
>Affects Versions: Log Tracer 1.0.6
>Reporter: Julian Reschke
>Priority: Major
> Fix For: Log Tracer 1.0.8
>
>
> Log Traces has a hard dependency on Guava 15, which makes it hard to deploy 
> in environments with different Guava versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-11980) log tracer relies on Guava 15

2023-07-21 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745613#comment-17745613
 ] 

Julian Reschke commented on SLING-11980:


Note 


> log tracer relies on Guava 15
> -
>
> Key: SLING-11980
> URL: https://issues.apache.org/jira/browse/SLING-11980
> Project: Sling
>  Issue Type: Improvement
>Affects Versions: Log Tracer 1.0.6
>Reporter: Julian Reschke
>Priority: Major
> Fix For: Log Tracer 1.0.8
>
>
> Log Traces has a hard dependency on Guava 15, which makes it hard to deploy 
> in environments with different Guava versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-11980) log tracer relies on Guava 15

2023-07-21 Thread Julian Reschke (Jira)
Julian Reschke created SLING-11980:
--

 Summary: log tracer relies on Guava 15
 Key: SLING-11980
 URL: https://issues.apache.org/jira/browse/SLING-11980
 Project: Sling
  Issue Type: Improvement
Affects Versions: Log Tracer 1.0.6
Reporter: Julian Reschke
 Fix For: Log Tracer 1.0.8


Log Traces has a hard dependency on Guava 15, which makes it hard to deploy in 
environments with different Guava versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SLING-11975) org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it has malformed Zip64 extra fields

2023-07-21 Thread Robert Munteanu (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu resolved SLING-11975.
-
Resolution: Fixed

PR merged, thanks [~madamcin] for the contribution.

> org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it 
> has malformed Zip64 extra fields
> 
>
> Key: SLING-11975
> URL: https://issues.apache.org/jira/browse/SLING-11975
> Project: Sling
>  Issue Type: Bug
>  Components: Launchpad
>Affects Versions: Launchpad Base 2.7.6
>Reporter: Mark Adamcin
>Assignee: Mark Adamcin
>Priority: Critical
>  Labels: has-pr
> Fix For: Launchpad Base 2.7.8
>
>
> I ran into an error when trying to run AEM quickstart locally after upgrading 
> my jdk to 11.0.20 ([release 
> notes|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html]):
> {quote}core-libs/java.util.jar
> *[➜|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html#JDK-8302483]*
>  *Improved ZIP64 Extra Field Validation* (JDK-8302483 (not 
> public)){{{}java.util.zip.ZipFile{}}} has been updated to provide additional 
> validation of ZIP64 extra fields when opening a ZIP file. This validation may 
> be disabled by setting the system property 
> {{jdk.util.zip.disableZip64ExtraFieldValidation}} to {{{}true{}}}.{quote}
> it manifested for me as an exception in {{logs/stderr.log}} :
> {code:java}
> 20.07.2023 07:59:22.568 *ERROR* [main] Cannot launch: Cannot install 
> jar:file:/opt/code/aem/quickstart/target/author-54594/crx-quickstart/app/cq-quickstart-6.6.0-SNAPSHOT-standalone-quickstart.jar!/resources/org.apache.sling.launchpad.base.jar
>  for use
> 20.07.2023 07:59:22.568 *ERROR* [main] java.util.zip.ZipException: Invalid 
> CEN header (invalid zip64 extra data field size)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1736)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1254)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1701)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1430)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1393)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:742)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:257)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:186)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:348)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:319)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:285)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo.(FileBundleVersionInfo.java:40)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.base.shared.Loader.installLauncherJar(Loader.java:172)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:382)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:347)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:107)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:272)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.(Main.java:918)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.main(Main.java:980)
> MAIN process: shutdown hook
> MAIN process: exiting {code}
> This appears to be an issue with the org.apache.sling.launchpad.base 
> 7.0.3-2.7.6 

[GitHub] [sling-org-apache-sling-launchpad-base] rombert commented on pull request #13: SLING-11975 upgrade maven-bundle-plugin to 5.1.9

2023-07-21 Thread via GitHub


rombert commented on PR #13:
URL: 
https://github.com/apache/sling-org-apache-sling-launchpad-base/pull/13#issuecomment-1645612682

   Sounds good @adamcin . You know where to find us in case "next week, maybe" 
happens ;-)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-launchpad-base] sonarcloud[bot] commented on pull request #13: SLING-11975 upgrade maven-bundle-plugin to 5.1.9

2023-07-21 Thread via GitHub


sonarcloud[bot] commented on PR #13:
URL: 
https://github.com/apache/sling-org-apache-sling-launchpad-base/pull/13#issuecomment-1645580135

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-launchpad-base=13)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=13=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=13=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=13=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=13=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=13=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=13=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (SLING-11979) update servlets-resolver to parent 52

2023-07-21 Thread Joerg Hoh (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh reassigned SLING-11979:
-

Assignee: Joerg Hoh

> update servlets-resolver to parent 52
> -
>
> Key: SLING-11979
> URL: https://issues.apache.org/jira/browse/SLING-11979
> Project: Sling
>  Issue Type: Task
>  Components: Servlets
>Affects Versions: Servlets Resolver 2.9.12
>Reporter: Joerg Hoh
>Assignee: Joerg Hoh
>Priority: Major
> Fix For: Servlets Resolver 2.9.14
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-11979) update servlets-resolver to parent 52

2023-07-21 Thread Joerg Hoh (Jira)
Joerg Hoh created SLING-11979:
-

 Summary: update servlets-resolver to parent 52
 Key: SLING-11979
 URL: https://issues.apache.org/jira/browse/SLING-11979
 Project: Sling
  Issue Type: Task
  Components: Servlets
Affects Versions: Servlets Resolver 2.9.12
Reporter: Joerg Hoh
 Fix For: Servlets Resolver 2.9.14






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (SLING-11907) Update depends-maven-plugin to 1.5.0 (reproducible builds)

2023-07-21 Thread Konrad Windszus (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus closed SLING-11907.
---

> Update depends-maven-plugin to 1.5.0 (reproducible builds)
> --
>
> Key: SLING-11907
> URL: https://issues.apache.org/jira/browse/SLING-11907
> Project: Sling
>  Issue Type: Task
>Affects Versions: Parent 49
>Reporter: Joerg Hoh
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: Parent 52
>
>
> We should update the maven-depends-plugin to 1.5.0, as it will fix an issue 
> with reproducible builds.
> See SM-5021.
> Then we don't need workarounds on a bundle level anymore (like 
> https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/36)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (SLING-11966) Broken site descriptor

2023-07-21 Thread Konrad Windszus (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus closed SLING-11966.
---

> Broken site descriptor
> --
>
> Key: SLING-11966
> URL: https://issues.apache.org/jira/browse/SLING-11966
> Project: Sling
>  Issue Type: Bug
>  Components: General
>Affects Versions: Parent 50
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: Parent 52
>
>
> The XML in {{site.xml}} became non-well-formed after commit 
> https://github.com/apache/sling-parent/commit/17d84016a7f28821b452eb927906c1e660e6e130.
>  This leads to errors like this when building sites based on this descriptor
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on 
> project slingfeature-maven-plugin: SiteToolException: Error parsing site 
> descriptor: start tag unexpected character < (position: START_DOCUMENT seen 
> ...TION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd"\n<... 
> @23:6) -> [Help 1]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[RESULT] [VOTE] Apache Sling Parent & Bundle Parent 52

2023-07-21 Thread Konrad Windszus
Hi, The vote has passed with the following result : 

 +1 (binding): Stefan, Robert, Dan

I will copy this release to the Sling dist directory and promote the artifacts 
to the central Maven repository.
Thanks for voting,
Konrad

> On 18. Jul 2023, at 14:27, Konrad Windszus  wrote:
> 
> Hi, 
> We solved 2 issues in these releases: 
> 
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310710=12353412=Text
> 
> Staging repository: 
> https://repository.apache.org/content/repositories/orgapachesling-2769/ 
> 
> 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 2769 /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.
> Thanks in advance for voting,
> Konrad




[jira] [Resolved] (SLING-11558) [Performance] Remove resource -> path -> resource conversion

2023-07-21 Thread Joerg Hoh (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh resolved SLING-11558.
---
Resolution: Fixed

> [Performance] Remove resource -> path -> resource conversion
> 
>
> Key: SLING-11558
> URL: https://issues.apache.org/jira/browse/SLING-11558
> Project: Sling
>  Issue Type: Improvement
>  Components: Servlets
>Affects Versions: Servlets Resolver 2.9.8
>Reporter: Joerg Hoh
>Assignee: Joerg Hoh
>Priority: Major
> Fix For: Servlets Resolver 2.9.14
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently the 
> [ResourceCollector|https://github.com/apache/sling-org-apache-sling-servlets-resolver/blob/master/src/main/java/org/apache/sling/servlets/resolver/internal/helper/ResourceCollector.java]
>  uses the 
> [LocationIterator|https://github.com/apache/sling-org-apache-sling-servlets-resolver/blob/master/src/main/java/org/apache/sling/servlets/resolver/internal/helper/LocationIterator.java]
>  to build a list of possible locations where the script for a resource type 
> can be located.
> The interface is based on Strings (representing a repository path), although 
> both within the LocationIterator and in the ResourceCollector Resources are 
> used.
> * The mapping of a path to a string requires a repository access, thus 
> accessing the repo twice (checking in the LocationIterator if a resource 
> exists at a certain path, plus conversion of that path again into a resource 
> in the ResourceCollector) is redundant. Instead the LocationIterator should 
> just return resources instead of the paths to resources.
> * The LocationIterator implements the {{Iterator}} interface, although it is 
> only used in the ResourceCollector, which just iterates over all entries in a 
> single loop. The LocationIterator could just return a collection of Resources 
> (not implementing the Iterator interface), which makes the logic in this 
> class much cleaner.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-launchpad-base] sonarcloud[bot] commented on pull request #6: Strings and Boxed types should be compared using "equals()"

2023-07-21 Thread via GitHub


sonarcloud[bot] commented on PR #6:
URL: 
https://github.com/apache/sling-org-apache-sling-launchpad-base/pull/6#issuecomment-1645507804

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-launchpad-base=6)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=6=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=6=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=6=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=6=false=CODE_SMELL)
   
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=6=new_coverage=list)
 [0.0% 
Coverage](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=6=new_coverage=list)
  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=6=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=6=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-launchpad-base] sonarcloud[bot] commented on pull request #13: SLING-11975 upgrade maven-bundle-plugin to 5.1.9

2023-07-21 Thread via GitHub


sonarcloud[bot] commented on PR #13:
URL: 
https://github.com/apache/sling-org-apache-sling-launchpad-base/pull/13#issuecomment-1645507421

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-launchpad-base=13)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=13=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=13=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-launchpad-base=13=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-launchpad-base=13=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=13=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=13=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-launchpad-base=13=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Resolved] (SLING-11845) ResourceResolver.getSearchPaths() javadoc does not match implementation

2023-07-21 Thread Joerg Hoh (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh resolved SLING-11845.
---
Resolution: Fixed

> ResourceResolver.getSearchPaths() javadoc does not match implementation
> ---
>
> Key: SLING-11845
> URL: https://issues.apache.org/jira/browse/SLING-11845
> Project: Sling
>  Issue Type: Improvement
>  Components: API
>Affects Versions: API 2.27.2
>Reporter: Joerg Hoh
>Assignee: Joerg Hoh
>Priority: Major
>
> The [javadoc for 
> ResourceResolver.getSearchPaths()|https://sling.apache.org/apidocs/sling12/org/apache/sling/api/resource/ResourceResolver.html#getSearchPath--]
>  states:
> {quote}If no search path is set an empty array is returned.
> {quote}
> But the current implementation returns an array with a single value "/" in it 
> if no search path is specified 
> ([Link|https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/46f67c7cff13071d96cf58dde86730b6ffbb2639/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java#L307]).
> I recommend to adjust the javadoc to match the implementation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-11845) ResourceResolver.getSearchPaths() javadoc does not match implementation

2023-07-21 Thread Joerg Hoh (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh updated SLING-11845:
--
Fix Version/s: API 2.27.4

> ResourceResolver.getSearchPaths() javadoc does not match implementation
> ---
>
> Key: SLING-11845
> URL: https://issues.apache.org/jira/browse/SLING-11845
> Project: Sling
>  Issue Type: Improvement
>  Components: API
>Affects Versions: API 2.27.2
>Reporter: Joerg Hoh
>Assignee: Joerg Hoh
>Priority: Major
> Fix For: API 2.27.4
>
>
> The [javadoc for 
> ResourceResolver.getSearchPaths()|https://sling.apache.org/apidocs/sling12/org/apache/sling/api/resource/ResourceResolver.html#getSearchPath--]
>  states:
> {quote}If no search path is set an empty array is returned.
> {quote}
> But the current implementation returns an array with a single value "/" in it 
> if no search path is specified 
> ([Link|https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/46f67c7cff13071d96cf58dde86730b6ffbb2639/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java#L307]).
> I recommend to adjust the javadoc to match the implementation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-api] sonarcloud[bot] commented on pull request #47: SLING-11845 specify / as the default value for the search path

2023-07-21 Thread via GitHub


sonarcloud[bot] commented on PR #47:
URL: 
https://github.com/apache/sling-org-apache-sling-api/pull/47#issuecomment-1645502106

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-api=47)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=47=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=47=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=47=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=47=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=47=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=47=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=47=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (SLING-11845) ResourceResolver.getSearchPaths() javadoc does not match implementation

2023-07-21 Thread Joerg Hoh (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh reassigned SLING-11845:
-

Assignee: Joerg Hoh

> ResourceResolver.getSearchPaths() javadoc does not match implementation
> ---
>
> Key: SLING-11845
> URL: https://issues.apache.org/jira/browse/SLING-11845
> Project: Sling
>  Issue Type: Improvement
>  Components: API
>Affects Versions: API 2.27.2
>Reporter: Joerg Hoh
>Assignee: Joerg Hoh
>Priority: Major
>
> The [javadoc for 
> ResourceResolver.getSearchPaths()|https://sling.apache.org/apidocs/sling12/org/apache/sling/api/resource/ResourceResolver.html#getSearchPath--]
>  states:
> {quote}If no search path is set an empty array is returned.
> {quote}
> But the current implementation returns an array with a single value "/" in it 
> if no search path is specified 
> ([Link|https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/46f67c7cff13071d96cf58dde86730b6ffbb2639/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java#L307]).
> I recommend to adjust the javadoc to match the implementation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SLING-11978) IllegalStateException on shutdown

2023-07-21 Thread Carsten Ziegeler (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-11978.
--
Resolution: Fixed

https://github.com/apache/sling-org-apache-sling-resourcemerger/commit/c19bd557f3aaa7ead8b4ccf7c71b12b3288b7e3d

> IllegalStateException on shutdown
> -
>
> Key: SLING-11978
> URL: https://issues.apache.org/jira/browse/SLING-11978
> Project: Sling
>  Issue Type: Bug
>  Components: ResourceResolver
>Affects Versions: Resource Merger 1.4.2
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Resource Merger 1.4.4
>
>
> The whiteboard might throw an IllegalStateException on shutdown:
> {noformat}
> 21.07.2023 13:47:26.599 *ERROR* [FelixLogListener] 
> org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard bundle 
> org.apache.sling.resourcemerger:1.4.2 
> (567)[org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard(3441)]
>  : The unbindMergedResourcePicker2 method has thrown an exception 
> (java.lang.IllegalStateException: Service already unregistered.)
> java.lang.IllegalStateException: Service already unregistered.
> at 
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:142)
> at 
> org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard.unregisterMergingResourceProvider(MergedResourcePickerWhiteboard.java:110)
>  [org.apache.sling.resourcemerger:1.4.2]
> at 
> org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard.unbindMergedResourcePicker2(MergedResourcePickerWhiteboard.java:81)
>  [org.apache.sling.resourcemerger:1.4.2]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-servlets-post] joerghoh commented on a diff in pull request #22: SLING-11971 Adding additional logging for sling post processors

2023-07-21 Thread via GitHub


joerghoh commented on code in PR #22:
URL: 
https://github.com/apache/sling-org-apache-sling-servlets-post/pull/22#discussion_r1270604051


##
src/main/java/org/apache/sling/servlets/post/impl/operations/ModifyOperation.java:
##
@@ -70,31 +76,54 @@ public void setDateParser(final DateParser dateParser) {
 
 @Override
 protected void doRun(final SlingHttpServletRequest request,
-final PostResponse response,
-final List changes)
-throws PersistenceException {
+final PostResponse response,
+final List changes)
+throws PersistenceException {
 final Map reqProperties = 
collectContent(request, response);
 
 final VersioningConfiguration versioningConfiguration = 
getVersioningConfiguration(request);
 
 // do not change order unless you have a very good reason.
+Instant start = Instant.now();
 
 // ensure root of new content
 processCreate(request.getResourceResolver(), reqProperties, response, 
changes, versioningConfiguration);
+logger.debug("Performed create at {} path took {} ms to operate", 
request.getRequestURI(),

Review Comment:
   I don't think that it is necessary to consistently add the value of 
``request.getRequestURI()`` to the message. This information is always part of 
the context of the RequestProgressTracker, and also it won't change while 
execution it, it's static.
   On top of that, ``Performed create at``  could be understood that a create 
is executed at this path, and this is not consistently true, as other resources 
could be affected, too (for example sub-resources).
   
   I would just remove this part of the log.



##
src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java:
##
@@ -167,13 +176,15 @@ public void run(final SlingHttpServletRequest request,
 
 if (isSessionSaveRequired(session, request)) {
 request.getResourceResolver().commit();
+log.debug("Saved the session");
 }
 
 if (!isSkipCheckin(request)) {
 // now do the checkins
 for(String checkinPath : nodesToCheckin) {
 if (checkin(request.getResourceResolver(), checkinPath)) {
 response.onChange("checkin", checkinPath);
+log.debug("Checked in the node");

Review Comment:
   same as above



##
src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java:
##
@@ -167,13 +176,15 @@ public void run(final SlingHttpServletRequest request,
 
 if (isSessionSaveRequired(session, request)) {
 request.getResourceResolver().commit();
+log.debug("Saved the session");

Review Comment:
   same as above



##
src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java:
##
@@ -127,6 +135,7 @@ public void run(final SlingHttpServletRequest request,
 }
 
 // fail if any of the base paths (before the postfix) which had a 
postfix are contained in the modification set
+log.debug("Fail if any of the base paths (before the postfix) 
which had a postfix are contained in the modification set");

Review Comment:
   What is the purpose of this statement? Is it just for the purpose of having 
a timestamp (assuming the log is properly configured to write mili/micro-second 
level timestamps)?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-api] sonarcloud[bot] commented on pull request #40: SLING-11067 extend URIProvider by method returning Optional

2023-07-21 Thread via GitHub


sonarcloud[bot] commented on PR #40:
URL: 
https://github.com/apache/sling-org-apache-sling-api/pull/40#issuecomment-1645485581

   SonarCloud Quality Gate failed.  [![Quality Gate 
failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png
 'Quality Gate 
failed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-api=40)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=40=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=40=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=40=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=CODE_SMELL)
 [2 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=40=false=CODE_SMELL)
   
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=40=new_coverage=list)
 [0.0% 
Coverage](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=40=new_coverage=list)
  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=40=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=40=new_duplicated_lines_density=list)
   
   
   
   
![idea](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/light_bulb-16px.png
 'idea') Catch issues before they fail your Quality Gate with our IDE extension 
![sonarlint](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/sonarlint-16px.png
 'sonarlint') 
[SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=sonarcloud-welcome)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-api] sonarcloud[bot] commented on pull request #49: SLING-11546: Edited calendar toString method so it explicitly adds th…

2023-07-21 Thread via GitHub


sonarcloud[bot] commented on PR #49:
URL: 
https://github.com/apache/sling-org-apache-sling-api/pull/49#issuecomment-1645485535

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-api=49)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=49=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=49=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-api=49=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-api=49=false=CODE_SMELL)
   
   
[![100.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/100-16px.png
 
'100.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=49=new_coverage=list)
 [100.0% 
Coverage](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=49=new_coverage=list)
  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=49=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-api=49=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (SLING-11978) IllegalStateException on shutdown

2023-07-21 Thread Carsten Ziegeler (Jira)
Carsten Ziegeler created SLING-11978:


 Summary: IllegalStateException on shutdown
 Key: SLING-11978
 URL: https://issues.apache.org/jira/browse/SLING-11978
 Project: Sling
  Issue Type: Bug
  Components: ResourceResolver
Affects Versions: Resource Merger 1.4.2
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: Resource Merger 1.4.4


The whiteboard might throw an IllegalStateException on shutdown:
{noformat}
21.07.2023 13:47:26.599 *ERROR* [FelixLogListener] 
org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard bundle 
org.apache.sling.resourcemerger:1.4.2 
(567)[org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard(3441)]
 : The unbindMergedResourcePicker2 method has thrown an exception 
(java.lang.IllegalStateException: Service already unregistered.)
java.lang.IllegalStateException: Service already unregistered.
at 
org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:142)
at 
org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard.unregisterMergingResourceProvider(MergedResourcePickerWhiteboard.java:110)
 [org.apache.sling.resourcemerger:1.4.2]
at 
org.apache.sling.resourcemerger.impl.MergedResourcePickerWhiteboard.unbindMergedResourcePicker2(MergedResourcePickerWhiteboard.java:81)
 [org.apache.sling.resourcemerger:1.4.2]
{noformat}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-servlets-resolver] joerghoh commented on pull request #36: workaround RB issue from depends-maven-plugin

2023-07-21 Thread via GitHub


joerghoh commented on PR #36:
URL: 
https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/36#issuecomment-1645471094

   thanks @hboutemy , we included it into SLING parent 52 (SLING-11907).  I 
will update this bundle as soon as this version is released.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-servlets-resolver] joerghoh merged pull request #37: SLING-11558 cache already resolved resources

2023-07-21 Thread via GitHub


joerghoh merged PR #37:
URL: https://github.com/apache/sling-org-apache-sling-servlets-resolver/pull/37


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[Jenkins] Sling » Modules » sling-org-apache-sling-starter » master #929 is BROKEN

2023-07-21 Thread Apache Jenkins Server
Please see 
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/master/929/
 for details.

No further emails will be sent until the status of the build is changed.
Build log follows below:

[...truncated 14417 lines...]
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:348)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.

Please refer to 
/home/jenkins/jenkins-agent/workspace/_org-apache-sling-starter_master/jdk_17_latest/target/failsafe-reports
 for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump 
and [date].dumpstream.
at org.apache.maven.plugin.surefire.SurefireHelper.throwException 
(SurefireHelper.java:271)
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution 
(SurefireHelper.java:159)
at org.apache.maven.plugin.failsafe.VerifyMojo.execute (VerifyMojo.java:192)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:73)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:348)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[Pipeline] }
[withMaven] Jenkins FindBugs Plugin not found, don't display 
org.codehaus.mojo:findbugs-maven-plugin:findbugs results in pipeline screen.
[withMaven] jgivenPublisher - Jenkins JGiven Plugin not found, do not archive 
jgiven reports.
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.742 s 
- in org.apache.sling.launchpad.SmokeIT
[INFO] Running 
org.apache.sling.launchpad.webapp.integrationtest.servlets.resolution.ExtensionServletTest
Checking if the 

[GitHub] [sling-org-apache-sling-launchpad-base] rombert commented on pull request #13: SLING-11975 upgrade maven-bundle-plugin to 5.1.9

2023-07-21 Thread via GitHub


rombert commented on PR #13:
URL: 
https://github.com/apache/sling-org-apache-sling-launchpad-base/pull/13#issuecomment-1645299202

   > Although this would requires some more changes, I would prefer migrating 
to bnd-maven-plugin.
   
   If @adamcin is willing to take this on, sure. But I wouldn't block merging 
this PR if he chooses not to do so.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [VOTE] Release Apache Sling GraphQL Core 0.0.22

2023-07-21 Thread Robert Munteanu
On Thu, 2023-07-20 at 07:49 +, Radu Cotescu wrote:
> Please vote to approve this release:

+1

(but build fails on Java 17)

Thanks,
Robert


signature.asc
Description: This is a digitally signed message part


[GitHub] [sling-org-apache-sling-launchpad-base] rombert commented on pull request #13: SLING-11975 upgrade maven-bundle-plugin to 5.1.9

2023-07-21 Thread via GitHub


rombert commented on PR #13:
URL: 
https://github.com/apache/sling-org-apache-sling-launchpad-base/pull/13#issuecomment-1645202050

   @adamcin - I see that @cziegeler has already fixed the project to build on 
Java 11, can you please rebase your PR? Note that we use the following Java 
version for building, not sure when we'll get to 11.0.20. But the PR can't hurt 
:-)
   
   ```
   Java version: 11.0.16.1, vendor: Eclipse Adoptium, runtime: 
/usr/local/asfpackages/java/adoptium-jdk-11.0.16.1+1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (SLING-11975) org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it has malformed Zip64 extra fields

2023-07-21 Thread Robert Munteanu (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu reassigned SLING-11975:
---

Assignee: Mark Adamcin

> org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it 
> has malformed Zip64 extra fields
> 
>
> Key: SLING-11975
> URL: https://issues.apache.org/jira/browse/SLING-11975
> Project: Sling
>  Issue Type: Bug
>  Components: Launchpad
>Affects Versions: Launchpad Base 2.7.6
>Reporter: Mark Adamcin
>Assignee: Mark Adamcin
>Priority: Critical
>  Labels: has-pr
> Fix For: Launchpad Base 2.7.8
>
>
> I ran into an error when trying to run AEM quickstart locally after upgrading 
> my jdk to 11.0.20 ([release 
> notes|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html]):
> {quote}core-libs/java.util.jar
> *[➜|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html#JDK-8302483]*
>  *Improved ZIP64 Extra Field Validation* (JDK-8302483 (not 
> public)){{{}java.util.zip.ZipFile{}}} has been updated to provide additional 
> validation of ZIP64 extra fields when opening a ZIP file. This validation may 
> be disabled by setting the system property 
> {{jdk.util.zip.disableZip64ExtraFieldValidation}} to {{{}true{}}}.{quote}
> it manifested for me as an exception in {{logs/stderr.log}} :
> {code:java}
> 20.07.2023 07:59:22.568 *ERROR* [main] Cannot launch: Cannot install 
> jar:file:/opt/code/aem/quickstart/target/author-54594/crx-quickstart/app/cq-quickstart-6.6.0-SNAPSHOT-standalone-quickstart.jar!/resources/org.apache.sling.launchpad.base.jar
>  for use
> 20.07.2023 07:59:22.568 *ERROR* [main] java.util.zip.ZipException: Invalid 
> CEN header (invalid zip64 extra data field size)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1736)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1254)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1701)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1430)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1393)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:742)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:257)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:186)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:348)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:319)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:285)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo.(FileBundleVersionInfo.java:40)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.base.shared.Loader.installLauncherJar(Loader.java:172)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:382)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:347)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:107)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:272)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.(Main.java:918)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.main(Main.java:980)
> MAIN process: shutdown hook
> MAIN process: exiting {code}
> This appears to be an issue with the org.apache.sling.launchpad.base 
> 7.0.3-2.7.6 jar specifically:
> {code:java}
> $ jar -tf 

[jira] [Updated] (SLING-11975) org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it has malformed Zip64 extra fields

2023-07-21 Thread Robert Munteanu (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu updated SLING-11975:

Fix Version/s: Launchpad Base 2.7.8

> org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it 
> has malformed Zip64 extra fields
> 
>
> Key: SLING-11975
> URL: https://issues.apache.org/jira/browse/SLING-11975
> Project: Sling
>  Issue Type: Bug
>  Components: Launchpad
>Affects Versions: Launchpad Base 2.7.6
>Reporter: Mark Adamcin
>Priority: Critical
>  Labels: has-pr
> Fix For: Launchpad Base 2.7.8
>
>
> I ran into an error when trying to run AEM quickstart locally after upgrading 
> my jdk to 11.0.20 ([release 
> notes|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html]):
> {quote}core-libs/java.util.jar
> *[➜|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html#JDK-8302483]*
>  *Improved ZIP64 Extra Field Validation* (JDK-8302483 (not 
> public)){{{}java.util.zip.ZipFile{}}} has been updated to provide additional 
> validation of ZIP64 extra fields when opening a ZIP file. This validation may 
> be disabled by setting the system property 
> {{jdk.util.zip.disableZip64ExtraFieldValidation}} to {{{}true{}}}.{quote}
> it manifested for me as an exception in {{logs/stderr.log}} :
> {code:java}
> 20.07.2023 07:59:22.568 *ERROR* [main] Cannot launch: Cannot install 
> jar:file:/opt/code/aem/quickstart/target/author-54594/crx-quickstart/app/cq-quickstart-6.6.0-SNAPSHOT-standalone-quickstart.jar!/resources/org.apache.sling.launchpad.base.jar
>  for use
> 20.07.2023 07:59:22.568 *ERROR* [main] java.util.zip.ZipException: Invalid 
> CEN header (invalid zip64 extra data field size)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1736)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1254)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1701)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1430)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1393)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:742)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:257)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:186)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:348)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:319)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:285)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo.(FileBundleVersionInfo.java:40)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.base.shared.Loader.installLauncherJar(Loader.java:172)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:382)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:347)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:107)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:272)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.(Main.java:918)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.main(Main.java:980)
> MAIN process: shutdown hook
> MAIN process: exiting {code}
> This appears to be an issue with the org.apache.sling.launchpad.base 
> 7.0.3-2.7.6 jar specifically:
> {code:java}
> $ jar -tf 
> 

[jira] [Commented] (SLING-11975) org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it has malformed Zip64 extra fields

2023-07-21 Thread Carsten Ziegeler (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745458#comment-17745458
 ] 

Carsten Ziegeler commented on SLING-11975:
--

jdk to 11.0.20  is currently not available for my system

> org.apache.sling.launchpad.base.jar fails to load on jdk 11.0.20 because it 
> has malformed Zip64 extra fields
> 
>
> Key: SLING-11975
> URL: https://issues.apache.org/jira/browse/SLING-11975
> Project: Sling
>  Issue Type: Bug
>  Components: Launchpad
>Affects Versions: Launchpad Base 2.7.6
>Reporter: Mark Adamcin
>Priority: Critical
>  Labels: has-pr
>
> I ran into an error when trying to run AEM quickstart locally after upgrading 
> my jdk to 11.0.20 ([release 
> notes|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html]):
> {quote}core-libs/java.util.jar
> *[➜|https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html#JDK-8302483]*
>  *Improved ZIP64 Extra Field Validation* (JDK-8302483 (not 
> public)){{{}java.util.zip.ZipFile{}}} has been updated to provide additional 
> validation of ZIP64 extra fields when opening a ZIP file. This validation may 
> be disabled by setting the system property 
> {{jdk.util.zip.disableZip64ExtraFieldValidation}} to {{{}true{}}}.{quote}
> it manifested for me as an exception in {{logs/stderr.log}} :
> {code:java}
> 20.07.2023 07:59:22.568 *ERROR* [main] Cannot launch: Cannot install 
> jar:file:/opt/code/aem/quickstart/target/author-54594/crx-quickstart/app/cq-quickstart-6.6.0-SNAPSHOT-standalone-quickstart.jar!/resources/org.apache.sling.launchpad.base.jar
>  for use
> 20.07.2023 07:59:22.568 *ERROR* [main] java.util.zip.ZipException: Invalid 
> CEN header (invalid zip64 extra data field size)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1736)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1254)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1701)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1430)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1393)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:742)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:257)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.zip.ZipFile.(ZipFile.java:186)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:348)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:319)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.util.jar.JarFile.(JarFile.java:285)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo.(FileBundleVersionInfo.java:40)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.base.shared.Loader.installLauncherJar(Loader.java:172)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:382)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> org.apache.sling.launchpad.app.Main.doStart(Main.java:347)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.exec.Bootstrap.run(Bootstrap.java:107)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Quickstart.run(Quickstart.java:272)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.(Main.java:918)
> 20.07.2023 07:59:22.568 *ERROR* [main]  at 
> com.adobe.granite.quickstart.base.impl.Main.main(Main.java:980)
> MAIN process: shutdown hook
> MAIN process: exiting {code}
> This appears to be an issue with the org.apache.sling.launchpad.base 
> 7.0.3-2.7.6 jar specifically:
> {code:java}
> $ jar -tf 
> 

[jira] [Resolved] (SLING-11977) Update to Apache Felix Framework 7.0.5

2023-07-21 Thread Carsten Ziegeler (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-11977.
--
Resolution: Fixed

https://github.com/apache/sling-org-apache-sling-launchpad-base/commit/4846155b739410f81f493765bfe63f937d7375b6

> Update to Apache Felix Framework 7.0.5
> --
>
> Key: SLING-11977
> URL: https://issues.apache.org/jira/browse/SLING-11977
> Project: Sling
>  Issue Type: Improvement
>  Components: Launchpad
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Launchpad Base 2.7.8
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SLING-11976) Update to parent 51 and make build work with Java 11

2023-07-21 Thread Carsten Ziegeler (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-11976.
--
Resolution: Fixed

Updated parent pom, switched all tests to mockito, changed getting of url for a 
class
https://github.com/apache/sling-org-apache-sling-launchpad-base/commit/f6b6cd5d73f8e0b5427152e15333f764215f56b3

> Update to parent 51 and make build work with Java 11
> 
>
> Key: SLING-11976
> URL: https://issues.apache.org/jira/browse/SLING-11976
> Project: Sling
>  Issue Type: Improvement
>  Components: Launchpad
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Launchpad Base 2.7.8
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-11977) Update to Apache Felix Framework 7.0.5

2023-07-21 Thread Carsten Ziegeler (Jira)
Carsten Ziegeler created SLING-11977:


 Summary: Update to Apache Felix Framework 7.0.5
 Key: SLING-11977
 URL: https://issues.apache.org/jira/browse/SLING-11977
 Project: Sling
  Issue Type: Improvement
  Components: Launchpad
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: Launchpad Base 2.7.8






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-11976) Update to parent 51 and make build work with Java 11

2023-07-21 Thread Carsten Ziegeler (Jira)
Carsten Ziegeler created SLING-11976:


 Summary: Update to parent 51 and make build work with Java 11
 Key: SLING-11976
 URL: https://issues.apache.org/jira/browse/SLING-11976
 Project: Sling
  Issue Type: Improvement
  Components: Launchpad
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: Launchpad Base 2.7.8






--
This message was sent by Atlassian Jira
(v8.20.10#820010)