NPE in Klass.isPublic

Alan Bateman Alan.Bateman at Sun.COM
Wed Nov 4 04:30:53 PST 2009


Mandy - I ran into another NPE with the class analyzer:

Exception in thread "main" java.lang.NullPointerException
        at com.sun.classanalyzer.Klass.isPublic(Klass.java:94)
        at 
com.sun.classanalyzer.ClassAnalyzer.printPackagesSummary(ClassAnalyzer.java:252)
        at com.sun.classanalyzer.ClassAnalyzer.main(ClassAnalyzer.java:141)

I haven't had time to examine this in detail but it looks like the 
access flags aren't set. Have you seen this?

-Alan.




More information about the jigsaw-dev mailing list