Task #2157 (closed)
OMERO binary repository on NFS error
Reported by: | cxallan | Owned by: | cxallan |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.2 |
Component: | Bin-Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, barry.horne@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2010-04-02 (6) |
Description
When a particular user's OMERO binary repository is on NFS he gets the following exception:
2010-04-09 13:57:54,503 ERROR [ ome.logic.RepositoryInfoImpl] (l.Server-1) Error retrieving usage in KB. java.lang.NullPointerException at ome.tools.FileSystem.size(FileSystem.java:91) at ome.tools.FileSystem.size(FileSystem.java:96) at ome.tools.FileSystem.size(FileSystem.java:96) at ome.tools.FileSystem.size(FileSystem.java:96) at ome.tools.FileSystem.size(FileSystem.java:96) at ome.tools.FileSystem.used(FileSystem.java:111) at ome.logic.RepositoryInfoImpl.getUsedSpaceInKilobytes(RepositoryInfoImpl.java:183) 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:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at ome.security.basic.EventHandler.invoke(EventHandler.java:133) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) ...
Other users, including ourselves, have been able to locate OMERO binary repositories on NFS.
Change History (7)
comment:1 Changed 14 years ago by cxallan
- Owner set to cxallan
- Status changed from new to assigned
comment:2 Changed 14 years ago by cxallan
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 14 years ago by cxallan
comment:4 Changed 14 years ago by cxallan
A build has been made available which contains this bug fix:
comment:5 Changed 14 years ago by cxallan
Running a test of the used() call manually:
~/OMERO.server-Beta-4.1.2-DEV-r6600-b111/lib/server $ java -cp server.jar:libs/commons-logging.jar:libs/log4j.jar:libs/commons-io.jar ome.tools.FileSystem /OMERO Free kilobytes: 18898108 Used kilobytes: 9593902 Time prior to check: 1271152496904 Free kilobytes: 18897980 Used kilobytes: 9593902 Time after check: 1271152503623
comment:6 Changed 13 years ago by cxallan <cxallan@…>
(In [306d1c77dc28b2fb77c5e237a2e88b3195fb5130/ome.git]on branches 4_1, dev_4_1, dev_4_1_custom) Merging r6599 into the Beta4.1 branch. (See #2157)
git-svn-id: file:///home/svn/omero/branches/Beta4.1@6600 05709c45-44f0-0310-885b-81a1db45b4a6
comment:7 Changed 13 years ago by cxallan <cxallan@…>
(In [306d1c77dc28b2fb77c5e237a2e88b3195fb5130/ome.git]on branches 4_1, 4_1_custom, dev_4_1, dev_4_1_custom, josh/4.1-web-backport) Merging r6599 into the Beta4.1 branch. (See #2157)
git-svn-id: file:///home/svn/omero/branches/Beta4.1@6600 05709c45-44f0-0310-885b-81a1db45b4a6
(In [6599]) Error reporting and handler for null return value from list(). (Fixes #2157)