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 160783 - IllegalArgumentException: TreePathHandle [Q:\projects\hymerfania\JNIAntTasks\src\com\hymerfania\ant\task\jni\Javacpp.java] was not created from Q:\projects\hymerfania\JNIAntTasks\src\com\hymerfania\an
Summary: IllegalArgumentException: TreePathHandle [Q:\projects\hymerfania\JNIAntTasks\...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-21 03:31 UTC by charlweed
Modified: 2012-11-08 12:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146969


Attachments
stacktrace (1.89 KB, text/plain)
2009-03-21 03:31 UTC, charlweed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlweed 2009-03-21 03:31:45 UTC
Build: NetBeans IDE Dev (Build 090320)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
charlweed: Using right-click to add an overides annotation.



Stacktrace: 
java.lang.IllegalArgumentException: TreePathHandle [Q:\projects\hymerfania\JNIAntTasks\src\com\hymerfania\ant\task\jni\Javacpp.java] was not created from Q:\projects\hymerfania\JNIAntTasks\src\com\hymerfania\ant\task\jni\Javacpp.java
mine: id=308597, valid=true, url=file:/Q:/projects/hymerfania/JNIAntTasks/src/com/hymerfania/ant/task/jni/Javacpp.java
remote: id=26422274, valid=true, url=file:/Q:/projects/hymerfania/JNIAntTasks/src/com/hymerfania/ant/task/jni/Javacpp.java
---------------------------------------------------
Reflection failed: java.util.ArrayList cannot be cast to java.lang.ref.Reference
        at org.netbeans.api.java.source.TreePathHandle$TreeDelegate.resolve(TreePathHandle.java:438)
        at org.netbeans.api.java.source.TreePathHandle.resolve(TreePathHandle.java:142)
        at org.netbeans.modules.java.hints.AddOverrideAnnotation$FixImpl$1.run(AddOverrideAnnotation.java:201)
        at org.netbeans.modules.java.hints.AddOverrideAnnotation$FixImpl$1.run(AddOverrideAnnotation.java:198)
        at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:647)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:128)
Comment 1 charlweed 2009-03-21 03:31:51 UTC
Created attachment 78562 [details]
stacktrace
Comment 2 Rastislav Komara 2009-03-25 16:37:48 UTC
Please provide steps to reproduce, sample project and messages.log file.
Comment 3 David Strupl 2009-03-31 15:55:19 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 4 Quality Engineering 2009-11-02 11:16:23 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Comment 5 Petr Cyhelsky 2012-11-08 12:20:27 UTC
last report from 7.0 dev build - doesn't seem to be a problem any
more.