ome.conditions.OptimisticLockException: You are not authorized to change the update event for ome.model.display.Thumbnail:Id_9 from ome.model.meta.Event:Id_1251 to ome.model.meta.Event:Id_1204 You may need to reload the object before continuing.

GitHub | dominikl | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 4764#241406517

    GitHub | 6 months ago | dominikl
    ome.conditions.OptimisticLockException: You are not authorized to change the update event for ome.model.display.Thumbnail:Id_9 from ome.model.meta.Event:Id_1251 to ome.model.meta.Event:Id_1204 You may need to reload the object before continuing.

    Root Cause Analysis

    1. ome.conditions.OptimisticLockException

      You are not authorized to change the update event for ome.model.display.Thumbnail:Id_9 from ome.model.meta.Event:Id_1251 to ome.model.meta.Event:Id_1204 You may need to reload the object before continuing.

      at ome.security.basic.OmeroInterceptor.managedEvent()
    2. ome.security.basic
      OmeroInterceptor.onFlushDirty
      1. ome.security.basic.OmeroInterceptor.managedEvent(OmeroInterceptor.java:1072)
      2. ome.security.basic.OmeroInterceptor.checkManagedDetails(OmeroInterceptor.java:843)
      3. ome.security.basic.OmeroInterceptor.resetDetails(OmeroInterceptor.java:389)
      4. ome.security.basic.OmeroInterceptor.onFlushDirty(OmeroInterceptor.java:184)
      4 frames
    3. Hibernate
      SessionImpl.flush
      1. org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372)
      2. org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349)
      3. org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287)
      4. org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155)
      5. org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
      6. org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
      7. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
      8. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1208)
      8 frames
    4. ome.logic
      UpdateImpl.saveObject
      1. ome.logic.UpdateImpl.afterUpdate(UpdateImpl.java:295)
      2. ome.logic.UpdateImpl.doAction(UpdateImpl.java:311)
      3. ome.logic.UpdateImpl.doAction(UpdateImpl.java:302)
      4. ome.logic.UpdateImpl.saveObject(UpdateImpl.java:108)
      4 frames
    5. ome.services
      ThumbnailBean.getThumbnail
      1. ome.services.ThumbnailBean.retrieveThumbnailAndUpdateMetadata(ThumbnailBean.java:1096)
      2. ome.services.ThumbnailBean.getThumbnail(ThumbnailBean.java:1072)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1253.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    8. ome.security.basic
      EventHandler.invoke
      1. ome.security.basic.EventHandler.invoke(EventHandler.java:154)
      1 frame
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    10. ome.tools.hibernate
      SessionHandler.invoke
      1. ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:216)
      2. ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:200)
      2 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    12. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
      1 frame
    13. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    14. ome.tools.hibernate
      ProxyCleanupFilter$Interceptor.invoke
      1. ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:249)
      1 frame
    15. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    16. ome.services.util
      ServiceHandler.invoke
      1. ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
      1 frame
    17. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    18. com.sun.proxy
      $Proxy97.getThumbnail
      1. com.sun.proxy.$Proxy97.getThumbnail(Unknown Source)
      1 frame
    19. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1253.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    20. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    21. ome.security.basic
      BasicSecurityWiring.invoke
      1. ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:93)
      1 frame
    22. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    23. ome.services.blitz
      AopContextInitializer.invoke
      1. ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
      1 frame
    24. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    25. com.sun.proxy
      $Proxy97.getThumbnail
      1. com.sun.proxy.$Proxy97.getThumbnail(Unknown Source)
      1 frame
    26. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1264.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    27. ome.services.blitz
      IceMethodInvoker.invoke
      1. ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:172)
      1 frame
    28. ome.services.throttling
      InThreadThrottlingStrategy.callInvokerOnRawArgs
      1. ome.services.throttling.Callback.run(Callback.java:56)
      2. ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
      2 frames
    29. ome.services.blitz
      ThumbnailStoreI.getThumbnail_async
      1. ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:140)
      2. ome.services.blitz.impl.ThumbnailStoreI.getThumbnail_async(ThumbnailStoreI.java:125)
      2 frames
    30. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1263.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    31. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    32. omero.cmd
      CallContext.invoke
      1. omero.cmd.CallContext.invoke(CallContext.java:78)
      1 frame
    33. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    34. com.sun.proxy
      $Proxy98.getThumbnail_async
      1. com.sun.proxy.$Proxy98.getThumbnail_async(Unknown Source)
      1 frame
    35. omero.api
      _ThumbnailStoreDisp.__dispatch
      1. omero.api._ThumbnailStoreTie.getThumbnail_async(_ThumbnailStoreTie.java:114)
      2. omero.api._ThumbnailStoreDisp.___getThumbnail(_ThumbnailStoreDisp.java:541)
      3. omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:875)
      3 frames
    36. IceInternal
      Incoming.invoke
      1. IceInternal.Incoming.invoke(Incoming.java:221)
      1 frame
    37. Ice
      ConnectionI.message
      1. Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
      2. Ice.ConnectionI.dispatch(ConnectionI.java:1145)
      3. Ice.ConnectionI.message(ConnectionI.java:1056)
      3 frames
    38. IceInternal
      ThreadPool$EventHandlerThread.run
      1. IceInternal.ThreadPool.run(ThreadPool.java:395)
      2. IceInternal.ThreadPool.access$300(ThreadPool.java:12)
      3. IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
      3 frames
    39. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame