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 235263

Summary: ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.modules.remote.api.ui.FileNode
Product: cnd Reporter: williambacchi
Component: RemoteAssignee: Maria Tishkova <mromashova>
Status: RESOLVED FIXED    
Severity: normal CC: exceptions_reporter, MackSix
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203439
Attachments: stacktrace

Description williambacchi 2013-08-29 16:52:41 UTC
Build: NetBeans IDE Dev (Build 201308270854)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
williambacchi: trying to set up path on remote host




Stacktrace: 
java.lang.ClassCastException: javax.swing.tree.DefaultMutableTreeNode cannot be cast to org.netbeans.modules.remote.api.ui.FileNode
   at org.netbeans.modules.remote.api.ui.FileChooserUIImpl$DirectoryHandler.mouseClicked(FileChooserUIImpl.java:2365)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
   at java.awt.Component.processMouseEvent(Component.java:6508)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
   at org.netbeans.modules.remote.api.ui.FileChooserUIImpl$8.processMouseEvent(FileChooserUIImpl.java:792)
   at java.awt.Component.processEvent(Component.java:6270)
Comment 1 williambacchi 2013-08-29 16:52:43 UTC
Created attachment 139446 [details]
stacktrace
Comment 2 Maria Tishkova 2013-09-02 10:55:24 UTC
fixed in http://hg.netbeans.org/cnd-main/rev/e04dc14be512
Comment 3 Maria Tishkova 2013-09-13 11:47:29 UTC
*** Bug 235769 has been marked as a duplicate of this bug. ***
Comment 4 Vladimir Voskresensky 2013-09-16 11:33:30 UTC
*** Bug 236018 has been marked as a duplicate of this bug. ***