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

Opened 13 years ago

Closed 13 years ago

Bug: Delete ROI

Reported by: jburel Owned by: jburel
Priority: critical Milestone: OMERO-Beta4.3
Component: Insight Version: n.a.
Keywords: n.a. Cc: saloynton, m.porter@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-06-16 (14)

Description

Delete one ROI from insigth,
Image has multiple ROIs.

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot Save the ROI for image: 2831
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:875)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.saveROI(OMEROGateway.java:6618)
	at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.saveROI(OmeroImageServiceImpl.java:1339)
	at org.openmicroscopy.shoola.env.data.views.calls.ROISaver$1.doCall(ROISaver.java:74)
	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:274)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:655)
Caused by: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.roi.Roi#52]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.roi.Roi#52]
                        	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:231)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:111)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy82.deleteObject(Unknown Source)


Change History (5)

comment:1 Changed 13 years ago by jburel

  • Remaining Time set to 0.5
  • Sprint set to 2011-06-16 (14)

comment:2 Changed 13 years ago by jburel

  • Status changed from new to accepted

comment:3 Changed 13 years ago by jburel

Merging #4898

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

Comment: I right-clicked an ROI shape in the Manager tab to delete the shape (1 of 2 shapes). Then when I went to save the ROI it crashed.

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot Save the ROI for image: 3857763

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

	at org.openmicroscopy.shoola.env.data.OMEROGateway.saveROI(OMEROGateway.java:6464)

	at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.saveROI(OmeroImageServiceImpl.java:813)

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

	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:274)

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

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

Caused by: java.lang.NullPointerException

	at org.openmicroscopy.shoola.env.data.OMEROGateway.saveROI(OMEROGateway.java:6438)
)

comment:4 Changed 13 years ago by jburel

  • Cc m.porter@… added

comment:5 Changed 13 years ago by jburel <j.burel@…>

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [5d8c52e681e3d21f2e2ecf7fe996ecf352b71e3f/ome.git] on branch develop) Fix roi deletion workflow (close #5669)

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

We're Hiring!