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 152143 - IllegalArgumentException: <T>java.util.Comparator<T>
Summary: IllegalArgumentException: <T>java.util.Comparator<T>
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Max Sauer
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-02 09:16 UTC by Marian Mirilovic
Modified: 2010-04-22 10:40 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 35672


Attachments
stacktrace (1.53 KB, text/plain)
2008-12-03 17:08 UTC, misterm
Details
stacktrace (1.53 KB, text/plain)
2008-12-03 17:09 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-11-02 09:16:31 UTC
19 duplicates so far ... reported alaso against NB 6.5 

Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: <T>java.util.Comparator<T>
        at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn(JavacTypes.java:291)
        at com.sun.tools.javac.model.JavacTypes.isAssignable(JavacTypes.java:98)
        at org.netbeans.modules.editor.java.Utilities.resolveMethod(Utilities.java:697)
        at org.netbeans.modules.editor.java.Utilities.fuzzyResolveMethodInvocation(Utilities.java:657)
        at
org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.handlePossibleMethodInvocation(ErrorHintsProvider.java:277)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.getLine(ErrorHintsProvider.java:311)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.computeErrors(ErrorHintsProvider.java:164)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.run(ErrorHintsProvider.java:451)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.run(ErrorHintsProvider.java:100)
        at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1651)
Comment 1 Dusan Balek 2008-11-03 09:35:17 UTC
Reassigning to java/hints.
Comment 2 misterm 2008-12-03 17:08:50 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments: 
Just typing in a java file with a few inner classes and enums

Stacktrace: 
java.lang.IllegalArgumentException: <E>java.util.EnumSet<E>
        at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn(JavacTypes.java:292)
        at com.sun.tools.javac.model.JavacTypes.isAssignable(JavacTypes.java:98)
        at org.netbeans.modules.editor.java.Utilities.resolveMethod(Utilities.java:707)
        at org.netbeans.modules.editor.java.Utilities.fuzzyResolveMethodInvocation(Utilities.java:647)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.handlePossibleMethodInvocation(ErrorHintsProvider.java:277)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.getLine(ErrorHintsProvider.java:311)
Comment 3 misterm 2008-12-03 17:08:59 UTC
Created attachment 74493 [details]
stacktrace
Comment 4 misterm 2008-12-03 17:09:50 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments: 
Just typing in a java file with a few inner classes and enums

Stacktrace: 
java.lang.IllegalArgumentException: <E>java.util.EnumSet<E>
        at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn(JavacTypes.java:292)
        at com.sun.tools.javac.model.JavacTypes.isAssignable(JavacTypes.java:98)
        at org.netbeans.modules.editor.java.Utilities.resolveMethod(Utilities.java:707)
        at org.netbeans.modules.editor.java.Utilities.fuzzyResolveMethodInvocation(Utilities.java:647)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.handlePossibleMethodInvocation(ErrorHintsProvider.java:277)
        at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.getLine(ErrorHintsProvider.java:311)
Comment 5 misterm 2008-12-03 17:09:58 UTC
Created attachment 74494 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-08-17 07:34:26 UTC
This issue already has 53 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=35672
Comment 7 Max Sauer 2009-08-17 09:44:39 UTC
This area has been changed vastly since last report from March 09 (6.5 version). No reports since then -- marking as fixed.
Comment 8 Marian Mirilovic 2010-04-22 10:40:12 UTC
v/c