scireum/s3ninja

no !/ found in url spec:file:/home/sirius/lib/sirius-web-dev-35.0.0.jar!/component.marker

dribeiro09 opened this issue · 4 comments

Hi,
I have just installed and ran s3 ninja as per instructions but the interface loads partially and at the same time i get this error in terminal:

SEVERE  [classpath - Classpath.java:132] java.net.MalformedURLException: no !/ found in url spec:file:/home/sirius/lib/sirius-web-dev-35.0.0.jar!/component.markerjava.net.MalformedURLException: no !/ found in url spec:file:/home/sirius/lib/sirius-web-dev-35.0.0.jar!/component.marker
	at java.base/java.net.JarURLConnection.parseSpecs(JarURLConnection.java:172)
	at java.base/java.net.JarURLConnection.<init>(JarURLConnection.java:158)
	at java.base/sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:81)
	at java.base/sun.net.www.protocol.jar.Handler.openConnection(Handler.java:41)
	at java.base/java.net.URL.openConnection(URL.java:1126)
	at sirius.kernel.Classpath.scan(Classpath.java:125)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at sirius.pasta.tagliatelle.Tagliatelle.getTagLibTags(Tagliatelle.java:82)
	at sirius.pasta.tagliatelle.Tagliatelle.isTaglib(Tagliatelle.java:167)
	at sirius.pasta.tagliatelle.compiler.TemplateCompilationContext.findTagHandler(TemplateCompilationContext.java:117)
	at sirius.pasta.tagliatelle.compiler.TemplateCompiler.processTag(TemplateCompiler.java:252)
	at sirius.pasta.tagliatelle.compiler.TemplateCompiler.parseBlock(TemplateCompiler.java:145)
	at sirius.pasta.tagliatelle.compiler.TemplateCompiler.compile(TemplateCompiler.java:81)
	at sirius.pasta.tagliatelle.Tagliatelle.compileTemplate(Tagliatelle.java:320)
	at sirius.pasta.tagliatelle.Tagliatelle.resolve(Tagliatelle.java:252)
	at sirius.pasta.tagliatelle.Tagliatelle.resolve(Tagliatelle.java:219)
	at sirius.web.http.Response.template(Response.java:1180)
	at sirius.web.http.Response.template(Response.java:1163)
	at ninja.NinjaController.buckets(NinjaController.java:124)
	at ninja.NinjaController.index(NinjaController.java:88)
	at sirius.web.controller.Route.invoke(Route.java:381)
	at sirius.web.controller.ControllerDispatcher.executeRoute(ControllerDispatcher.java:209)
	at sirius.web.controller.ControllerDispatcher.performRoute(ControllerDispatcher.java:190)
	at sirius.web.controller.ControllerDispatcher.preparePerformRoute(ControllerDispatcher.java:149)
	at sirius.web.controller.ControllerDispatcher.dispatch(ControllerDispatcher.java:163)
	at sirius.web.http.DispatcherPipeline.dispatch(DispatcherPipeline.java:80)
	at sirius.web.http.DispatcherPipeline.lambda$dispatch$1(DispatcherPipeline.java:65)
	at sirius.kernel.async.ExecutionBuilder$TaskWrapper.run(ExecutionBuilder.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:831)

Running on a Macbook Air M1 with the latest OS update. The interface shows up like this:

Screenshot 2021-07-19 at 11 33 43

Any idea of what might be happening ?

Hi @dribeiro09 👋 Thanks for reporting this. Can you please clarify? Do you run a Docker container? Do you run the server app on it own?

Yes, im running a docker container.
I had to pull version 7.1.1 instead of latest ( i don't think there is a version tagged as 'latest'). Then just run docker run -p 9444:9000 scireum/s3-ninja:7.1.1.

Hello @dribeiro09! Thanks for your clarifications. Please excuse my delayed reaction. First of all, we now have a latest version. This was fixed today in #176, thanks to your input (and #175). Furthermore, I tried to run the container myself, and it works fine on an Intel Mac. Unfortunately, I do not have access to a M1 Mac at the present time. So, if there are issues on such a setup, it may have to do with the M1 Docker implementation. I am sorry that I can not provide a more helpful answer, due to the lack of the respective hardware. Have you tried to run the container on an Intel platform? If so, successfully?

(Closing this as the error can not be reproduced at this time. M1 hardware is not available here.)