This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 201109280601) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows XP User Comments: jskrivanek: To reproduce: - create java web project with Context and Dependency Injection - create new java class - type @Inject @Any Event e; - fix imports, click CDI Event editor hint and it thows exception - if there is Event<SomeType> it doesn't throw exception Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn(JavacTypes.java:290) at com.sun.tools.javac.model.JavacTypes.isAssignable(JavacTypes.java:97) at org.netbeans.modules.web.beans.impl.model.EventInjectionPointLogic.isAssignable(EventInjectionPointLogic.java:418) at org.netbeans.modules.web.beans.impl.model.EventInjectionPointLogic.filterParametersByType(EventInjectionPointLogic.java:379) at org.netbeans.modules.web.beans.impl.model.EventInjectionPointLogic.getObservers(EventInjectionPointLogic.java:151) at org.netbeans.modules.web.beans.impl.model.WebBeansModelProviderImpl.getObservers(WebBeansModelProviderImpl.java:82)
Created attachment 111364 [details] stacktrace
web-main#389657b9f588
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/389657b9f588 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#202895 - NullPointerException at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn