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.
Build: NetBeans IDE Dev (Build 200803110005) VM: Java HotSpot(TM) Client VM, 1.5.0_13-121 OS: Mac OS X, 10.4.11, i386 User comments: 1. Create web application with "Visual Web JSF" framework. 2. Add Button component to the page. 3. Doubleclick it. Result: ClassCastException arises. STACKTRACE: (first 10 lines) java.lang.ClassCastException: javax.swing.text.PlainDocument at org.netbeans.editor.BaseKit$SelectLineAction.actionPerformed(BaseKit.java:2408) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:290) at org.netbeans.editor.BaseCaret.mouseClicked(BaseCaret.java:1210) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211) at java.awt.Component.processMouseEvent(Component.java:5586) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5348) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4050)
I can't reproduce it in a dev build. Is this Mac OS specific? Do you have a chance to test this on other OSes? Product Version: NetBeans IDE Dev (Build 080312) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Userdir: /home/vita/devel/netbeans/main/nbbuild/testuserdir
I wasn't able to reproduce this issue on other platforms, but on latest build I'm not able to reproduce it also on Mac OS X. So I mark this issue as FIXED, but if I'm able to reproduce it again, I'll reopen it.
Verified with build 080312.
Reopening - reproduced in NetBeans IDE 6.5 Beta (Build 200808111757) http://statistics.netbeans.org/exceptions/detail.do?id=127153
I can't reproduce it in a recent dev build.
Will be resolved LATER.
NetBeans.org Migration: changing resolution from LATER to WONTFIX