Task #5171 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: NPE on thumbnail retrieval
Reported by: | cxallan | Owned by: | cxallan |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-05-19 (12) |
Description
/Users/callan/code/ome.git/dist/lib/python/omero_ServerErrors_ice.py:35: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message /Users/callan/code/ome.git/dist/lib/python/omero_api_ThumbnailStore_ice.py:136: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return _M_omero.api.ThumbnailStore._op_getThumbnailByLongestSideDirect.invoke(self, ((size, ), _ctx)) Traceback (most recent call last): File "thumbnail.py", line 15, in <module> thumb = t.getThumbnailByLongestSideDirect(omero.rtypes.rint(size)) File "/Users/callan/code/ome.git/dist/lib/python/omero_api_ThumbnailStore_ice.py", line 136, in getThumbnailByLongestSideDirect return _M_omero.api.ThumbnailStore._op_getThumbnailByLongestSideDirect.invoke(self, ((size, ), _ctx)) omero.InternalException/Users/callan/code/ome.git/dist/lib/python/omero_ServerErrors_ice.py:212: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return IcePy.stringifyException(self) : exception ::omero::InternalException { serverStackTrace = ome.conditions.InternalException: Wrapped Exception: (java.lang.NullPointerException): null at ome.io.bioformats.BfPyramidPixelBuffer.getResolutionLevels(BfPyramidPixelBuffer.java:1052) at ome.services.ThumbnailBean.createScaledImage(ThumbnailBean.java:510) at ome.services.ThumbnailBean.retrieveThumbnailDirect(ThumbnailBean.java:999) at ome.services.ThumbnailBean._getThumbnailByLongestSideDirect(ThumbnailBean.java:1039) at ome.services.ThumbnailBean.getThumbnailByLongestSideDirect(ThumbnailBean.java:1054) 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.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 $Proxy74.getThumbnailByLongestSideDirect(Unknown Source) 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.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 $Proxy74.getThumbnailByLongestSideDirect(Unknown Source) 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 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.NullPointerException): null }
Change History (1)
comment:1 Changed 13 years ago by Chris Allan <callan@…>
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [8dbfd62453d9d2d92f559f15389b9a3fadb0bf8f/ome.git] on branch develop) Ensure pyramid pixel buffers are re-usable. (Fixes #5171)