Opened 17 years ago

Closed 17 years ago

#745 closed defect (fixed)

NullPointerException in File.getSize()

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.4.1
Component: core Version:
Keywords: Cc:


I get a NullPointerException in File.getSize() after a migration with quickTransfer set to true. Seems to be caused by not checking if a file has been uploaded or not. Here is the stacktrace:

  at net.sf.basedb.core.File.getAbsolutePath(
  at net.sf.basedb.core.File.getSize(
  at org.apache.jsp.filemanager.files.list_005ffiles_jsp._jspService(

Change History (2)

comment:1 by Nicklas Nordborg, 17 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [3710]) Fixes #745: NullPointerException in File.getSize() References #628 and #575.

Note: See TracTickets for help on using tickets.