Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SeMantic Information Logistics Architecture (SMILA) » NullPointerException in BinaryStorage
NullPointerException in BinaryStorage [message #661913] Mon, 28 March 2011 10:06 Go to previous message
SMILANewBee is currently offline SMILANewBee
Messages: 42
Registered: August 2010
Member
Hello,

we have encountered a NullPointerException in the method "deleteEmptyParentFolders" of the class "BssIOUtils". It seems that the call "leafFolder.list()" returns null so that the call of the method "length" throws a NullPointerException.

We have fixed this by adding a new condition "leafFolder.list() != null" to the while head. Is this correct or has this side effects that we have missed?
 
Read Message
Read Message
Read Message
Previous Topic:Wrong usage of read-write lock?
Next Topic:Demos wanted: SMILA Conference / 29.6.2011, Berlin --> Please answer end of week
Goto Forum:
  


Current Time: Thu May 23 16:50:52 EDT 2013

Powered by FUDForum. Page generated in 0.01723 seconds