incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Wabbel (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLEREZZA-265) org.apache.clerezza.utils.imagemagick could not create thumbnails
Date Fri, 30 Jul 2010 14:37:16 GMT

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

Fabian Wabbel commented on CLEREZZA-265:
----------------------------------------

yep, in addition to tsuy's log:

-> [qtp17125267-20 - /admin/digital-assets/asset/upload] WARN org.apache.clerezza.utils.imagemagick.ImageMagickProvider
- Error in ImageMagick while trying to execute [convert, -geometry, 55.701393%, -quality,
100, -, -]. Error:
[qtp17125267-20 - /admin/digital-assets/asset/upload] WARN org.apache.clerezza.utils.imagemagick.ImageMagickProvider
- IOException while trying to execute [convert, -geometry, 55.701393%, -quality, 100, -, -]
[qtp17125267-20 - /admin/digital-assets/asset/upload] ERROR org.apache.clerezza.platform.content.Editor
- Exception in MetaDataGenerator
java.lang.IllegalArgumentException: image == null!
        at javax.imageio.ImageTypeSpecifier.createFromRenderedImage(ImageTypeSpecifier.java:1038)
        at javax.imageio.ImageIO.getWriter(ImageIO.java:1581)
        at javax.imageio.ImageIO.write(ImageIO.java:1568)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.bufferedImage2ByteArray(AlternativeRepresentationGenerator.java:210)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.generateAlternativeImage(AlternativeRepresentationGenerator.java:192)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.generateAlternativeImages(AlternativeRepresentationGenerator.java:178)
        at org.apache.clerezza.platform.content.representations.core.AlternativeRepresentationGenerator.generate(AlternativeRepresentationGenerator.java:151)
        at org.apache.clerezza.platform.content.AbstractDiscobitsHandler.put(AbstractDiscobitsHandler.java:99)
        at org.clerezza.app.digitalassetmanager.core.UploadAndManipulateAsset.addAssetToGraph(UploadAndManipulateAsset.java:310)
        at org.clerezza.app.digitalassetmanager.core.UploadAndManipulateAsset.uploadAsset(UploadAndManipulateAsset.java:275)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMethod(RootResourceExecutorImpl.java:471)
        at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootResourceExecutorImpl.java:121)
        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:537)
        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:820)
        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:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
        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:333)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:595)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1055)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:764)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
        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:636)
[qtp17125267-20 - /admin/digital-assets/asset/upload] DEBUG org.eclipse.jetty.util.log - RESPONSE
/admin/digital-assets/asset/upload  303
[qtp17125267-18] DEBUG org.eclipse.jetty.util.log - EOF


> org.apache.clerezza.utils.imagemagick could not create thumbnails
> -----------------------------------------------------------------
>
>                 Key: CLEREZZA-265
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-265
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ito
>            Priority: Critical
>
> I try to use imagemagick to create thumbnails:
> 1. I have installed org.apache.clerezza.utils.imagemagick and updated the version number
(felix webconsole component/service properties).
> 2. I have disabled the org.apache.clerezza.utils.imageprocessing.JavaGraphicsProvider
service
> 3. org.apache.clerezza.utils.imagemagick.ImageMagickProvider was activated. 
> 4. uploaded an image (put with firefox poster plugin)
> after println 
> [qtp13572035-23] INFO org.apache.clerezza.utils.imagemagick.ImageMagickProvider - Trying
to execute command [convert, -geometry, 13.986013%, -quality, 100, -, -]
> it stucks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message