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

Opened 12 years ago

Closed 12 years ago

BUG:Viewing a share image

Reported by: omero-qa Owned by: wmoore
Priority: minor Milestone: OMERO-4.4.7
Component: from QA Version: n.a.
Keywords: n.a. Cc: alexander.botzki@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2013-04-09 (7))

Description

http://qa.openmicroscopy.org.uk/qa/feedback/4779/

Traceback (most recent call last):

  File "/home/jboss/OMERO-CURRENT/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 377, in wrapped
    retval = f(request, *args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/decorators.py", line 414, in wrapper
    context = f(request, *args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/views.py", line 911, in load_metadata_acquisition
    lightPath = logicalChannel.getLightPath()

  File "/home/jboss/OMERO-CURRENT/lib/python/omero/gateway/__init__.py", line 5127, in getLightPath
    self.__loadedHotSwap__()

  File "/home/jboss/OMERO-CURRENT/lib/python/omero/gateway/__init__.py", line 5123, in __loadedHotSwap__
    self._obj = self._conn.getMetadataService().loadChannelAcquisitionData([self._obj.id.val],ctx)[0]

  File "/home/jboss/OMERO-CURRENT/lib/python/omero/gateway/__init__.py", line 3327, in __call__
    return self.handle_exception(e, *args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omeroweb/webclient/webclient_gateway.py", line 1876, in handle_exception
    e, *args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omero/gateway/__init__.py", line 3324, in __call__
    return self.f(*args, **kwargs)

  File "/home/jboss/OMERO-CURRENT/lib/python/omero_api_IMetadata_ice.py", line 89, in loadChannelAcquisitionData
    return _M_omero.api.IMetadata._op_loadChannelAcquisitionData.invoke(self, ((ids, ), _ctx))

SecurityViolation: exception ::omero::SecurityViolation
{
    serverStackTrace = ome.conditions.SecurityViolation: ome.model.acquisition.LightPathEmissionFilterLink:Id_466 not contained in share
	at ome.security.sharing.SharingACLVoter.throwLoadViolation(SharingACLVoter.java:79)
	at ome.security.CompositeACLVoter.throwLoadViolation(CompositeACLVoter.java:88)
	at ome.security.ACLEventListener.onPostLoad(ACLEventListener.java:104)
	at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:250)
	at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898)
	at org.hibernate.loader.Loader.doQuery(Loader.java:773)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
	at org.hibernate.loader.Loader.doList(Loader.java:2449)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
	at org.hibernate.loader.Loader.list(Loader.java:2187)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1260)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	at ome.services.query.Query.doInHibernate(Query.java:244)
	at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
	at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
	at ome.logic.QueryImpl.execute(QueryImpl.java:144)
	at ome.logic.QueryImpl.findAllByQuery(QueryImpl.java:394)
	at ome.logic.MetadataImpl.loadChannelAcquisitionData(MetadataImpl.java:473)
	at sun.reflect.GeneratedMethodAccessor1440.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 ome.security.basic.EventHandler.invoke(EventHandler.java:154)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111)
	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:241)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	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 $Proxy83.loadChannelAcquisitionData(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor1440.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 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 $Proxy83.loadChannelAcquisitionData(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor1875.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.MetadataI.loadChannelAcquisitionData_async(MetadataI.java:81)
	at sun.reflect.GeneratedMethodAccessor1874.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 $Proxy84.loadChannelAcquisitionData_async(Unknown Source)
	at omero.api._IMetadataTie.loadChannelAcquisitionData_async(_IMetadataTie.java:106)
	at omero.api._IMetadataDisp.___loadChannelAcquisitionData(_IMetadataDisp.java:161)
	at omero.api._IMetadataDisp.__dispatch(_IMetadataDisp.java:486)
	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 = ome.model.acquisition.LightPathEmissionFilterLink:Id_466 not contained in share
}


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '1aca24c047043c35e331e0d5f9d0790b'},
META:{'DOCUMENT_ROOT': '/var/www/localhost/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-gb',
 'HTTP_CONNECTION': 'Keep-Alive',
 'HTTP_COOKIE': 'sessionid=1aca24c047043c35e331e0d5f9d0790b',
 'HTTP_HOST': 'warlock.openmicroscopy.org.uk',
 'HTTP_REFERER': 'http://warlock.openmicroscopy.org.uk/omero/webclient/public/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin',
 'PATH_INFO': u'/webclient/metadata_acquisition/image/9041/4102/',
 'PATH_TRANSLATED': '/var/www/localhost/htdocs/webclient/metadata_acquisition/image/9041/4102/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.0.21.38',
 'REMOTE_PORT': '53401',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/omero/webclient/metadata_acquisition/image/9041/4102/',
 'SCRIPT_FILENAME': '/home/jboss/OMERO-CURRENT/var/omero.fcgi',
 'SCRIPT_NAME': u'/omero',
 'SCRIPT_URI': 'http://warlock.openmicroscopy.org.uk/omero/webclient/metadata_acquisition/image/9041/4102/',
 'SCRIPT_URL': '/omero/webclient/metadata_acquisition/image/9041/4102/',
 'SERVER_ADDR': '134.36.65.49',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'warlock.openmicroscopy.org.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache Server at warlock.openmicroscopy.org.uk Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache',
 'UNIQUE_ID': 'UMCH4YYkQTEAAErONzUAAAAV',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x313af10>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x313a110>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (3)

comment:1 Changed 12 years ago by wmoore

  • Milestone changed from Unscheduled to OMERO-4.5
  • Sprint set to Bugs Fixing

comment:2 Changed 12 years ago by jburel

  • Sprint changed from Bugs Fixing to 2013-04-09 (7))

Moved from sprint Bugs Fixing

comment:3 Changed 12 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

This was reported from OMERO 4.4.4 and is fixed in 4.4.5 See #9853

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

We're Hiring!