Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #571 (closed)

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

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

Added PathUtil?.java singleton to tests package in ROMIO. Use PathUtil?.getInstance().getDataFilePath() for omero.data.dir.

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
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64001 sec.)

We're Hiring!