You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2018. It is now read-only.
com.sun.ws.rest.impl.container.config.AnnotatedClassScanner fails whenresource
and provider classes are loaded via an URLClassLoader with whitespace characters
in the URLs.
Snipped trace:
java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at
com.sun.ws.rest.impl.container.config.AnnotatedClassScanner.index(AnnotatedClassScanner.java:204)
at
com.sun.ws.rest.impl.container.config.AnnotatedClassScanner.scan(AnnotatedClassScanner.java:113)
at
com.sun.ws.rest.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:90)
Caused by: java.net.URISyntaxException: Illegal character in path at index 28:
file:/C:/work/workspace/Mule 1.4.3
eval/lib/mule-rest-demo.jar!/com/censored/mule/demo/rest
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
Line 205 of AnnotatedClassScanner (revision 867) reads:
URI jarUri = URI.create(u.getSchemeSpecificPart());
Which fails as escaped characters are decoded. Should probably be:
URI jarUri = URI.create(u.getRawSchemeSpecificPart());
Environment
Operating System: All
Platform: All
The text was updated successfully, but these errors were encountered:
com.sun.ws.rest.impl.container.config.AnnotatedClassScanner fails whenresource
and provider classes are loaded via an URLClassLoader with whitespace characters
in the URLs.
Snipped trace:
java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at
com.sun.ws.rest.impl.container.config.AnnotatedClassScanner.index(AnnotatedClassScanner.java:204)
at
com.sun.ws.rest.impl.container.config.AnnotatedClassScanner.scan(AnnotatedClassScanner.java:113)
at
com.sun.ws.rest.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:90)
Caused by: java.net.URISyntaxException: Illegal character in path at index 28:
file:/C:/work/workspace/Mule 1.4.3
eval/lib/mule-rest-demo.jar!/com/censored/mule/demo/rest
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
Line 205 of AnnotatedClassScanner (revision 867) reads:
URI jarUri = URI.create(u.getSchemeSpecificPart());
Which fails as escaped characters are decoded. Should probably be:
URI jarUri = URI.create(u.getRawSchemeSpecificPart());
Environment
Operating System: All
Platform: All
The text was updated successfully, but these errors were encountered: