<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>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.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Thanks guys,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>
ome-users-bounces@lists.openmicroscopy.org.uk
[mailto:ome-users-bounces@lists.openmicroscopy.org.uk] <b>On Behalf Of </b>Smith,
Stuart C<br>
<b>Sent:</b> 23 April 2009 16:50<br>
<b>To:</b> ome-users@lists.openmicroscopy.org.uk<br>
<b>Subject:</b> [ome-users] Unable to delete data set folder/container
and/orimages in data set folder/container.<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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”.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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”.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I have tried this with an “Admin” account &
still unable to delete individual “images” or “data
sets”. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>This is the error when I try to delete an
“image”.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>*********************************************************************************<o:p></o:p></p>
<p class=MsoNormal>java.lang.Exception:
org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. <o:p></o:p></p>
<p class=MsoNormal>Cannot delete the image: omero.rtypes$RLongI@33<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:332)<o:p></o:p></p>
<p class=MsoNormal>
at org.openmicroscopy.shoola.env.data.OMEROGateway.checkImage(OMEROGateway.java:4102)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.delete(OmeroDataServiceImpl.java:186)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.delete(OmeroDataServiceImpl.java:1202)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.views.calls.DataObjectRemover$1.doCall(DataObjectRemover.java:75)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:145)<o:p></o:p></p>
<p class=MsoNormal>
at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)<o:p></o:p></p>
<p class=MsoNormal>
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)<o:p></o:p></p>
<p class=MsoNormal>
at java.lang.Thread.run(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>Caused by:
org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. <o:p></o:p></p>
<p class=MsoNormal>Cannot access Delete service.<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:332)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.OMEROGateway.getDeleteService(OMEROGateway.java:745)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.OMEROGateway.checkImage(OMEROGateway.java:4099)<o:p></o:p></p>
<p class=MsoNormal>
... 10 more<o:p></o:p></p>
<p class=MsoNormal>Caused by: omero.InternalException<o:p></o:p></p>
<p class=MsoNormal> serverStackTrace = ""<o:p></o:p></p>
<p class=MsoNormal> serverExceptionClass =
"org.springframework.beans.factory.BeanCreationException"<o:p></o:p></p>
<p class=MsoNormal> message = "Error creating bean with
name 'omero.api.IDelete' defined in URL
[jar:file:/C:/omero_dist/lib/server/blitz.jar!/ome/services/blitz-servantDefinitions.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-servantDefinitions.xml]:
Initialization of bean failed; nested exception is ome.services.blitz.util.ApiConsistencyException:
<o:p></o:p></p>
<p class=MsoNormal>
Missing method: deletePlate<o:p></o:p></p>
<p class=MsoNormal>
<o:p></o:p></p>
<p class=MsoNormal>
Method mismatch between:<o:p></o:p></p>
<p class=MsoNormal>
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]<o:p></o:p></p>
<p class=MsoNormal>
and Blitz:[public abstract void omero.api._IDeleteOperations.deleteImages_async(omero.api.AMD_IDelete_deleteImages,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_IDelete_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_IDelete_previewImageDelete,long,boolean,Ice.Current)
throws omero.ServerError, public abstract void
omero.api._IDeleteOperations.deleteImagesByDataset_async(omero.api.AMD_IDelete_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_deleteImage,long,boolean,Ice.Current)
throws
omero.ApiUsageException,omero.SecurityViolation,omero.ServerError,omero.ValidationException]"<o:p></o:p></p>
<p class=MsoNormal>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<o:p></o:p></p>
<p class=MsoNormal>
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.lang.reflect.Constructor.newInstance(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.lang.Class.newInstance0(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.lang.Class.newInstance(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at
IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(BasicStream.java:2127)<o:p></o:p></p>
<p class=MsoNormal>
at IceInternal.BasicStream.throwException(BasicStream.java:1541)<o:p></o:p></p>
<p class=MsoNormal>
at IceInternal.Outgoing.throwUserException(Outgoing.java:442)<o:p></o:p></p>
<p class=MsoNormal>
at omero.api._ServiceFactoryDelM.getDeleteService(_ServiceFactoryDelM.java:819)<o:p></o:p></p>
<p class=MsoNormal>
at omero.api.ServiceFactoryPrxHelper.getDeleteService(ServiceFactoryPrxHelper.java:868)<o:p></o:p></p>
<p class=MsoNormal>
at
omero.api.ServiceFactoryPrxHelper.getDeleteService(ServiceFactoryPrxHelper.java:840)<o:p></o:p></p>
<p class=MsoNormal>
at org.openmicroscopy.shoola.env.data.OMEROGateway.getDeleteService(OMEROGateway.java:740)<o:p></o:p></p>
<p class=MsoNormal>
... 11 more<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:128)<o:p></o:p></p>
<p class=MsoNormal>
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:179)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:168)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.agents.treeviewer.DataTreeViewerLoader.handleException(DataTreeViewerLoader.java:150)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:84)<o:p></o:p></p>
<p class=MsoNormal>
at
org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124)<o:p></o:p></p>
<p class=MsoNormal>
at java.awt.event.InvocationEvent.dispatch(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.awt.EventQueue.dispatchEvent(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>
at java.awt.EventDispatchThread.run(Unknown Source)<o:p></o:p></p>
<p class=MsoNormal>*********************************************************************************<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I hope that makes sense.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Stuart<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>