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"

Task #2984 (closed)

Opened 14 years ago

Closed 13 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:2 Changed 13 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-Beta4.2.1
  • Sprint set to 2020-11-25 (20)

comment:3 Changed 13 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.

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

We're Hiring!