When deleting a folder with certain permissions assigned, NullpointerException will be thrown. I did some debug and found the error is in org.apache.slide.store.impl.rdbms.CommonRDBMSAdapter.revokePermission( Connection connection, Uri uri, NodePermission permission) when executing statement.setString(4, revisionNumber.toString(), it found revisionNumber is null. I don't understand why permission has a revision no and I found in the table PERMISSIONS all records' VERSION_NO(I assume this is the revision no) columns are having "null" values. I think this is a bug.
I have a patch for this at work. I'll take care of it tomorrow.
Why not just doing this: statement.setString(4, revisionNumber == null ? null : revisionNumber.toString());
I fixed this issue in StandardRDBMSAdapter some time ago like so: http://article.gmane.org/gmane.comp.jakarta.slide.devel/9797/
I've committed the fix I mentioned above. Please cross-check and close.