You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2022/08/12 15:51:00 UTC

[jira] [Created] (SLING-11539) update-local-site fails on arm64v8 with Java 17

Radu Cotescu created SLING-11539:
------------------------------------

             Summary: update-local-site fails on arm64v8 with Java 17
                 Key: SLING-11539
                 URL: https://issues.apache.org/jira/browse/SLING-11539
             Project: Sling
          Issue Type: Bug
          Components: Tooling
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: Committer CLI 1.0.0


The following error was encountered when running the Docker image on an M1 Pro MacBook Pro:
{noformat}
docker run --rm -it --env-file=./docker-env apache/sling-cli release update-local-site -r 2662
org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:260)
	at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:302)
	at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:200)
	at org.apache.sling.cli.impl.release.UpdateLocalSiteCommand.ensureRepo(UpdateLocalSiteCommand.java:102)
	at org.apache.sling.cli.impl.release.UpdateLocalSiteCommand.call(UpdateLocalSiteCommand.java:67)
	at org.apache.sling.cli.impl.release.UpdateLocalSiteCommand.call(UpdateLocalSiteCommand.java:41)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1701)
	at picocli.CommandLine.access$900(CommandLine.java:146)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2059)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2026)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1893)
	at picocli.CommandLine.execute(CommandLine.java:1822)
	at org.apache.sling.cli.impl.CommandProcessor.runCommand(CommandProcessor.java:110)
	at org.apache.sling.cli.impl.ExecutionTrigger.lambda$activate$0(ExecutionTrigger.java:33)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.jgit.errors.NotSupportedException: Invalid URL https://github.com/apache/sling-site.git
	at org.eclipse.jgit.transport.TransportHttp.setURI(TransportHttp.java:308)
	at org.eclipse.jgit.transport.TransportHttp.<init>(TransportHttp.java:280)
	at org.eclipse.jgit.transport.TransportHttp$1.open(TransportHttp.java:208)
	at org.eclipse.jgit.transport.Transport.open(Transport.java:553)
	at org.eclipse.jgit.transport.Transport.open(Transport.java:429)
	at org.eclipse.jgit.transport.Transport.open(Transport.java:308)
	at org.eclipse.jgit.transport.Transport.open(Transport.java:277)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:235)
	... 14 more
Caused by: java.net.MalformedURLException: Unknown protocol: https
	at java.base/java.net.URL.<init>(Unknown Source)
	at java.base/java.net.URL.<init>(Unknown Source)
	at java.base/java.net.URL.<init>(Unknown Source)
	at org.eclipse.jgit.transport.TransportHttp.toURL(TransportHttp.java:291)
	at org.eclipse.jgit.transport.TransportHttp.setURI(TransportHttp.java:305)
	... 21 more
Caused by: java.lang.IllegalStateException: Unknown protocol: https
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)
	... 26 more
{noformat}



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