Bug #571 (closed)
Romio tests don't use omero.data.dir variable
Reported by: | jamoore | Owned by: | cxallan |
---|---|---|---|
Priority: | trivial | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
PixelsService service = new PixelsService(PixelsService.ROOT_DEFAULT);
causes
java.lang.IllegalArgumentException: Invalid directory specified for file system service:/OMERO at ome.io.nio.AbstractFileSystemService.<init>(AbstractFileSystemService.java:45) at ome.io.nio.PixelsService.<init>(PixelsService.java:21) at ome.io.nio.utests.HugePixelBufferUnitTest.setUp(Unknown Source)
Change History (6)
comment:1 Changed 17 years ago by jmoore
- Owner changed from jmoore to callan
comment:2 Changed 17 years ago by dwhitehurst-x
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 17 years ago by dwhitehurst-x
PathUtil? moved to Common:ome.util. Integration server were also affected.
comment:4 Changed 17 years ago by jmoore
- Resolution fixed deleted
- Status changed from closed to reopened
Exception in thread "OMERO.startup" org.springframework.beans.factory.access.BootstrapException?: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [OMERO.blitz]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException?: Cannot find class [ome.io.nio.utests.PropertiesUtil?] for bean with name 'properties' defined in URL [jar:file:/home/josh/glencoe_trunk/build/dist/blitz/romio-3.0-TRUNK.jar!/beanRefContext.xml]; nested exception is java.lang.ClassNotFoundException?: ome.io.nio.utests.PropertiesUtil?
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException?: Cannot find class [ome.io.nio.utests.PropertiesUtil?] for bean with name 'properties' defined in URL [jar:file:/home/josh/glencoe_trunk/build/dist/blitz/romio-3.0-TRUNK.jar!/beanRefContext.xml]; nested exception is java.lang.ClassNotFoundException?: ome.io.nio.utests.PropertiesUtil?
Caused by: java.lang.ClassNotFoundException?: ome.io.nio.utests.PropertiesUtil?
Caused by: java.lang.ClassNotFoundException?: ome.io.nio.utests.PropertiesUtil?
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController?.doPrivileged(Native Method)
comment:5 Changed 17 years ago by jmoore
- Resolution set to fixed
- Status changed from reopened to closed
svn up; java omero clean fixed.
comment:6 Changed 17 years ago by cxallan
- Keywords changed from testing to testing, iteration4
- Version 3.0-Beta1 deleted
Added PathUtil?.java singleton to tests package in ROMIO. Use PathUtil?.getInstance().getDataFilePath() for omero.data.dir.