Task #2984 (closed)
Opened 9 years ago
Closed 9 years ago
Bug: getFreeSpaceInKb throws NPE under some conditions on Windows
| Reported by: | jamoore | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.2.1 |
| Component: | General | Version: | n.a. |
| Keywords: | n.a. | Cc: | andrew.hardisty@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2010-11-25 (20) |
Description
2010-10-01 12:45:09,728 INFO [ ome.services.util.ServiceHandler] (l.Server-3) Meth: interface
ome.api.IRepositoryInfo.getFreeSpaceInKilobytes
2010-10-01 12:45:09,728 INFO [ ome.services.util.ServiceHandler] (l.Server-3) Args: ()
2010-10-01 12:45:09,759 INFO [ ome.security.basic.EventHandler] (l.Server-3) Auth:
user=52,group=54,event=1964(User),sess=20ac74a0-3bbe-4fbd-9f4a-4cb0ea9bb9a6
2010-10-01 12:45:09,759 ERROR [ ome.logic.RepositoryInfoImpl] (l.Server-3) Error retrieving usage in KB.
java.lang.NullPointerException
at org.apache.commons.io.FileSystemUtils.freeSpaceWindows(FileSystemUtils.java:217)
at org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:194)
at org.apache.commons.io.FileSystemUtils.freeSpaceKb(FileSystemUtils.java:166)
at ome.tools.FileSystem.free(FileSystem.java:131)
at ome.logic.RepositoryInfoImpl.getFreeSpaceInKilobytes(RepositoryInfoImpl.java:158)
Change History (3)
comment:1 Changed 9 years ago by jmoore
comment:2 Changed 9 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.2.1
- Sprint set to 2020-11-25 (20)
comment:3 Changed 9 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
This has been handled by a check in insight. See http://trac.openmicroscopy.org.uk/shoola/ticket/1761
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
See http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=477&p=1507#p1507