Task #9029 (closed)
Opened 7 years ago
Closed 7 years ago
Bug: Write-method not permitted in PixelBuffers
| Reported by: | cblackburn | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-4.4 |
| Component: | Bin-Services | Version: | n.a. |
| Keywords: | n.a. | Cc: | cxallan, jamoore, jburel, sylittlewood |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2012-06-05 (16) |
Description
This error occurs in several tests including those where an image is imported. The same exception is raised for CLI import. See below.
Change History (2)
comment:1 Changed 7 years ago by cblackburn
comment:2 Changed 7 years ago by cblackburn
- Resolution set to invalid
- Status changed from new to closed
Down to failure to clean /OMERO
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
jrs-macbookpro-25031:dist cblackburn$ bin/omero import ../../../Images/dv/CFPNEAT01_R3D.dv Previous session expired for root on localhost:4064 Server: [localhost] Username: [root] Password: Created session 91b9d211-f45c-4937-a4ab-3cd4a4193362 (root@localhost:4064). Idle timeout: 10.0 min. Current group: system 2012-05-30 13:45:33,578 0 [ main] INFO ome.formats.importer.ImportConfig - OMERO Version: 4.3.3-DEV-ice33 2012-05-30 13:45:33,582 4 [ main] INFO ome.formats.importer.ImportConfig - Bioformats version: 4.4-DEV revision: fe76a92 date: 30 May 2012 2012-05-30 13:45:33,587 9 [ main] INFO formats.importer.cli.CommandLineImporter - Log levels -- Bio-Formats: ERROR OMERO.importer: INFO 2012-05-30 13:45:33,818 240 [ main] INFO ome.formats.importer.ImportCandidates - Depth: 4 Metadata Level: MINIMUM 2012-05-30 13:45:34,439 861 [ main] INFO ome.formats.importer.ImportCandidates - 1 file(s) parsed into 1 group(s) with 1 call(s) to setId in 618ms. (621ms total) [0 unknowns] 2012-05-30 13:45:34,895 1317 [ main] WARN ome.system.UpgradeCheck - UPGRADE AVAILABLE:Please upgrade to Beta-4.3.4 See http://trac.openmicroscopy.org.uk/omero for the latest version 2012-05-30 13:45:34,948 1370 [ main] INFO ome.formats.OMEROMetadataStoreClient - Attempting initial SSL connection to localhost:4064 2012-05-30 13:45:35,369 1791 [ main] INFO ome.formats.OMEROMetadataStoreClient - Insecure connection requested, falling back 2012-05-30 13:45:35,502 1924 [ main] INFO ome.formats.OMEROMetadataStoreClient - Server: 4.3.3 2012-05-30 13:45:35,502 1924 [ main] INFO ome.formats.OMEROMetadataStoreClient - Client: Beta4.3.3-DEV-ice33 2012-05-30 13:45:35,503 1925 [ main] INFO ome.formats.OMEROMetadataStoreClient - Java Version: 1.6.0_31 2012-05-30 13:45:35,503 1925 [ main] INFO ome.formats.OMEROMetadataStoreClient - OS Name: Mac OS X 2012-05-30 13:45:35,503 1925 [ main] INFO ome.formats.OMEROMetadataStoreClient - OS Arch: x86_64 2012-05-30 13:45:35,503 1925 [ main] INFO ome.formats.OMEROMetadataStoreClient - OS Version: 10.6.8 2012-05-30 13:45:35,724 2146 [ main] WARN ome.formats.enums.IQueryEnumProvider - Enumeration 'Unknown' does not exist in 'class omero.model.Correction' setting to 'Other' 2012-05-30 13:45:35,729 2151 [ main] WARN ome.formats.enums.IQueryEnumProvider - Enumeration 'Unknown' does not exist in 'class omero.model.Immersion' setting to 'Other' 2012-05-30 13:45:35,815 2237 [ main] WARN ome.formats.enums.IQueryEnumProvider - Enumeration 'Unknown' does not exist in 'class omero.model.DetectorType' setting to 'Other' 2012-05-30 13:45:35,928 2350 [ main] INFO ome.formats.importer.ImportLibrary - File format: Deltavision 2012-05-30 13:45:35,928 2350 [ main] INFO ome.formats.importer.ImportLibrary - Base reader: loci.formats.in.DeltavisionReader 2012-05-30 13:45:35,928 2350 [ main] INFO ome.formats.importer.ImportLibrary - Metadata only import? false 2012-05-30 13:45:35,928 2350 [ main] INFO ome.formats.importer.ImportLibrary - Archiving enabled? false 2012-05-30 13:45:35,928 2350 [ main] INFO ome.formats.importer.ImportLibrary - Container metadata only import? false 2012-05-30 13:45:35,929 2351 [ main] INFO ome.formats.importer.ImportLibrary - Reader is not of HCS domain, use metafile: true 2012-05-30 13:45:36,274 2696 [ main] ERROR ome.formats.importer.cli.ErrorHandler - INTERNAL_EXCEPTION: /Users/cblackburn/Work/repos/ome/dist/../../../Images/dv/CFPNEAT01_R3D.dv omero.ApiUsageException serverStackTrace = "ome.conditions.ApiUsageException: Write-method not permitted. at ome.io.nio.RomioPixelBuffer.throwIfReadOnly(RomioPixelBuffer.java:109) at ome.io.nio.RomioPixelBuffer.setRegion(RomioPixelBuffer.java:604) at ome.io.nio.RomioPixelBuffer.setTile(RomioPixelBuffer.java:882) at ome.services.RawPixelsBean.setTile(RawPixelsBean.java:777) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.EventHandler.invoke(EventHandler.java:165) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:182) at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:166) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy91.setTile(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy91.setTile(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) at ome.services.throttling.Callback.run(Callback.java:56) at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:137) at ome.services.blitz.impl.RawPixelsStoreI.setTile_async(RawPixelsStoreI.java:268) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at omero.cmd.CallContext.invoke(CallContext.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy92.setTile_async(Unknown Source) at omero.api._RawPixelsStoreTie.setTile_async(_RawPixelsStoreTie.java:309) at omero.api._RawPixelsStoreDisp.___setTile(_RawPixelsStoreDisp.java:862) at omero.api._RawPixelsStoreDisp.__dispatch(_RawPixelsStoreDisp.java:1321) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) " serverExceptionClass = "ome.conditions.ApiUsageException" message = "Write-method not permitted." at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(BasicStream.java:2243) at IceInternal.BasicStream.throwException(BasicStream.java:1632) at IceInternal.Outgoing.throwUserException(Outgoing.java:442) at omero.api._RawPixelsStoreDelM.setTile(_RawPixelsStoreDelM.java:1774) at omero.api.RawPixelsStorePrxHelper.setTile(RawPixelsStorePrxHelper.java:2435) at omero.api.RawPixelsStorePrxHelper.setTile(RawPixelsStorePrxHelper.java:2407) at ome.formats.OMEROMetadataStoreClient.setTile(OMEROMetadataStoreClient.java:2537) at ome.formats.importer.ImportLibrary.writeDataTileBased(ImportLibrary.java:900) at ome.formats.importer.ImportLibrary.importData(ImportLibrary.java:812) at ome.formats.importer.ImportLibrary.importImage(ImportLibrary.java:572) at ome.formats.importer.ImportLibrary.importCandidates(ImportLibrary.java:288) at ome.formats.importer.cli.CommandLineImporter.start(CommandLineImporter.java:141) at ome.formats.importer.cli.CommandLineImporter.main(CommandLineImporter.java:395)