[ome-devel] CLI import, exception when trying to add annotation link

Niko Ehrenfeuchter nikolaus.ehrenfeuchter at unibas.ch
Thu Jun 4 17:06:50 BST 2015


Dear all,

first, thanks for the amazing meeting again - I really enjoyed it!

Following up on the short discussion with Jean-Marie and Sebastien, I 
tried adding an annotation link during an image import, but I keep on 
getting this error (tried on 5.0.8 and 5.1.2):

> ome.conditions.ValidationException: No row with the given identifier
> exists: [ome.model.annotations.CommentAnnotation#25474]; nested
> exception is org.hibernate.ObjectNotFoundException: No row with the
> given identifier exists:
> [ome.model.annotations.CommentAnnotation#25474]

Please find the full log of the import run in the attached file.

The command used to produce this error was:

> bin/omero import -d 83 --annotation-link 25474 -- --debug=ALL ~/cairn.jpg

An annotation with the given ID is already existing and used on another 
image in OMERO (the annotation link was created via the webclient).


Am I doing something wrong?

Cheers
~Niko

-------------- next part --------------
Using session 6a78a6bf-0808-434d-be62-3fb6de57fdb7 (demo01 at localhost:4064). Idle timeout: 10 min. Current group: Sandbox Lab
2015-06-04 17:03:36,753 350        [      main] INFO          ome.formats.importer.ImportConfig - OMERO Version: 5.1.2-ice35-b45
2015-06-04 17:03:36,771 368        [      main] INFO          ome.formats.importer.ImportConfig - Bioformats version: 5.1.2-ice35-b45 revision: 923bf020f921d8bfcef203f407fc94855e5b03f0 date: 27 May 2015
2015-06-04 17:03:36,782 379        [      main] INFO   formats.importer.cli.CommandLineImporter - Log levels -- Bio-Formats: ALL OMERO.importer: ALL
2015-06-04 17:03:36,863 460        [      main] DEBUG         ome.formats.importer.ImportConfig - Loaded savedDirectory from ome.formats.importer.util.IniFileLoader at 5a8e3ede
2015-06-04 17:03:36,863 460        [      main] DEBUG         ome.formats.importer.ImportConfig - Loaded savedDirectory from default
2015-06-04 17:03:36,914 511        [      main] DEBUG                loci.formats.FormatHandler - 3i SlideBook SBReadFile library not found. Please see http://www.openmicroscopy.org/site/support/bio-formats/formats/3i-slidebook6-sld.html for details.
java.lang.UnsatisfiedLinkError: no SlideBook6Reader in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) ~[na:1.7.0_09]
	at java.lang.Runtime.loadLibrary0(Runtime.java:845) ~[na:1.7.0_09]
	at java.lang.System.loadLibrary(System.java:1084) ~[na:1.7.0_09]
	at loci.formats.in.SlideBook6Reader.<clinit>(SlideBook6Reader.java:88) ~[formats-gpl.jar:na]
	at java.lang.Class.forName0(Native Method) [na:1.7.0_09]
	at java.lang.Class.forName(Class.java:186) [na:1.7.0_09]
	at loci.formats.ClassList.<init>(ClassList.java:127) [formats-api.jar:na]
	at loci.formats.ClassList.<init>(ClassList.java:85) [formats-api.jar:na]
	at loci.formats.ImageReader.getDefaultReaderClasses(ImageReader.java:78) [formats-api.jar:na]
	at ome.formats.importer.OMEROWrapper.createReader(OMEROWrapper.java:130) [blitz.jar:na]
	at ome.formats.importer.OMEROWrapper.<init>(OMEROWrapper.java:93) [blitz.jar:na]
	at ome.formats.importer.OMEROWrapper.<init>(OMEROWrapper.java:89) [blitz.jar:na]
	at ome.formats.importer.cli.CommandLineImporter.<init>(CommandLineImporter.java:127) [blitz.jar:na]
	at ome.formats.importer.cli.CommandLineImporter.main(CommandLineImporter.java:856) [blitz.jar:na]
2015-06-04 17:03:37,184 781        [      main] TRACE                      loci.common.Location - Location(/usr/java/jdk1.7.0_09/lib:/usr/lib64:/usr/pgsql-9.2/lib::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib/QTJava.zip)
2015-06-04 17:03:37,186 783        [      main] TRACE                      loci.common.Location - Location is not a URL
2015-06-04 17:03:37,196 793        [      main] TRACE                loci.formats.FormatHandler - Nikon ND2 library not found. Please see http://www.openmicroscopy.org/site/support/bio-formats/formats/nikon-nis-elements-nd2.html for details.
java.lang.UnsatisfiedLinkError: no LegacyND2Reader in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) ~[na:1.7.0_09]
	at java.lang.Runtime.loadLibrary0(Runtime.java:845) ~[na:1.7.0_09]
	at java.lang.System.loadLibrary(System.java:1084) ~[na:1.7.0_09]
	at loci.formats.in.LegacyND2Reader.<clinit>(LegacyND2Reader.java:65) ~[formats-gpl.jar:na]
	at loci.formats.in.ND2Reader.<init>(ND2Reader.java:47) [formats-gpl.jar:na]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_09]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_09]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_09]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [na:1.7.0_09]
	at java.lang.Class.newInstance0(Class.java:372) [na:1.7.0_09]
	at java.lang.Class.newInstance(Class.java:325) [na:1.7.0_09]
	at loci.formats.ImageReader.<init>(ImageReader.java:126) [formats-api.jar:na]
	at loci.formats.in.FilePatternReader.<init>(FilePatternReader.java:79) [formats-bsd.jar:na]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_09]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_09]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_09]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [na:1.7.0_09]
	at java.lang.Class.newInstance0(Class.java:372) [na:1.7.0_09]
	at java.lang.Class.newInstance(Class.java:325) [na:1.7.0_09]
	at loci.formats.ImageReader.<init>(ImageReader.java:126) [formats-api.jar:na]
	at loci.formats.ImageReader.<init>(ImageReader.java:115) [formats-api.jar:na]
	at ome.formats.importer.OMEROWrapper.createReader(OMEROWrapper.java:148) [blitz.jar:na]
	at ome.formats.importer.OMEROWrapper.<init>(OMEROWrapper.java:93) [blitz.jar:na]
	at ome.formats.importer.OMEROWrapper.<init>(OMEROWrapper.java:89) [blitz.jar:na]
	at ome.formats.importer.cli.CommandLineImporter.<init>(CommandLineImporter.java:127) [blitz.jar:na]
	at ome.formats.importer.cli.CommandLineImporter.main(CommandLineImporter.java:856) [blitz.jar:na]
