{"action":"opened","issue":{"url":"https://api.github.com/repos/fabric8io/fabric8/issues/3407","labels_url":"https://api.github.com/repos/fabric8io/fabric8/issues/3407/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/fabric8/issues/3407/comments","events_url":"https://api.github.com/repos/fabric8io/fabric8/issues/3407/events","html_url":"https://github.com/fabric8io/fabric8/issues/3407","id":56265542,"number":3407,"title":"fabric8 1.2.0: profile icons are broken out of the box","user":{"login":"raulk","id":1101242,"avatar_url":"https://avatars.githubusercontent.com/u/1101242?v=3","gravatar_id":"","url":"https://api.github.com/users/raulk","html_url":"https://github.com/raulk","followers_url":"https://api.github.com/users/raulk/followers","following_url":"https://api.github.com/users/raulk/following{/other_user}","gists_url":"https://api.github.com/users/raulk/gists{/gist_id}","starred_url":"https://api.github.com/users/raulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulk/subscriptions","organizations_url":"https://api.github.com/users/raulk/orgs","repos_url":"https://api.github.com/users/raulk/repos","events_url":"https://api.github.com/users/raulk/events{/privacy}","received_events_url":"https://api.github.com/users/raulk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-02T17:23:08Z","updated_at":"2015-02-02T17:23:08Z","closed_at":null,"body":"Hitting the image URLs with the browser leads to the following exception being displayed:\r\n\r\n```\r\nHTTP ERROR 500\r\n\r\nProblem accessing /cxf/fabric8/version/1.0/profile/default/overlay/file/icon.svg. Reason:\r\n\r\n    Server Error\r\nCaused by:\r\n\r\njava.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.karaf.jaas.boot.principal.RolePrincipal from bundle 151 (io.fabric8.fabric-rest)\r\n\tat org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:332)\r\n\tat org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:244)\r\n\tat org.eclipse.jetty.security.authentication.LoginAuthenticator.login(LoginAuthenticator.java:47)\r\n\tat org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:90)\r\n\tat org.eclipse.jetty.security.authentication.DeferredAuthentication.authenticate(DeferredAuthentication.java:68)\r\n\tat org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1357)\r\n\tat org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDestination.java:361)\r\n\tat org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:228)\r\n\tat org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)\r\n[...]\r\n```\r\n\r\nEnabling dynamic imports on the fabric8-rest bundle renders the images correctly.\r\n\r\nImports added as reported by dynamic import:\r\n\r\n```\r\nFabric8:karaf@root> dynamic-import 151\r\nEnabling dynamic imports on bundle io.fabric8.fabric-rest [151]\r\nFabric8:karaf@root> dynamic-import 151\r\nDisabling dynamic imports on bundle io.fabric8.fabric-rest [151]\r\n\r\nAdditional packages wired since dynamic import was enabled:\r\n- org.apache.cxf.jaxrs.provider\r\n- org.eclipse.jetty.plus.jaas\r\n- org.apache.cxf.jaxrs.model.wadl\r\n- javax.servlet\r\n- org.osgi.service.blueprint.container\r\n- org.apache.cxf.jaxrs.provider.json\r\nFabric8:karaf@root>\r\n```\r\n![screen shot 2015-02-02 at 17 20 15](https://cloud.githubusercontent.com/assets/1101242/6005171/26294b10-ab00-11e4-9797-fa4029261a17.png)\r\n"}}