karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5694) strip url to ensure it's a valid one which could download
Date Tue, 10 Apr 2018 02:23:00 GMT
Freeman Fang created KARAF-5694:

             Summary: strip url to ensure it's a valid one which could download
                 Key: KARAF-5694
                 URL: https://issues.apache.org/jira/browse/KARAF-5694
             Project: Karaf
          Issue Type: Bug
            Reporter: Freeman Fang

For example, if we configuration
in karaf-maven-plugin which have start-level for a bundle, then we have error like
Caused by: java.io.FileNotFoundException: ....../1.0-SNAPSHOT/camel-websocket-1.0-SNAPSHOT.jar;start-level=80
(No such file or directory)
		at java.io.FileInputStream.open0(Native Method) ~[?:?]
		at java.io.FileInputStream.open(FileInputStream.java:195) ~[?:?]
		at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:?]
		at java.io.FileInputStream.<init>(FileInputStream.java:93) ~[?:?]
		at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) ~[?:?]
		at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
		at java.net.URL.openStream(URL.java:1045) ~[?:?]
		at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:76)
		at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60)
we need strip unnecessary part in the url before open the stream

This message was sent by Atlassian JIRA

View raw message