2015-06-04 17:03:37,262 859        [      main] INFO      ome.formats.importer.ImportCandidates - Depth: 4 Metadata Level: MINIMUM
2015-06-04 17:03:37,264 861        [      main] DEBUG     ome.formats.importer.cli.ErrorHandler - SCANNING: Depth:0 Num:    1 Tot:  n/a File: eronas/cairn.jpg
2015-06-04 17:03:37,265 862        [      main] DEBUG                      loci.common.Location - Location.mapFile: embedded-stream.raw -> null
2015-06-04 17:03:37,266 863        [      main] DEBUG                      loci.common.Location - Location.mapFile: embedded-stream.raw -> null
2015-06-04 17:03:37,268 865        [      main] TRACE                      loci.common.Location - Location(/home/omeronas/cairn.jpg)
2015-06-04 17:03:37,268 865        [      main] TRACE                      loci.common.Location - Location is not a URL
2015-06-04 17:03:37,268 865        [      main] DEBUG                     loci.formats.Memoizer - skipping memo: no directory given
2015-06-04 17:03:37,268 865        [      main] TRACE                      loci.common.Location - getHandle(id = /home/omeronas/cairn.jpg, writable = false)
2015-06-04 17:03:37,268 865        [      main] TRACE                      loci.common.Location - no handle was mapped for this ID
2015-06-04 17:03:37,275 872        [      main] DEBUG         loci.common.NIOByteBufferProvider - Using mapped byte buffer? false
2015-06-04 17:03:37,276 873        [      main] TRACE                      loci.common.Location - Location.getHandle: /home/omeronas/cairn.jpg -> loci.common.NIOFileHandle at 5c6d416
2015-06-04 17:03:37,277 874        [      main] TRACE                      loci.common.Location - getHandle(id = /home/omeronas/cairn.jpg, writable = false)
2015-06-04 17:03:37,277 874        [      main] TRACE                      loci.common.Location - no handle was mapped for this ID
2015-06-04 17:03:37,277 874        [      main] TRACE                      loci.common.Location - Location.getHandle: /home/omeronas/cairn.jpg -> loci.common.NIOFileHandle at 5c1ff7c6
2015-06-04 17:03:37,277 874        [      main] TRACE       loci.common.RandomAccessInputStream - RandomAccessInputStream 918820714 OPEN
2015-06-04 17:03:37,278 875        [      main] TRACE       loci.common.RandomAccessInputStream - RandomAccessInputStream 918820714 CLOSE
2015-06-04 17:03:37,278 875        [      main] TRACE                      loci.common.Location - getHandle(id = /home/omeronas/cairn.jpg, writable = false)
2015-06-04 17:03:37,278 875        [      main] TRACE                      loci.common.Location - no handle was mapped for this ID
2015-06-04 17:03:37,278 875        [      main] TRACE                      loci.common.Location - Location.getHandle: /home/omeronas/cairn.jpg -> loci.common.NIOFileHandle at 3dd4c3d
2015-06-04 17:03:37,278 875        [      main] TRACE       loci.common.RandomAccessInputStream - RandomAccessInputStream 901266118 OPEN
2015-06-04 17:03:37,278 875        [      main] TRACE       loci.common.RandomAccessInputStream - RandomAccessInputStream 901266118 CLOSE
2015-06-04 17:03:37,278 875        [      main] INFO                   loci.formats.ImageReader - JPEGReader initializing /home/omeronas/cairn.jpg
2015-06-04 17:03:37,278 875        [      main] DEBUG                loci.formats.FormatHandler - JPEGReader initializing /home/omeronas/cairn.jpg
2015-06-04 17:03:37,278 875        [      main] DEBUG                loci.formats.FormatHandler - loci.formats.in.JPEGReader.initFile(/home/omeronas/cairn.jpg)
2015-06-04 17:03:37,292 889        [      main] DEBUG                loci.formats.FormatHandler - DefaultJPEGReader initializing /home/omeronas/cairn.jpg
2015-06-04 17:03:37,292 889        [      main] DEBUG                loci.formats.FormatHandler - loci.formats.in.JPEGReader$DefaultJPEGReader.initFile(/home/omeronas/cairn.jpg)
2015-06-04 17:03:37,292 889        [      main] INFO                 loci.formats.FormatHandler - Populating metadata
2015-06-04 17:03:37,292 889        [      main] TRACE                      loci.common.Location - getHandle(id = /home/omeronas/cairn.jpg, writable = false)
2015-06-04 17:03:37,292 889        [      main] TRACE                      loci.common.Location - no handle was mapped for this ID
2015-06-04 17:03:37,292 889        [      main] TRACE                      loci.common.Location - Location.getHandle: /home/omeronas/cairn.jpg -> loci.common.NIOFileHandle at af08a49
2015-06-04 17:03:37,292 889        [      main] TRACE       loci.common.RandomAccessInputStream - RandomAccessInputStream 906413115 OPEN
2015-06-04 17:03:37,344 941        [      main] TRACE       loci.common.RandomAccessInputStream - RandomAccessInputStream 906413115 CLOSE
2015-06-04 17:03:37,344 941        [      main] TRACE       loci.common.RandomAccessInputStream - RandomAccessInputStream 906413115 CLOSE
2015-06-04 17:03:37,361 958        [      main] TRACE                      loci.common.Location - Location(/home/omeronas/cairn.jpg)
2015-06-04 17:03:37,361 958        [      main] TRACE                      loci.common.Location - Location is not a URL
2015-06-04 17:03:37,365 962        [      main] DEBUG       loci.common.services.ServiceFactory - Loaded properties from: services.properties
2015-06-04 17:03:37,366 963        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.POIService and implementation class loci.formats.services.POIServiceImpl
2015-06-04 17:03:37,367 964        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.MDBService and implementation class loci.formats.services.MDBServiceImpl
2015-06-04 17:03:37,367 964        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.JPEGTurboService and implementation class loci.formats.services.JPEGTurboServiceImpl
2015-06-04 17:03:37,368 965        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.JAIIIOService and implementation class loci.formats.services.JAIIIOServiceImpl
2015-06-04 17:03:37,368 965        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.WlzService and implementation class loci.formats.services.WlzServiceImpl
2015-06-04 17:03:37,369 966        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.JHDFService and implementation class loci.formats.services.JHDFServiceImpl
2015-06-04 17:03:37,370 967        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.NetCDFService and implementation class loci.formats.services.NetCDFServiceImpl
2015-06-04 17:03:37,371 968        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.EXIFService and implementation class loci.formats.services.EXIFServiceImpl
2015-06-04 17:03:37,371 968        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.MetakitService and implementation class loci.formats.services.MetakitServiceImpl
2015-06-04 17:03:37,372 969        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.LuraWaveService and implementation class loci.formats.services.LuraWaveServiceImpl
2015-06-04 17:03:37,373 970        [      main] DEBUG       loci.common.services.ServiceFactory - Added interface interface loci.formats.services.OMEXMLService and implementation class loci.formats.services.OMEXMLServiceImpl
2015-06-04 17:03:37,377 974        [      main] INFO                 loci.formats.FormatHandler - Parsing JPEG EXIF data
2015-06-04 17:03:37,440 1037       [      main] DEBUG                     loci.formats.Memoizer - start[1433433817268] time[172] tag[loci.formats.Memoizer.setId]
2015-06-04 17:03:37,448 1045       [      main] DEBUG                      loci.common.Location - Location.mapFile: embedded-stream.raw -> null
2015-06-04 17:03:37,448 1045       [      main] DEBUG                      loci.common.Location - Location.mapFile: embedded-stream.raw -> null
2015-06-04 17:03:37,449 1046       [      main] DEBUG     ome.formats.importer.cli.ErrorHandler - SCANNING: Depth:0 Num:    1 Tot:    1 File: eronas/cairn.jpg
2015-06-04 17:03:37,450 1047       [      main] INFO      ome.formats.importer.ImportCandidates - 1 file(s) parsed into 1 group(s) with 1 call(s) to setId in 184ms. (188ms total) [0 unknowns]
2015-06-04 17:03:37,538 1135       [      main] DEBUG                   ome.system.UpgradeCheck - Attempting to connect to http://upgrade.openmicroscopy.org.uk?version=5.1.2-ice35-b45;os.name=Linux;os.arch=amd64;os.version=2.6.32-504.el6.x86_64;java.runtime.version=1.7.0_09-b05;java.vm.vendor=Oracle+Corporation
2015-06-04 17:03:37,662 1259       [      main] INFO                    ome.system.UpgradeCheck - no update needed
2015-06-04 17:03:37,734 1331       [      main] INFO       ome.formats.OMEROMetadataStoreClient - Attempting initial SSL connection to localhost:4064
2015-06-04 17:03:38,410 2007       [      main] INFO       ome.formats.OMEROMetadataStoreClient - Insecure connection requested, falling back
2015-06-04 17:03:38,541 2138       [      main] DEBUG      ome.formats.OMEROMetadataStoreClient - closing client session.
2015-06-04 17:03:38,545 2142       [      main] DEBUG      ome.formats.OMEROMetadataStoreClient - client closed.
2015-06-04 17:03:38,843 2440       [      main] INFO       ome.formats.OMEROMetadataStoreClient - Server: 5.1.2
2015-06-04 17:03:38,843 2440       [      main] INFO       ome.formats.OMEROMetadataStoreClient - Client: 5.1.2-ice35-b45
2015-06-04 17:03:38,843 2440       [      main] INFO       ome.formats.OMEROMetadataStoreClient - Java Version: 1.7.0_09
2015-06-04 17:03:38,843 2440       [      main] INFO       ome.formats.OMEROMetadataStoreClient - OS Name: Linux
2015-06-04 17:03:38,843 2440       [      main] INFO       ome.formats.OMEROMetadataStoreClient - OS Arch: amd64
2015-06-04 17:03:38,843 2440       [      main] INFO       ome.formats.OMEROMetadataStoreClient - OS Version: 2.6.32-504.el6.x86_64
2015-06-04 17:03:39,039 2636       [      main] INFO       ome.formats.OMEROMetadataStoreClient - Call context: {omero.group:9}
2015-06-04 17:03:39,072 2669       [      main] DEBUG        ome.formats.importer.ImportLibrary - Main file: /home/omeronas/cairn.jpg
2015-06-04 17:03:39,072 2669       [      main] DEBUG        ome.formats.importer.ImportLibrary - Used files before:
2015-06-04 17:03:39,072 2669       [      main] DEBUG        ome.formats.importer.ImportLibrary - /home/omeronas/cairn.jpg
2015-06-04 17:03:39,077 2674       [      main] INFO   ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_PREPARATION
2015-06-04 17:03:39,109 2706       [      main] DEBUG   ome.services.blitz.util.CurrentPlatform - recognized current operating system as being Linux
2015-06-04 17:03:39,572 3169       [      main] INFO   ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_START
2015-06-04 17:03:39,591 3188       [      main] INFO   ts.importer.transfers.UploadFileTransfer - Transferring /home/omeronas/cairn.jpg...
2015-06-04 17:03:39,631 3228       [      main] INFO   ormats.importer.cli.LoggingImportMonitor - FILE_UPLOAD_STARTED: /home/omeronas/cairn.jpg
2015-06-04 17:03:39,641 3238       [      main] DEBUG  ormats.importer.cli.LoggingImportMonitor - FILE_UPLOAD_BYTES uploaded: 0 of: 58808 bytes (ETA: 0' 0")
2015-06-04 17:03:39,648 3245       [      main] DEBUG  ormats.importer.cli.LoggingImportMonitor - FILE_UPLOAD_BYTES uploaded: 58808 of: 58808 bytes (ETA: 0' 0")
2015-06-04 17:03:39,680 3277       [      main] DEBUG  formats.importer.transfers.TransferState - demo01_14/2015-06/04/17-03-39.210//cairn.jpg id=79887
2015-06-04 17:03:39,680 3277       [      main] DEBUG  formats.importer.transfers.TransferState - checksums: client=b135aa068898cf2162c45700f7f730afa2b61113,server=b135aa068898cf2162c45700f7f730afa2b61113
2015-06-04 17:03:39,680 3277       [      main] INFO   ormats.importer.cli.LoggingImportMonitor - FILE_UPLOAD_COMPLETE: /home/omeronas/cairn.jpg
2015-06-04 17:03:39,777 3374       [      main] INFO   ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_END
2015-06-04 17:03:39,885 3482       [      main] INFO   ormats.importer.cli.LoggingImportMonitor - IMPORT_STARTED Logfile: 79886
2015-06-04 17:03:40,100 3697       [l.Client-0] DEBUG  ormats.importer.cli.LoggingImportMonitor - INTERNAL_EXCEPTION: /home/omeronas/cairn.jpg
java.lang.RuntimeException: Failure response on import!
Category: ::omero::grid::ImportRequest
Name: import-request-failure
Parameters: {message=omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]", stacktrace=java.lang.RuntimeException: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]"
	at ome.formats.OMEROMetadataStoreClient.saveToDB(OMEROMetadataStoreClient.java:1868)
	at ome.services.blitz.repo.ManagedImportRequestI.importMetadata(ManagedImportRequestI.java:536)
	at ome.services.blitz.repo.ManagedImportRequestI.step(ManagedImportRequestI.java:406)
	at omero.cmd.HandleI.steps(HandleI.java:437)
	at omero.cmd.HandleI$1.doWork(HandleI.java:365)
	at omero.cmd.HandleI$1.doWork(HandleI.java:361)
	at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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.services.util.Executor$Impl$Interceptor.invoke(Executor.java:566)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111)
	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:249)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy72.doWork(Unknown Source)
	at ome.services.util.Executor$Impl.execute(Executor.java:447)
	at omero.cmd.HandleI.run(HandleI.java:359)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at ome.services.util.Executor$Impl$1.call(Executor.java:488)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at IceInternal.BasicStream.createUserException(BasicStream.java:2615)
	at IceInternal.BasicStream.access$300(BasicStream.java:12)
	at IceInternal.BasicStream$EncapsDecoder11.throwException(BasicStream.java:3406)
	at IceInternal.BasicStream.throwException(BasicStream.java:2077)
	at IceInternal.Outgoing.throwUserException(Outgoing.java:538)
	at omero.api._MetadataStoreDelM.saveToDB(_MetadataStoreDelM.java:184)
	at omero.api.MetadataStorePrxHelper.saveToDB(MetadataStorePrxHelper.java:573)
	at omero.api.MetadataStorePrxHelper.saveToDB(MetadataStorePrxHelper.java:545)
	at ome.formats.OMEROMetadataStoreClient.saveToDB(OMEROMetadataStoreClient.java:1852)
	... 34 more
}

	at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:656)
	at omero.cmd.CmdCallbackI.finished(CmdCallbackI.java:324)
	at omero.cmd._CmdCallbackDisp.___finished(_CmdCallbackDisp.java:118)
	at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:145)
	at IceInternal.Incoming.invoke(Incoming.java:222)
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
	at Ice.ConnectionI.message(ConnectionI.java:1213)
	at IceInternal.ThreadPool.run(ThreadPool.java:321)
	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
	at java.lang.Thread.run(Thread.java:722)

2015-06-04 17:03:40,101 3698       [l.Client-0] ERROR     ome.formats.importer.cli.ErrorHandler - INTERNAL_EXCEPTION: /home/omeronas/cairn.jpg
java.lang.RuntimeException: Failure response on import!
Category: ::omero::grid::ImportRequest
Name: import-request-failure
Parameters: {message=omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]", stacktrace=java.lang.RuntimeException: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]"
	at ome.formats.OMEROMetadataStoreClient.saveToDB(OMEROMetadataStoreClient.java:1868)
	at ome.services.blitz.repo.ManagedImportRequestI.importMetadata(ManagedImportRequestI.java:536)
	at ome.services.blitz.repo.ManagedImportRequestI.step(ManagedImportRequestI.java:406)
	at omero.cmd.HandleI.steps(HandleI.java:437)
	at omero.cmd.HandleI$1.doWork(HandleI.java:365)
	at omero.cmd.HandleI$1.doWork(HandleI.java:361)
	at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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.services.util.Executor$Impl$Interceptor.invoke(Executor.java:566)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111)
	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:249)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy72.doWork(Unknown Source)
	at ome.services.util.Executor$Impl.execute(Executor.java:447)
	at omero.cmd.HandleI.run(HandleI.java:359)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at ome.services.util.Executor$Impl$1.call(Executor.java:488)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at IceInternal.BasicStream.createUserException(BasicStream.java:2615)
	at IceInternal.BasicStream.access$300(BasicStream.java:12)
	at IceInternal.BasicStream$EncapsDecoder11.throwException(BasicStream.java:3406)
	at IceInternal.BasicStream.throwException(BasicStream.java:2077)
	at IceInternal.Outgoing.throwUserException(Outgoing.java:538)
	at omero.api._MetadataStoreDelM.saveToDB(_MetadataStoreDelM.java:184)
	at omero.api.MetadataStorePrxHelper.saveToDB(MetadataStorePrxHelper.java:573)
	at omero.api.MetadataStorePrxHelper.saveToDB(MetadataStorePrxHelper.java:545)
	at ome.formats.OMEROMetadataStoreClient.saveToDB(OMEROMetadataStoreClient.java:1852)
	... 34 more
}

	at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:656)
	at omero.cmd.CmdCallbackI.finished(CmdCallbackI.java:324)
	at omero.cmd._CmdCallbackDisp.___finished(_CmdCallbackDisp.java:118)
	at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:145)
	at IceInternal.Incoming.invoke(Incoming.java:222)
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
	at Ice.ConnectionI.message(ConnectionI.java:1213)
	at IceInternal.ThreadPool.run(ThreadPool.java:321)
	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
	at java.lang.Thread.run(Thread.java:722)

java.lang.RuntimeException: Failure response on import!
Category: ::omero::grid::ImportRequest
Name: import-request-failure
Parameters: {message=omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]", stacktrace=java.lang.RuntimeException: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]"
	at ome.formats.OMEROMetadataStoreClient.saveToDB(OMEROMetadataStoreClient.java:1868)
	at ome.services.blitz.repo.ManagedImportRequestI.importMetadata(ManagedImportRequestI.java:536)
	at ome.services.blitz.repo.ManagedImportRequestI.step(ManagedImportRequestI.java:406)
	at omero.cmd.HandleI.steps(HandleI.java:437)
	at omero.cmd.HandleI$1.doWork(HandleI.java:365)
	at omero.cmd.HandleI$1.doWork(HandleI.java:361)
	at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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.services.util.Executor$Impl$Interceptor.invoke(Executor.java:566)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.security.basic.EventHandler.invoke(EventHandler.java:154)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111)
	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:249)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy72.doWork(Unknown Source)
	at ome.services.util.Executor$Impl.execute(Executor.java:447)
	at omero.cmd.HandleI.run(HandleI.java:359)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at ome.services.util.Executor$Impl$1.call(Executor.java:488)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]
                        	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:249)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy72.doWork(Unknown Source)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:447)
                        	at ome.services.util.Executor$Impl.execute(Executor.java:391)
                        	at ome.services.throttling.Adapter.run(Adapter.java:51)
                        	at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:89)
                        	at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:163)
                        	at ome.services.blitz.impl.MetadataStoreI.saveToDB_async(MetadataStoreI.java:218)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                        	at java.lang.reflect.Method.invoke(Method.java:601)
                        	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:78)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy109.saveToDB_async(Unknown Source)
                        	at omero.api._MetadataStoreTie.saveToDB_async(_MetadataStoreTie.java:84)
                        	at omero.api._MetadataStoreDisp.___saveToDB(_MetadataStoreDisp.java:246)
                        	at omero.api._MetadataStoreDisp.__dispatch(_MetadataStoreDisp.java:388)
                        	at IceInternal.Incoming.invoke(Incoming.java:222)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
                        	at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
                        	at Ice.ConnectionI.message(ConnectionI.java:1213)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:321)
                        	at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
                        	at java.lang.Thread.run(Thread.java:722)
                        "
    serverExceptionClass = "ome.conditions.ValidationException"
    message = "No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [ome.model.annotations.CommentAnnotation#25474]"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at IceInternal.BasicStream.createUserException(BasicStream.java:2615)
	at IceInternal.BasicStream.access$300(BasicStream.java:12)
	at IceInternal.BasicStream$EncapsDecoder11.throwException(BasicStream.java:3406)
	at IceInternal.BasicStream.throwException(BasicStream.java:2077)
	at IceInternal.Outgoing.throwUserException(Outgoing.java:538)
	at omero.api._MetadataStoreDelM.saveToDB(_MetadataStoreDelM.java:184)
	at omero.api.MetadataStorePrxHelper.saveToDB(MetadataStorePrxHelper.java:573)
	at omero.api.MetadataStorePrxHelper.saveToDB(MetadataStorePrxHelper.java:545)
	at ome.formats.OMEROMetadataStoreClient.saveToDB(OMEROMetadataStoreClient.java:1852)
	... 34 more
}

	at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:656) ~[blitz.jar:na]
	at omero.cmd.CmdCallbackI.finished(CmdCallbackI.java:324) [blitz.jar:na]
	at omero.cmd._CmdCallbackDisp.___finished(_CmdCallbackDisp.java:118) [blitz.jar:na]
	at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:145) [blitz.jar:na]
	at IceInternal.Incoming.invoke(Incoming.java:222) [ice.jar:na]
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2482) [ice.jar:na]
	at Ice.ConnectionI.dispatch(ConnectionI.java:1258) [ice.jar:na]
	at Ice.ConnectionI.message(ConnectionI.java:1213) [ice.jar:na]
	at IceInternal.ThreadPool.run(ThreadPool.java:321) [ice.jar:na]
	at IceInternal.ThreadPool.access$300(ThreadPool.java:12) [ice.jar:na]
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693) [ice.jar:na]
	at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09]
2015-06-04 17:03:40,110 3707       [      main] ERROR        ome.formats.importer.ImportLibrary - Error on import
java.lang.Exception: Import failure
	at ome.formats.importer.ImportLibrary.importImage(ImportLibrary.java:552) ~[blitz.jar:na]
	at ome.formats.importer.ImportLibrary.importCandidates(ImportLibrary.java:287) ~[blitz.jar:na]
	at ome.formats.importer.cli.CommandLineImporter.start(CommandLineImporter.java:245) [blitz.jar:na]
	at ome.formats.importer.cli.CommandLineImporter.main(CommandLineImporter.java:858) [blitz.jar:na]
2015-06-04 17:03:40,111 3708       [      main] INFO         ome.formats.importer.ImportLibrary - Exiting on error

==> Summary
1 file uploaded, 0 filesets created, 0 images imported, 1 error in 0:00:01.149
2015-06-04 17:03:40,160 3757       [      main] DEBUG      ome.formats.OMEROMetadataStoreClient - closing client session.
2015-06-04 17:03:40,162 3759       [      main] DEBUG      ome.formats.OMEROMetadataStoreClient - client closed.
2015-06-04 17:03:40,162 3759       [      main] DEBUG      ome.formats.OMEROMetadataStoreClient - Logout called, shutting keep alive down.
2015-06-04 17:03:40,162 3759       [      main] DEBUG      ome.formats.OMEROMetadataStoreClient - keepalive shut down.


More information about the ome-devel mailing list