Menu ▾ ▴

#81 Class without package causes NPE

open-accepted
None
5
2009-11-15
2009-06-10
Anonymous
No

JadClipse 3.4, when I open class file that is in package root folder, I get NPE because net.sf.jdtdecompiler.jad.JadDecompiler.extractPackagePath(String) returns null and new File(rootPath, null) results in NPE, you should use rootPath in this case.

Discussion

  • Johann Gyger

    Johann Gyger - 2009-11-15
    • assigned_to: nobody --> jgyger
    • status: open --> open-accepted
     

Log in to post a comment.