Task #5606 (closed)
Opened 8 years ago
Closed 8 years ago
Bug: Thumbnail Set no SVG icon
| Reported by: | jburel | Owned by: | cxallan |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-Beta4.3 |
| Component: | General | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-06-02 (13) |
Description
When the pyramid is not ready,
- the method getThumbnailByLongestSide returns the SVG icon
- The method getThumbnailSet returns null for the pixels set when the pyramid is not ready instead of the SVG icon.
Change History (3)
comment:1 Changed 8 years ago by cxallan
- Remaining Time set to 0.25
- Sprint set to 2011-06-02 (13)
- Status changed from new to accepted
comment:2 Changed 8 years ago by cxallan
Above issue is OpenJDK related. Once on Sun's JDK we have the following issue:
2011-05-27 13:24:46,416 WARN [ ome.services.ThumbnailCtx] (l.Server-2) Return value ID count 0 does not match pixels without settings count 1 2011-05-27 13:24:46,416 WARN [ ome.services.ThumbnailCtx] (l.Server-2) Preparation of null or zero length ID set requested.
comment:3 Changed 8 years ago by Chris Allan <callan@…>
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [ac7951692041bf2e383146537d7173ec50d061a0/ome.git] on branch develop) Handle missing pyramids without settings in set retrievals. (Fixes #5606)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Exception server side:
omero.InternalException: exception ::omero::InternalException { serverStackTrace = ome.conditions.InternalException: Wrapped Exception: (java.lang.IncompatibleClassChangeError): Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected at org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter.writeImage(Unknown Source) at org.apache.batik.transcoder.image.JPEGTranscoder.writeImage(Unknown Source) at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source) at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source) at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) at ome.services.SVGRasterizer.createJPEG(SVGRasterizer.java:116) at ome.services.ThumbnailBean.compressInProgressImageToStream(ThumbnailBean.java:496) at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:1110) at ome.services.ThumbnailBean._getThumbnailByLongestSideDirect(ThumbnailBean.java:1150) at ome.services.ThumbnailBean.getThumbnailByLongestSideDirect(ThumbnailBean.java:1165) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.EventHandler.invoke(EventHandler.java:150) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182) at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy79.getThumbnailByLongestSideDirect(Unknown Source) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:83) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy79.getThumbnailByLongestSideDirect(Unknown Source) 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 ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) at ome.services.throttling.Callback.run(Callback.java:56) at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136) at ome.services.blitz.impl.ThumbnailStoreI.getThumbnailByLongestSideDirect_async(ThumbnailStoreI.java:79) at omero.api._ThumbnailStoreTie.getThumbnailByLongestSideDirect_async(_ThumbnailStoreTie.java:134) at omero.api._ThumbnailStoreDisp.___getThumbnailByLongestSideDirect(_ThumbnailStoreDisp.java:381) at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:651) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) serverExceptionClass = ome.conditions.InternalException message = Wrapped Exception: (java.lang.IncompatibleClassChangeError): Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected