Null pointer exception fix for #34 #36

merged 1 commit into from Jan 9, 2013


None yet
2 participants

dazappa commented Jan 9, 2013

In #34 the resource node was being checked for being null, the the TreePath wasn't. When the TreePath was null, getLastPathComponent() was trying to get the last node of a null TreePath and triggering the NPE.

This commit assigns a variable to the TreePath which is checked for being null before a resource node is gotten from it and checked for being null.

IsmAvatar added a commit that referenced this pull request Jan 9, 2013

Merge pull request #36 from dazappa/master
Null pointer exception fix for #34

@IsmAvatar IsmAvatar merged commit 4fa0748 into IsmAvatar:master Jan 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment