Task #12271 (closed)
Opened 5 years ago
Closed 5 years ago
Bug: java.io.IOException when setting .memo file on Windows
| Reported by: | bpindelski | Owned by: | mlinkert |
|---|---|---|---|
| Priority: | blocker | Milestone: | 5.0.2 |
| Component: | Bio-Formats | Version: | 5.0.1 |
| Keywords: | n.a. | Cc: | jamoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
This bug has been discovered as part of testing Josh's PR (https://github.com/openmicroscopy/openmicroscopy/pull/2242).
To reproduce - set omero.pixeldata.memoizer_wait to some low value, e.g. 5. This can be also reproduced during the first import to a clean server on Windows.
What happens, is that in the import log file the following line can be seen:
2014-05-13 15:58:00,917 DEBUG [ loci.formats.Memoizer] (2-thread-2) failed to save memo file: \OMERO\BioFormatsCache\C:\OMERO\ManagedRepository\root_0\2014-05\13\15-57-46.589\.test11_R3D.dv.bfmemo java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.createFileExclusively(Native Method) ~[na:1.7.0_55] at java.io.File.createNewFile(Unknown Source) ~[na:1.7.0_55] at java.io.File.createTempFile(Unknown Source) ~[na:1.7.0_55] at loci.formats.Memoizer.saveMemo(Memoizer.java:685) [formats-bsd.jar:na] at loci.formats.Memoizer.setId(Memoizer.java:487) [formats-bsd.jar:na] at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:569) [formats-api.jar:na] at ome.services.blitz.repo.CheckedPath.bfSetId(CheckedPath.java:391) [blitz.jar:na] at ome.services.blitz.repo.ManagedImportRequestI.open(ManagedImportRequestI.java:523) [blitz.jar:na] at ome.services.blitz.repo.ManagedImportRequestI.init(ManagedImportRequestI.java:210) [blitz.jar:na] at omero.cmd.HandleI.steps(HandleI.java:426) [blitz.jar:na] at omero.cmd.HandleI$1.doWork(HandleI.java:365) [blitz.jar:na] at omero.cmd.HandleI$1.doWork(HandleI.java:361) [blitz.jar:na] at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_55] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [org.springframework.aop.jar:3.0.1.RELEASE-A] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [org.springframework.aop.jar:3.0.1.RELEASE-A] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [org.springframework.aop.jar:3.0.1.RELEASE-A] at ome.services.util.Executor$Impl$Interceptor.invoke(Executor.java:576) [server.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE-A] at ome.security.basic.EventHandler.invoke(EventHandler.java:154) [server.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE-A] at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) [org.springframework.orm.jar:3.0.1.RELEASE-A] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE-A] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) [org.springframework.transaction.jar:3.0.1.RELEASE-A] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE-A] at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:241) [server.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE-A] at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) [server.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE-A] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [org.springframework.aop.jar:3.0.1.RELEASE-A] at com.sun.proxy.$Proxy69.doWork(Unknown Source) [na:na] at ome.services.util.Executor$Impl.execute(Executor.java:457) [server.jar:na] at omero.cmd.HandleI.run(HandleI.java:359) [blitz.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.7.0_55] at ome.services.util.Executor$Impl$1.call(Executor.java:498) [server.jar:na] at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_55] at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
Setting this to "blocker", but decision has to be made if to push to 5.0.3 or not.
Change History (1)
comment:1 Changed 5 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
PR opened: https://github.com/openmicroscopy/bioformats/pull/1095