Results for “java method class code error python install site:bugs.java.com package”
bugs.java.com
Bug ID: JDK-8166700 NPE during invoking getEnclosedElements() on...
public class Test54 { static class Nested { static { class Local { } } } }. When this code is a subject of annotation processing NPE is thrown when annotation processor invokes getEnclosedElements() on the Element instance representing a package: java.lang.NullPointerException.