Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9655 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: null statsinfo prevent image load

Reported by: jamoore Owned by: web-team@…
Priority: blocker Milestone: OMERO-4.4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

Change History (4)

comment:1 Changed 12 years ago by jmoore

Traceback (most recent call last):
  File "c:\OMERO-CURRENT\lib\python\omero\gateway\__init__.py", line 3324, in __call__
    return self.f(*args, **kwargs)
  File "c:\OMERO-CURRENT\lib\python\omero_api_RenderingEngine_ice.py", line 280, in getPixels
    return _M_omero.api.RenderingEngine._op_getPixels.invoke(self, ((), _ctx))
InternalException: exception ::omero::InternalException
{
    serverStackTrace = ome.conditions.InternalException

	at ome.util.ShallowCopy.reflectiveNewInstance(ShallowCopy.java:35)

	at ome.util.ShallowCopy.copy(ShallowCopy.java:24)

	at ome.services.RenderingBean.copyChannel(RenderingBean.java:1625)

	at ome.services.RenderingBean.copyChannels(RenderingBean.java:1610)

	at ome.services.RenderingBean.copyPixels(RenderingBean.java:1596)

	at ome.services.RenderingBean.getPixels(RenderingBean.java:1087)

	at sun.reflect.GeneratedMethodAccessor1163.invoke(Unknown Source)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

	at java.lang.reflect.Method.invoke(Unknown Source)

	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.services.util.ServiceHandler.invoke(ServiceHandler.java:116)

	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

	at $Proxy89.getPixels(Unknown Source)

	at sun.reflect.GeneratedMethodAccessor1163.invoke(Unknown Source)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

	at java.lang.reflect.Method.invoke(Unknown Source)

	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:98)

	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 $Proxy89.getPixels(Unknown Source)

	at sun.reflect.GeneratedMethodAccessor1222.invoke(Unknown Source)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

	at java.lang.reflect.Method.invoke(Unknown Source)

	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:150)

	at ome.services.blitz.impl.RenderingEngineI.getPixels_async(RenderingEngineI.java:200)

	at sun.reflect.GeneratedMethodAccessor1221.invoke(Unknown Source)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

	at java.lang.reflect.Method.invoke(Unknown Source)

	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 omero.cmd.CallContext.invoke(CallContext.java:59)

	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

	at $Proxy91.getPixels_async(Unknown Source)

	at omero.api._RenderingEngineTie.getPixels_async(_RenderingEngineTie.java:190)

	at omero.api._RenderingEngineDisp.___getPixels(_RenderingEngineDisp.java:860)

	at omero.api._RenderingEngineDisp.__dispatch(_RenderingEngineDisp.java:1592)

	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 = 
}
2012-09-24 11:58:06,642 ERROR [             webclient.webclient_gateway] (proc.04664

comment:2 Changed 12 years ago by jmoore

  • Cc jburel added
  • Resolution set to fixed
  • Status changed from new to closed

Server-side pushed to https://github.com/openmicroscopy/openmicroscopy/pull/382

It's still unclear why these are occuring, but the test included in the PR reproduces and fixes this very particular issue. There may be other places in the code base where we assume statsinfo!=null. This needs to be reviewed.

comment:3 Changed 12 years ago by jmoore <josh@…>

  • Remaining Time set to 0

(In [05be925f19b141138e0259b623260d1f1bcea719/ome.git] on branch develop) Handle InternalException? from null StatsInfo? (Fix #9655)

ShallowCopy?.copy is not intended to handle nulls. Though
it could be changed to do so, that would require a larger
review than I'd like to do at the moment. Handling nulls
inside of RE.getPixels.

comment:4 Changed 12 years ago by Josh Moore <josh@…>

(In [b2bacd3e7e96d1cc6ea375265a73e3af7ded6c9d/ome.git] on branch develop) Merge pull request #382 from joshmoore/9655-null-statsinfo

Handle InternalException? from null StatsInfo? (Fix #9655)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65990 sec.)

We're Hiring!