NPE in Klass.isPublic

Mandy Chung Mandy.Chung at Sun.COM
Wed Nov 4 07:53:40 PST 2009


I haven't seen this.  What JDK build did you use to reproduce this 
problem? 

Mandy

Alan Bateman wrote:
> 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