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.

Bug 267976

Summary: ClassCastException: com.sun.tools.javac.code.Type$ForAll cannot be cast to com.sun.tools.javac.code.Type$MethodType
Product: java Reporter: kzmuhia <kzmuhia>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: franciscocpg
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221130
Attachments: stacktrace

Description kzmuhia 2016-09-12 10:13:07 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Windows 10

User Comments:
GUEST: I dont know i just face it.

franciscocpg: I really dont know

GUEST: no idea

GUEST: While trying to write an interface method for Spring JpaRepository.
Wrote "Li", pressed CTRL+Space,gave "please wait...", crashed , gave "No Suggestions"

GUEST: using akka

franciscocpg: I dont know

kzmuhia: During refactoring imports




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.code.Type$ForAll cannot be cast to com.sun.tools.javac.code.Type$MethodType
   at org.netbeans.api.java.source.ElementUtilities.findUnimplementedMethods(ElementUtilities.java:812)
   at org.netbeans.api.java.source.ElementUtilities.findUnimplementedMethods(ElementUtilities.java:792)
   at org.netbeans.api.java.source.ElementUtilities.findUnimplementedMethods(ElementUtilities.java:574)
   at org.netbeans.modules.java.completion.JavaCompletionTask.addElementCreators(JavaCompletionTask.java:4206)
   at org.netbeans.modules.java.completion.JavaCompletionTask.insideClass(JavaCompletionTask.java:503)
   at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:286)
Comment 1 kzmuhia 2016-09-12 10:13:09 UTC
Created attachment 162010 [details]
stacktrace