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 34277 - ClassCastException in PositionRef.getPosition()
Summary: ClassCastException in PositionRef.getPosition()
Status: RESOLVED DUPLICATE of bug 34246
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-10 16:27 UTC by bartholomew
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log file (17.19 KB, text/plain)
2003-06-10 16:29 UTC, bartholomew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bartholomew 2003-06-10 16:27:52 UTC
Occurred when Source Editor was closed / hidden in the 
Editing workspace and a Java source file was opened by 
double-clicking on it in the Explorer.

Seems to be similar, but not identical, to the following:

http://www.netbeans.org/issues/show_bug.cgi?id=27773

Stack trace in error dialog is as follows:

java.lang.ClassCastException
	at org.openide.text.PositionRef.getPosition
(PositionRef.java:134)
	at 
org.openide.text.DocumentLine.attachDetachAnnotations
(DocumentLine.java:326)
[catch] at org.openide.text.DocumentLine$LR.run
(DocumentLine.java:609)
	at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent
(EventQueue.java:448)
	at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)
Comment 1 bartholomew 2003-06-10 16:29:09 UTC
Created attachment 10638 [details]
ide.log file
Comment 2 Martin Roskanin 2003-06-11 09:46:39 UTC
It seems this is duplicate of the issue #34246

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