You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2011/03/01 08:11:36 UTC

[jira] Commented: (CLEREZZA-449) thumbnail-service: java.lang.RuntimeException: no style bundle found

    [ https://issues.apache.org/jira/browse/CLEREZZA-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000753#comment-13000753 ] 

Reto Bachmann-Gmür commented on CLEREZZA-449:
---------------------------------------------

Fixed path, the real solution should acess the resources  in a way to support multiple bundles as well as icons provided by other means. (e.g. by browsing http://localhost:8080/style/images/icons/mediatype/) 

> 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