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 249623 - ClassCastException: org.netbeans.modules.remote.api.ui.FileChooserUIImpl$LoadingNode cannot be cast to org.netbeans.modules.remote.api.ui.FileNode
Summary: ClassCastException: org.netbeans.modules.remote.api.ui.FileChooserUIImpl$Load...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 09:18 UTC by Exceptions Reporter
Modified: 2015-01-13 04:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214512


Attachments
stacktrace (8.82 KB, text/plain)
2015-01-05 09:18 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-01-05 09:18:22 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: Oracle Solaris Studio 12.4 (2014/10/03 bc3251f82efb)
VM: Java HotSpot(TM) Server VM, 24.72-b04, Java(TM) SE Runtime Environment, 1.7.0_72-b14
OS: SunOS

User Comments:
GUEST: work




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.remote.api.ui.FileChooserUIImpl$LoadingNode cannot be cast to org.netbeans.modules.remote.api.ui.FileNode
   at org.netbeans.modules.remote.api.ui.FileChooserUIImpl$NewDirectoryAction.actionPerformed(FileChooserUIImpl.java:2765)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
Comment 1 Exceptions Reporter 2015-01-05 09:18:24 UTC
Created attachment 151363 [details]
stacktrace
Comment 2 Maria Tishkova 2015-01-12 10:17:46 UTC
changeset:   282631:0f2a12b32af1
tag:         tip
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Mon Jan 12 13:16:46 2015 +0400
summary:     fixed bz#249623  ClassCastException: org.netbeans.modules.remote.api.ui.FileChooserUIImpl$LoadingNode cannot be cast to org.netbeans.modules.remote.api.ui.FileNode
Comment 3 Quality Engineering 2015-01-13 04:17:31 UTC
Integrated into 'main-silver', will be available in build *201501130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0f2a12b32af1
User: Maria Dalmatova <mromashova@netbeans.org>
Log: fixed bz#249623  ClassCastException: org.netbeans.modules.remote.api.ui.FileChooserUIImpl$LoadingNode cannot be cast to org.netbeans.modules.remote.api.ui.FileNode
do nothing if Loading node is displayed in the file chooser
no information about file selected which means we cannot add new folder