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 236152, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201510070002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 7 User Comments: gtzabari: Clicked CTRL+LMB on the method handle at the end of this line: private final Function<Collection<String>, Facts> sut = FactsFactory.INSTANCE::fromText; Exception thrown. Stacktrace: java.lang.IllegalArgumentException: Unsupported type: <any?>, kind: OTHER at org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:318) at org.netbeans.modules.java.source.usages.ClassFileUtil.createExecutableDescriptor(ClassFileUtil.java:198) at org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:458) at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397) at org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:257) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
Created attachment 156608 [details] stacktrace
I was writing the following: executors.forEach(TaskExecutor:: Note: executors is ArrayList<TaskExecutor>
Created attachment 159865 [details] IDE log NetBeans IDE Dev (Build 201605100002) Windows 8 Java HotSpot(TM) 64-Bit Server VM, 25.74-b02, Java(TM) SE Runtime Environment, 1.8.0_74-b02 http://statistics.netbeans.org/analytics/exception.do?id=819940
Created attachment 161966 [details] stacktrace Editing Java code.
Created attachment 162201 [details] stacktrace Typing a lambda expression
I wrote :: twice. Code below: List<Path> paths = getFilesIgnoringReadme("data"); assertEquals(paths.size(), 155); paths.forEach(Path::getFileName::);
Created attachment 163036 [details] IDE log
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=220424