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

Opened 10 years ago

Closed 10 years ago

BUG:Object deleted check

Reported by: omero-qa Owned by: jburel
Priority: minor Milestone: Unscheduled
Component: from QA Version: n.a.
Keywords: n.a. Cc: emilie.brasset@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

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

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot update the object.

	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:860)

	at org.openmicroscopy.shoola.env.data.OMEROGateway.createObject(OMEROGateway.java:3018)

	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.createDataObject(OmeroDataServiceImpl.java:329)

	at org.openmicroscopy.shoola.env.data.views.calls.DataObjectSaver$1.doCall(DataObjectSaver.java:90)

	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)

	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)

	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)

	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)

	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)

	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)

	at java.lang.Thread.run(Unknown Source)

Caused by: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot update the object.

	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:860)

	at org.openmicroscopy.shoola.env.data.OMEROGateway.saveAndReturnObject(OMEROGateway.java:3113)

	at org.openmicroscopy.shoola.env.data.OMEROGateway.createObject(OMEROGateway.java:3016)

	... 9 more

Caused by: omero.ValidationException

    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.TagAnnotation#35760]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.TagAnnotation#35760]

                        	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:663)

                        	at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)

                        	at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:117)

                        	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 $Proxy103.saveAndReturnObject(Unknown Source)

                        	at sun.reflect.GeneratedMethodAccessor1791.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 $Proxy103.saveAndReturnObject(Unknown Source)

                        	at sun.reflect.GeneratedMethodAccessor1873.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.UpdateI.saveAndReturnObject_async(UpdateI.java:64)

                        	at sun.reflect.GeneratedMethodAccessor1872.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 $Proxy104.saveAndReturnObject_async(Unknown Source)

                        	at omero.api._IUpdateTie.saveAndReturnObject_async(_IUpdateTie.java:92)

                        	at omero.api._IUpdateDisp.___saveAndReturnObject(_IUpdateDisp.java:185)

                        	at omero.api._IUpdateDisp.__dispatch(_IUpdateDisp.java:365)

                        	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.ValidationException"

    message = "No row with the given identifier exists: [ome.model.annotations.TagAnnotation#35760]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.TagAnnotation#35760]"

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

	at java.lang.reflect.Constructor.newInstance(Unknown Source)

	at java.lang.Class.newInstance0(Unknown Source)

	at java.lang.Class.newInstance(Unknown Source)

	at IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(BasicStream.java:2243)

	at IceInternal.BasicStream.throwException(BasicStream.java:1632)

	at IceInternal.Outgoing.throwUserException(Outgoing.java:442)

	at omero.api._IUpdateDelM.saveAndReturnObject(_IUpdateDelM.java:248)

	at omero.api.IUpdatePrxHelper.saveAndReturnObject(IUpdatePrxHelper.java:322)

	at omero.api.IUpdatePrxHelper.saveAndReturnObject(IUpdatePrxHelper.java:294)

	at org.openmicroscopy.shoola.env.data.OMEROGateway.saveAndReturnObject(OMEROGateway.java:3110)

	... 10 more



	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:189)

	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:287)

	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:257)

	at org.openmicroscopy.shoola.agents.treeviewer.DataTreeViewerLoader.handleException(DataTreeViewerLoader.java:177)

	at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:84)

	at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124)

	at java.awt.event.InvocationEvent.dispatch(Unknown Source)

	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

	at java.awt.EventQueue.access$000(Unknown Source)

	at java.awt.EventQueue$1.run(Unknown Source)

	at java.awt.EventQueue$1.run(Unknown Source)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

	at java.awt.EventQueue.dispatchEvent(Unknown Source)

	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

	at java.awt.EventDispatchThread.run(Unknown Source)

Change History (1)

comment:1 Changed 10 years ago by jburel

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

see #10358

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

We're Hiring!