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.
This bug was originally marked as duplicate of bug 240592, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 (Build 201403052200) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 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 Refactor>>Inspect & Transform and use the Configuration Mnager to select all Inspections. 5. Press Inspect button and wait for exception. Stacktrace: java.lang.IllegalArgumentException: OTHER at org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:484) at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397) at org.netbeans.api.java.source.TypeMirrorHandle.create(TypeMirrorHandle.java:208) at org.netbeans.api.java.source.TypeMirrorHandle.create(TypeMirrorHandle.java:201) at org.netbeans.api.java.source.TypeMirrorHandle.create(TypeMirrorHandle.java:141) at org.netbeans.modules.java.hints.suggestions.TooStrongCast$ReplaceTypeCast.<init>(TooStrongCast.java:296)
Created attachment 145915 [details] stacktrace
Repeatable and repeatable on JDK 1.8.0 See attached log file.
Created attachment 145916 [details] Log File
Created attachment 153080 [details] stacktrace -