{"action":"created","issue":{"url":"https://api.github.com/repos/l0rdn1kk0n/wicket-webjars/issues/35","labels_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-webjars/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-webjars/issues/35/comments","events_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-webjars/issues/35/events","html_url":"https://github.com/l0rdn1kk0n/wicket-webjars/issues/35","id":100564685,"number":35,"title":"Exception when starting the server via Java Webstart","user":{"login":"acetous","id":420741,"avatar_url":"https://avatars.githubusercontent.com/u/420741?v=3","gravatar_id":"","url":"https://api.github.com/users/acetous","html_url":"https://github.com/acetous","followers_url":"https://api.github.com/users/acetous/followers","following_url":"https://api.github.com/users/acetous/following{/other_user}","gists_url":"https://api.github.com/users/acetous/gists{/gist_id}","starred_url":"https://api.github.com/users/acetous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acetous/subscriptions","organizations_url":"https://api.github.com/users/acetous/orgs","repos_url":"https://api.github.com/users/acetous/repos","events_url":"https://api.github.com/users/acetous/events{/privacy}","received_events_url":"https://api.github.com/users/acetous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-12T15:03:11Z","updated_at":"2015-08-16T17:39:17Z","closed_at":null,"body":"Hi!\r\n\r\nWe're starting a local server via Java Webstart. When using wicket-webjars, this exception occurs on application startup:\r\n```\r\njava.lang.IllegalArgumentException: URI scheme is not \"file\"\r\n\tat java.io.File.<init>(Unknown Source)\r\n\tat de.agilecoders.wicket.webjars.collectors.JarAssetPathCollector.newJarFile(JarAssetPathCollector.java:56)\r\n\tat de.agilecoders.wicket.webjars.collectors.JarAssetPathCollector.collect(JarAssetPathCollector.java:37)\r\n\tat de.agilecoders.wicket.webjars.collectors.AssetsMap.getAssetPaths(AssetsMap.java:137)\r\n\tat de.agilecoders.wicket.webjars.collectors.AssetsMap.createFullPathIndex(AssetsMap.java:156)\r\n\tat de.agilecoders.wicket.webjars.collectors.AssetsMap.<init>(AssetsMap.java:46)\r\n\tat de.agilecoders.wicket.webjars.util.WebJarAssetLocator.<init>(WebJarAssetLocator.java:28)\r\n\tat de.agilecoders.wicket.webjars.util.file.WebjarsResourceFinder.newFullPathProvider(WebjarsResourceFinder.java:46)\r\n\tat de.agilecoders.wicket.webjars.util.file.WebjarsResourceFinder.<init>(WebjarsResourceFinder.java:34)\r\n\tat de.agilecoders.wicket.webjars.WicketWebjars.install(WicketWebjars.java:75)\r\n\tat de.agilecoders.wicket.webjars.WicketWebjars.install(WicketWebjars.java:51)\r\n\tat de.agilecoders.wicket.core.Bootstrap.install(Bootstrap.java:88)\r\n\tat de.agilecoders.wicket.core.Bootstrap.install(Bootstrap.java:110)\r\n\tat local.client.localClientApplication.init(localClientApplication.java:40)\r\n\tat org.apache.wicket.Application.initApplication(Application.java:823)\r\n\tat org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:424)\r\n\tat org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:351)\r\n\tat org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)\r\n\tat org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)\r\n\tat org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)\r\n\tat org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4574)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5193)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)\r\n\tat java.util.concurrent.FutureTask.run(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\n```\r\n\r\nThe `path` for `new File()` in `JarAssetPathCollector.newJarFile()` is\r\n`jar:http://devserver.local:8080/webstart/app/lib/modernizr.jar`. Java Webstart handles the local cached JAR files in a special way, so wicket-webjars does not get the correct path.\r\n\r\nWe are using wicket-webjars 0.4.4. "},"comment":{"url":"https://api.github.com/repos/l0rdn1kk0n/wicket-webjars/issues/comments/131589444","html_url":"https://github.com/l0rdn1kk0n/wicket-webjars/issues/35#issuecomment-131589444","issue_url":"https://api.github.com/repos/l0rdn1kk0n/wicket-webjars/issues/35","id":131589444,"user":{"login":"martin-g","id":232002,"avatar_url":"https://avatars.githubusercontent.com/u/232002?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-g","html_url":"https://github.com/martin-g","followers_url":"https://api.github.com/users/martin-g/followers","following_url":"https://api.github.com/users/martin-g/following{/other_user}","gists_url":"https://api.github.com/users/martin-g/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-g/subscriptions","organizations_url":"https://api.github.com/users/martin-g/orgs","repos_url":"https://api.github.com/users/martin-g/repos","events_url":"https://api.github.com/users/martin-g/events{/privacy}","received_events_url":"https://api.github.com/users/martin-g/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T17:39:17Z","updated_at":"2015-08-16T17:39:17Z","body":"Thanks for your code snippets!\r\nDo you want to send a Pull Request with the suggested improvements?\r\nSince I won't be able to test the fix/improvement I think I am not in position to actually implement it. So please send a PR and if it doesn't break the normal usage then I'll apply it! \r\nThanks!"}}