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 129334 - IAE: <E>java.util.EnumSet<E> from JavacTypes.validateTypeNotIn
Summary: IAE: <E>java.util.EnumSet<E> from JavacTypes.validateTypeNotIn
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-05 18:21 UTC by Jesse Glick
Modified: 2016-07-07 07:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-03-05 18:21:51 UTC
Not likely easy to reproduce. I am playing with opends.org sources but using a novel project type. Thrown while trying
to display code completion on an import which appeared with no error message. It is quite possible that ClassPath and/or
SourceForBinaryQuery information is incorrect in this case, but of course that should not cause a weird exception like this.

SEVERE [global]
java.lang.IllegalArgumentException: <E>java.util.EnumSet<E>
        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:639)
        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)
[catch] at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1651)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Comment 1 Jan Becicka 2008-05-15 13:25:01 UTC
Max volunteered :)
Comment 2 Max Sauer 2008-11-24 13:16:59 UTC
Located in java/editor.
Comment 3 Martin Balin 2016-07-07 07:17:25 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss