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 103191 - An exception throws when double-clicking on a local variable
Summary: An exception throws when double-clicking on a local variable
Status: RESOLVED DUPLICATE of bug 103112
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 03:48 UTC by pcdinh
Modified: 2007-05-04 09:14 UTC (History)
0 users

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 pcdinh 2007-05-03 03:48:31 UTC
An exception throws when double-clicking on a local variable.

java.lang.IllegalArgumentException: LOCAL_VARIABLE
	at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:364)
	at
org.netbeans.modules.java.navigation.CaretListeningTask.updateNavigatorSelection(CaretListeningTask.java:291)
	at
org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:86)
	at
org.netbeans.modules.java.navigation.CaretListeningTask.run(CaretListeningTask.java:48)
	at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1373)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)

How to reproduce:

Double clicking continuously on a local variable.

Platform:

NetBeans IDE Dev (Build 200705011800)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b01
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
Comment 1 Jana Maleckova 2007-05-04 09:14:35 UTC

*** This issue has been marked as a duplicate of 103112 ***