Hi Reto I think this issue "java.lang.RuntimeException: no style bundle found" can be closed but we should open a new issue based on your suggestions.
cheers tsuy On Thu, Mar 10, 2011 at 8:28 AM, Reto Bachmann-Gmuer <[email protected]> wrote: > Hi Tsuy, > > As I write in my comment the committed patch is not a real solution yet, as > it only considers one bundle, while the resources in the resource tree may > be provided by several bundles, in which case only the resource provided by > one of these bundles get considered. > > So I don't think this can be closed yet, but maybe the priority can be > reduced. > > Cheers, > reto > > On Thu, Mar 10, 2011 at 8:02 AM, Tsuyoshi Ito (JIRA) <[email protected]>wrote: > >> >> [ >> https://issues.apache.org/jira/browse/CLEREZZA-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] >> >> Tsuyoshi Ito closed CLEREZZA-449. >> --------------------------------- >> >> Resolution: Fixed >> >> > thumbnail-service: java.lang.RuntimeException: no style bundle found >> > -------------------------------------------------------------------- >> > >> > Key: CLEREZZA-449 >> > URL: https://issues.apache.org/jira/browse/CLEREZZA-449 >> > Project: Clerezza >> > Issue Type: Bug >> > Reporter: Tsuyoshi Ito >> > Priority: Critical >> > >> > I have uploaded a pdf to http://localhost:8080/tesing.pdf. Then tried to >> retrieve the icon for pdfs via thumbnail service ( /thumbnail-service?uri= >> http://localhost:8080/tesing.pdf&width=200) >> > the following error occurs because the style folder has been moved to >> web.resources.style/src/main/resources/CLEREZZA-INF/web-resources). I was >> not able to find the issue. >> > 23915-18 - /thumbnail-service?uri= >> http://localhost:8080/tesing.pdf&width=200] (JaxRsHandler.java\:585) - >> RuntimeException (with no exception mapper) >> > java.lang.RuntimeException: no style bundle found >> > at >> org.apache.clerezza.platform.content.representations.core.ThumbnailService.getMediaTypeIconUri(ThumbnailService.java:232) >> > at >> org.apache.clerezza.platform.content.representations.core.ThumbnailService.getThumbnailUri(ThumbnailService.java:216) >> > at >> org.apache.clerezza.platform.content.representations.core.ThumbnailService.getThumbnailUri(ThumbnailService.java:127) >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> > at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> > at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> > at java.lang.reflect.Method.invoke(Method.java:597) >> > at >> org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMethod(RootResourceExecutorImpl.java:469) >> > at >> org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootResourceExecutorImpl.java:119) >> > at >> org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:503) >> > at >> org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler$RegisteredHandler.handle(PathMappingHandler.java:127) >> > at >> org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler.handle(PathMappingHandler.java:102) >> > at >> org.apache.clerezza.platform.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:94) >> > at java.security.AccessController.doPrivileged(Native Method) >> > at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) >> > at >> org.apache.clerezza.platform.security.auth.AuthenticatingFilter.handle(AuthenticatingFilter.java:90) >> > at >> org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56) >> > at >> org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlFilter.handle(Xhtml2HtmlFilter.java:73) >> > at >> org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56) >> > at >> org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:78) >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) >> > at >> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) >> > at >> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109) >> > at >> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) >> > at >> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:532) >> > at >> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453) >> > at >> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) >> > at >> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:965) >> > at >> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:388) >> > at >> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:187) >> > at >> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:901) >> > at >> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) >> > at >> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) >> > at org.eclipse.jetty.server.Server.handle(Server.java:348) >> > at >> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) >> > at >> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) >> > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549) >> > at >> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211) >> > at >> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:425) >> > at >> org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:489) >> > at >> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) >> > at java.lang.Thread.run(Thread.java:619) >> >> -- >> This message is automatically generated by JIRA. >> For more information on JIRA, see: http://www.atlassian.com/software/jira >> > -- --trialox ag-------------------------------------- Tsuyoshi Ito Binzmuehlestrasse 14 CH-8050 Zürich Tel. +41 44 635 75 77 URL: http://trialox.org
