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 #9661 (closed)

Opened 12 years ago

Closed 12 years ago

Bug: IsGraphCritical throws for images in orphaned images

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-4.4.7
Component: Web Version: n.a.
Keywords: n.a. Cc: cxallan, wmoore, jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

See the attached log for what happens as user-1 when loading the orphaned images of group private-1. (These are possibly corrupt SVS resolutions)

Change History (3)

comment:1 Changed 12 years ago by jmoore

2012-09-24 20:10:28,261 ERROR [                           omero.gateway] (proc.26123) getThumbnail:6100 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omero/gateway/__init__.py", line 6053, in getThumbnail
    tb = self._prepareTB()
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omero/gateway/__init__.py", line 5952, in _prepareTB
    tb.setPixelsId(pid, self._conn.SERVICE_OPTS)
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omero/gateway/__init__.py", line 3327, in __call__
    return self.handle_exception(e, *args, **kwargs)
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/webclient_gateway.py", line 1876, in handle_exception
    e, *args, **kwargs)
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omero/gateway/__init__.py", line 3324, in __call__
    return self.f(*args, **kwargs)
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omero_api_ThumbnailStore_ice.py", line 95, in setPixelsId
    return _M_omero.api.ThumbnailStore._op_setPixelsId.invoke(self, ((pixelsId, ), _ctx))
SecurityViolation: exception ::omero::SecurityViolation
{
    serverStackTrace = ome.conditions.SecurityViolation: isGraphCriticalCheck: not enough context
        at ome.security.basic.CurrentDetails.isGraphCritical(CurrentDetails.java:204)
        at ome.security.basic.BasicSecuritySystem.isGraphCritical(BasicSecuritySystem.java:301)
        at ome.services.ThumbnailCtx.isExtendedGraphCritical(ThumbnailCtx.java:614)
        at ome.services.ThumbnailCtx.loadAndPrepareRenderingSettings(ThumbnailCtx.java:239)
        at ome.services.ThumbnailCtx.loadAndPrepareRenderingSettings(ThumbnailCtx.java:176)
        at ome.services.ThumbnailBean.setPixelsId(ThumbnailBean.java:276)
        at sun.reflect.GeneratedMethodAccessor679.invoke(Unknown Source)
...
        at $Proxy88.setPixelsId(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor689.invoke(Unknown Source)
        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:150)
        at ome.services.blitz.impl.ThumbnailStoreI.setPixelsId_async(ThumbnailStoreI.java:142)
        at sun.reflect.GeneratedMethodAccessor688.invoke(Unknown Source)
        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 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 $Proxy89.setPixelsId_async(Unknown Source)
        at omero.api._ThumbnailStoreTie.setPixelsId_async(_ThumbnailStoreTie.java:190)
        at omero.api._ThumbnailStoreDisp.___setPixelsId(_ThumbnailStoreDisp.java:232)
        at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:728)
        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.SecurityViolation
    message = isGraphCriticalCheck: not enough context
}

2012-09-24 20:10:30,010  INFO [                           omero.gateway] (proc.26124) connect:1735 created connection (uuid=683285e4-4764-4806-8917-fb2c72749b53)

comment:2 Changed 12 years ago by wmoore

  • Owner changed from web-team@… to jmoore

Sorry - I don't understand what corrupt SVS resolutions are or what isGraphCritical() is doing or whether this is really a web issue?

comment:3 Changed 12 years ago by jmoore

  • Cc cxallan wmoore jburel added
  • Resolution set to invalid
  • Status changed from new to closed

What this means is that something went wrong with the import and so the renderings, etc. were no longer there. Closing as invalid, but if you see securityviolation with isgraphcritical then something similar is going on.

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.72385 sec.)

We're Hiring!