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 249219 - IllegalArgumentException at org.netbeans.api.java.source.TypeUtilities.isCastable
Summary: IllegalArgumentException at org.netbeans.api.java.source.TypeUtilities.isCast...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 08:25 UTC by dathyrius
Modified: 2015-01-07 04:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214003


Attachments
stacktrace (2.02 KB, text/plain)
2014-12-09 08:25 UTC, dathyrius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dathyrius 2014-12-09 08:25:44 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
dathyrius: Coding




Stacktrace: 
java.lang.IllegalArgumentException
   at org.netbeans.api.java.source.TypeUtilities.isCastable(TypeUtilities.java:102)
   at org.netbeans.modules.java.hints.suggestions.TooStrongCast.broadTypeCast(TooStrongCast.java:196)
   at sun.reflect.GeneratedMethodAccessor81.invoke(GeneratedMethodAccessor81.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:483)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:336)
Comment 1 dathyrius 2014-12-09 08:25:46 UTC
Created attachment 150977 [details]
stacktrace
Comment 2 Svata Dedic 2014-12-12 11:48:09 UTC
Should be fixed by jet-main#5499d35fb710
Comment 3 Quality Engineering 2015-01-07 04:01:22 UTC
Integrated into 'main-silver', will be available in build *201501070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5499d35fb710
User: Svata Dedic <sdedic@netbeans.org>
Log: #249219: better check for invalid/incomplete types