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 8.0 (Build 201403052200) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Windows 7 User Comments: MackSix: 1. Download Apache Commons Collection 4.0 source. http://commons.apache.org/proper/commons-collections/download_collections.cgi 2. Open it in NetBeans 8.0 FCS. 3. Do a priming build if needed. 4. Goto Source>>Inspect and choose Configuration: NetBeans Java Hints. 5. Press Inspect button and wait for exception. Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.api.JavacTrees.getTypeMirror(JavacTrees.java:721) at org.netbeans.modules.java.hints.bugs.SuspiciousToArray.run(SuspiciousToArray.java:107) at sun.reflect.GeneratedMethodAccessor126.invoke(GeneratedMethodAccessor126.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:336)
Created attachment 145913 [details] stacktrace
Created attachment 145914 [details] stacktrace Repetable. Happens with JDK 1.7.0_51 too.
Fixed by dbalek as issue #243715 *** This bug has been marked as a duplicate of bug 243715 ***