[ome-users] Unable to delete data set folder/container and/orimages in data set folder/container.

Smith, Stuart C Stuart.C.Smith at pfizer.com
Wed Apr 29 16:10:45 BST 2009


Just a quick update to let you know that after re-installing OME Server
4.0.2 & Client 4.0.2, this problem has now been solved.

 

Thanks guys,

 

 

From: ome-users-bounces at lists.openmicroscopy.org.uk
[mailto:ome-users-bounces at lists.openmicroscopy.org.uk] On Behalf Of
Smith, Stuart C
Sent: 23 April 2009 16:50
To: ome-users at lists.openmicroscopy.org.uk
Subject: [ome-users] Unable to delete data set folder/container
and/orimages in data set folder/container.

 

I am having a play with your system & have noticed that I am unable to
delete "images" contained within "Data Set" folders/containers, and am
also unable to delete a "data set" containing "images", but can delete
"projects" containing these "data sets" & "images".  Therefore the only
way to delete a "data set/s" or "image/s" is to delete the whole
project, which isn't ideal, if you only want to delete a certain "data
set" or "image".

 

If the "data set" is empty and has not had any images imported in to it,
it can be deleted without error.   Therefore it would seem the "images"
are locking the "data sets" and preventing deletion, but not the
"Project".

 

I have tried this with an "Admin" account & still unable to delete
individual "images" or "data sets".  

 

This is the error when I try to delete an "image".

 

************************************************************************
*********

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

Cannot delete the image: omero.rtypes$RLongI at 33

                at
org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGat
eway.java:332)

                at
org.openmicroscopy.shoola.env.data.OMEROGateway.checkImage(OMEROGateway.
java:4102)

                at
org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.delete(OmeroData
ServiceImpl.java:186)

                at
org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.delete(OmeroData
ServiceImpl.java:1202)

                at
org.openmicroscopy.shoola.env.data.views.calls.DataObjectRemover$1.doCal
l(DataObjectRemover.java:75)

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

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

                at
org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(Compo
siteBatchCall.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(As
yncProcessor.java:91)

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

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

Cannot access Delete service.

                at
org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGat
eway.java:332)

                at
org.openmicroscopy.shoola.env.data.OMEROGateway.getDeleteService(OMEROGa
teway.java:745)

                at
org.openmicroscopy.shoola.env.data.OMEROGateway.checkImage(OMEROGateway.
java:4099)

                ... 10 more

Caused by: omero.InternalException

    serverStackTrace = ""

    serverExceptionClass =
"org.springframework.beans.factory.BeanCreationException"

    message = "Error creating bean with name 'omero.api.IDelete' defined
in URL
[jar:file:/C:/omero_dist/lib/server/blitz.jar!/ome/services/blitz-servan
tDefinitions.xml]: Cannot create inner bean
'ome.services.blitz.impl.DeleteI#875dee' of type
[ome.services.blitz.impl.DeleteI] while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'ome.services.blitz.impl.DeleteI#875dee' defined in URL
[jar:file:/C:/omero_dist/lib/server/blitz.jar!/ome/services/blitz-servan
tDefinitions.xml]: Initialization of bean failed; nested exception is
ome.services.blitz.util.ApiConsistencyException: 

               Missing method: deletePlate

               

               Method mismatch between:

               native Java:[public abstract void
ome.api.IDelete.deleteImages(java.util.Set,boolean) throws
ome.conditions.SecurityViolation,ome.conditions.ValidationException,ome.
conditions.ApiUsageException, public abstract java.util.List
ome.api.IDelete.checkImageDelete(long,boolean), public abstract void
ome.api.IDelete.deletePlate(long), public abstract void
ome.api.IDelete.deleteSettings(long), public abstract void
ome.api.IDelete.deleteImagesByDataset(long,boolean) throws
ome.conditions.SecurityViolation,ome.conditions.ValidationException,ome.
conditions.ApiUsageException, public abstract java.util.List
ome.api.IDelete.previewImageDelete(long,boolean), public abstract void
ome.api.IDelete.deleteImage(long,boolean) throws
ome.conditions.SecurityViolation,ome.conditions.ValidationException,ome.
conditions.ApiUsageException]

               and Blitz:[public abstract void
omero.api._IDeleteOperations.deleteImages_async(omero.api.AMD_IDelete_de
leteImages,java.util.List,boolean,Ice.Current) throws
omero.ApiUsageException,omero.SecurityViolation,omero.ServerError,omero.
ValidationException, public abstract void
omero.api._IDeleteOperations.checkImageDelete_async(omero.api.AMD_IDelet
e_checkImageDelete,long,boolean,Ice.Current) throws omero.ServerError,
public abstract void
omero.api._IDeleteOperations.deleteSettings_async(omero.api.AMD_IDelete_
deleteSettings,long,Ice.Current) throws omero.ServerError, public
abstract void
omero.api._IDeleteOperations.previewImageDelete_async(omero.api.AMD_IDel
ete_previewImageDelete,long,boolean,Ice.Current) throws
omero.ServerError, public abstract void
omero.api._IDeleteOperations.deleteImagesByDataset_async(omero.api.AMD_I
Delete_deleteImagesByDataset,long,boolean,Ice.Current) throws
omero.ApiUsageException,omero.SecurityViolation,omero.ServerError,omero.
ValidationException, public abstract void
omero.api._IDeleteOperations.deleteImage_async(omero.api.AMD_IDelete_del
eteImage,long,boolean,Ice.Current) throws
omero.ApiUsageException,omero.SecurityViolation,omero.ServerError,omero.
ValidationException]"

                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(Basic
Stream.java:2127)

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

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

                at
omero.api._ServiceFactoryDelM.getDeleteService(_ServiceFactoryDelM.java:
819)

                at
omero.api.ServiceFactoryPrxHelper.getDeleteService(ServiceFactoryPrxHelp
er.java:868)

                at
omero.api.ServiceFactoryPrxHelper.getDeleteService(ServiceFactoryPrxHelp
er.java:840)

                at
org.openmicroscopy.shoola.env.data.OMEROGateway.getDeleteService(OMEROGa
teway.java:740)

                ... 11 more

 

                at
org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNo
tifierImpl.java:128)

                at
org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifi
erImpl.java:179)

                at
org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifi
erImpl.java:168)

                at
org.openmicroscopy.shoola.agents.treeviewer.DataTreeViewerLoader.handleE
xception(DataTreeViewerLoader.java:150)

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

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

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

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

                at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

************************************************************************
*********

 

I hope that makes sense.

 

Stuart

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20090429/2418e561/attachment.html>


More information about the ome-users mailing list