{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/2001","repository_url":"https://api.github.com/repos/swagger-api/swagger-core","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/2001/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/2001/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/2001/events","html_url":"https://github.com/swagger-api/swagger-core/issues/2001","id":189387481,"number":2001,"title":"swagger2Feature is not testable by arquillian on OSGI","user":{"login":"bouskaJ","id":8972450,"avatar_url":"https://avatars.githubusercontent.com/u/8972450?v=3","gravatar_id":"","url":"https://api.github.com/users/bouskaJ","html_url":"https://github.com/bouskaJ","followers_url":"https://api.github.com/users/bouskaJ/followers","following_url":"https://api.github.com/users/bouskaJ/following{/other_user}","gists_url":"https://api.github.com/users/bouskaJ/gists{/gist_id}","starred_url":"https://api.github.com/users/bouskaJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouskaJ/subscriptions","organizations_url":"https://api.github.com/users/bouskaJ/orgs","repos_url":"https://api.github.com/users/bouskaJ/repos","events_url":"https://api.github.com/users/bouskaJ/events{/privacy}","received_events_url":"https://api.github.com/users/bouskaJ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-15T13:09:55Z","updated_at":"2016-12-21T00:34:26Z","closed_at":"2016-12-21T00:34:26Z","body":"You are using [Reflections](https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-jaxrs/src/main/java/io/swagger/jaxrs/config/BeanConfig.java#L269) to scan the source package. The problem is that arquillain installs new OSGI bundles by JMX and due to possibility of remote installation the location can't be properly set. The Vfs class (used by reflections) can't load the package and I got an exception.\r\nhere is the stacktrace:\r\n`java.net.MalformedURLException: no protocol: BasicTest.jar\r\n\tat java.net.URL.<init>(URL.java:593)\r\n\tat java.net.URL.<init>(URL.java:490)\r\n\tat java.net.URL.<init>(URL.java:439)\r\n\tat org.reflections.vfs.Vfs$DefaultUrlTypes$4.createDir(Vfs.java:324)\r\n\tat org.reflections.vfs.Vfs.fromURL(Vfs.java:108)\r\n\tat org.reflections.vfs.Vfs.fromURL(Vfs.java:100)\r\n\tat org.reflections.Reflections.scan(Reflections.java:237)\r\n\tat org.reflections.Reflections.scan(Reflections.java:204)\r\n\tat org.reflections.Reflections.<init>(Reflections.java:129)\r\n\tat io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:256)\r\n\tat io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:221)\r\n\tat io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:204)\r\n\tat org.apache.cxf.jaxrs.swagger.Swagger2Feature.addSwaggerResource(Swagger2Feature.java:111)\r\n\tat org.apache.cxf.jaxrs.swagger.AbstractSwaggerFeature.initialize(AbstractSwaggerFeature.java:69)\r\n\tat org.apache.cxf.jaxrs.JAXRSServerFactoryBean.applyFeatures(JAXRSServerFactoryBean.java:252)\r\n\tat org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:196)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n`\r\n"}}
{"actor":{"display_login":"fehguy"}}