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

Opened 7 years ago

Closed 7 years ago

Last modified 3 months ago

Bug: missing DetectorSettings reference handler

Reported by: mlinkert Owned by: mlinkert
Priority: critical Milestone: OMERO-4.4.4
Component: Import Version: n.a.
Keywords: n.a. Cc: cxallan, anatole.chessel@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by sbesson)

Importing files from flex/anatole/ with 4.4.0 apparently produces this error:

java.lang.RuntimeException: omero.ApiUsageException
     serverStackTrace = "ome.conditions.ApiUsageException: Missing 
reference handler for Detector:0:-1(null) --> 
omero.model.DetectorSettings:1:0(ome.model.acquisition.DetectorSettings:Hash_11575857) 
reference.
                             at 
ome.formats.OMEROMetadataStore.updateReferences(OMEROMetadataStore.java:540)
                             at 
ome.services.blitz.impl.MetadataStoreI$5.doWork(MetadataStoreI.java:237)
                             at 
sun.reflect.GeneratedMethodAccessor574.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.Executor$Impl$Interceptor.invoke(Executor.java:508)
                             at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                             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 $Proxy68.doWork(Unknown Source)
                             at 
ome.services.util.Executor$Impl.execute(Executor.java:406)
                             at 
ome.services.util.Executor$Impl.execute(Executor.java:350)
                             at 
ome.services.throttling.Adapter.run(Adapter.java:51)
                             at 
ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                             at 
ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:151)
                             at 
ome.services.blitz.impl.MetadataStoreI.updateReferences_async(MetadataStoreI.java:232)
                             at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                             at 
sun.reflect.NativeMethodAccessorImpl.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 $Proxy112.updateReferences_async(Unknown 
Source)
                             at 
omero.api._MetadataStoreTie.updateReferences_async(_MetadataStoreTie.java:106)
                             at 
omero.api._MetadataStoreDisp.___updateReferences(_MetadataStoreDisp.java:201)
                             at 
omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:378)
                             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.ApiUsageException"
     message = "Missing reference handler for Detector:0:-1(null) --> 
omero.model.DetectorSettings:1:0(ome.model.acquisition.DetectorSettings:Hash_11575857) 
reference."
...

Change History (5)

comment:2 Changed 7 years ago by mlinkert

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

PR merged and 4.4.1 released as a result.

comment:3 Changed 3 months ago by sbesson

  • Description modified (diff)

comment:4 Changed 3 months ago by sbesson

  • Description modified (diff)

comment:5 Changed 3 months ago by sbesson

  • Description modified (diff)
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.136329 sec.)

We're Hiring!