Community
Participate
Working Groups
If the permissions.properties file contains something like permissions.executable=test_exA/* eclipse will throw an uncaught NullPointerException. The return from getFileExtension is not handled correctly. In the above case it will return null. I will post a patch in a bit.
Created attachment 70064 [details] Fix NullPointerException
James, this seems simple but is it really necessary? Can you formulate permissions in a way to avoid the NPE?
Of course it is possible to formulate permissions to avoid this. The problem is when a plugin developer does this. It creates exceptions that are hard to debug since the exception isn't caught.
Recommended for fixing in RC4 - a well encapsulated fix for an NPE with high value/risk ratio.
Patch looks good.
Released.