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 - ClassCastException: com.sun.tools.javac.code.Type$ForAll cannot be cast to com.sun.tools.javac.code.Type$MethodType
Summary: ClassCastException: com.sun.tools.javac.code.Type$ForAll cannot be cast to co...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-12 10:13 UTC by kzmuhia
Modified: 2016-09-12 10:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221130


Attachments
stacktrace (2.48 KB, text/plain)
2016-09-12 10:13 UTC, kzmuhia
Details

Note You need to log in before you can comment on or make changes to this bug.
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