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 240592 - IllegalArgumentException: OTHER
Summary: IllegalArgumentException: OTHER
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-01-17 09:58 UTC by facilityderek
Modified: 2014-01-22 02:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206659


Attachments
stacktrace (2.35 KB, text/plain)
2014-01-17 09:58 UTC, facilityderek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description facilityderek 2014-01-17 09:58:01 UTC
This bug was originally marked as duplicate of bug 206536, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
facilityderek: Not much info available.

Debugging through Java code at the time. Switched from editor window to Navgator members view. Selected Method by Double click. Exception popped.




Stacktrace: 
java.lang.IllegalArgumentException: OTHER
   at org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:484)
   at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:397)
   at org.netbeans.api.java.source.TypeMirrorHandle.create(TypeMirrorHandle.java:208)
   at org.netbeans.api.java.source.TypeMirrorHandle.create(TypeMirrorHandle.java:141)
   at org.netbeans.modules.java.hints.bugs.SuspiciousToArray.run(SuspiciousToArray.java:159)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
Comment 1 facilityderek 2014-01-17 09:58:03 UTC
Created attachment 144063 [details]
stacktrace
Comment 2 Svata Dedic 2014-01-20 06:26:51 UTC
fixed by jet-main#8085ae31aeeb
Comment 3 Quality Engineering 2014-01-22 02:35:19 UTC
Integrated into 'main-silver', will be available in build *201401220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8085ae31aeeb
User: Svata Dedic <sdedic@netbeans.org>
Log: #240592: avoided processing other types