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 242961

Summary: 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
Product: java Reporter: markiewb
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description markiewb 2014-03-17 10:57:24 UTC
SEVERE [org.openide.util.Exceptions]
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:692)
	at org.netbeans.api.java.source.ElementUtilities.findUnimplementedMethods(ElementUtilities.java:672)
	at org.netbeans.api.java.source.ElementUtilities.findUnimplementedMethods(ElementUtilities.java:672)
	at org.netbeans.api.java.source.ElementUtilities.findUnimplementedMethods(ElementUtilities.java:511)
	at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods.createMessage(ImplementAllAbstractMethods.java:118)
	at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.computeErrors(ErrorHintsProvider.java:197)
	at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.computeErrors(ErrorHintsProvider.java:137)
	at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.run(ErrorHintsProvider.java:604)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:568)
[catch] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:744)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

Product Version: NetBeans IDE 8.0 RC1 (Build 201402202300)
Updates: Updates available
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Comment 1 Svata Dedic 2014-03-21 16:51:12 UTC
Source would be needed for this. Could you please share ?
Minor defect fixed in jet-main#064a1da24167
Comment 2 Quality Engineering 2014-04-05 03:29:46 UTC
Integrated into 'main-silver', will be available in build *201404050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/064a1da24167
User: Svata Dedic <sdedic@netbeans.org>
Log: #242961: enabled hint to create anonymous subclasses