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 247309 - ClassCastException: java.io.File cannot be cast to org.netbeans.modules.cnd.utils.FSPath
Summary: ClassCastException: java.io.File cannot be cast to org.netbeans.modules.cnd.u...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-19 14:33 UTC by Exceptions Reporter
Modified: 2014-11-21 14:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212031


Attachments
stacktrace (6.65 KB, text/plain)
2014-09-19 14:34 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-09-19 14:33:59 UTC
This bug was originally marked as duplicate of bug 194497, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 8

User Comments:
GUEST: -




Stacktrace: 
java.lang.ClassCastException: java.io.File cannot be cast to org.netbeans.modules.cnd.utils.FSPath
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelProjectLocationVisual.read(PanelProjectLocationVisual.java:696)
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelConfigureProjectVisual.read(PanelConfigureProjectVisual.java:81)
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelConfigureProject.readSettings(PanelConfigureProject.java:165)
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelConfigureProject.readSettings(PanelConfigureProject.java:60)
   at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:867)
   at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:822)
Comment 1 Exceptions Reporter 2014-09-19 14:34:01 UTC
Created attachment 149372 [details]
stacktrace
Comment 2 Maria Tishkova 2014-11-21 13:44:37 UTC
I have looked through all our source code and cannot find the place we put java.io.File  into the WizardPreferences
Comment 3 Vladimir Voskresensky 2014-11-21 14:07:40 UTC
Probably it was fixed when Alexander made WizardPreferences to be type-safe
Comment 4 Maria Tishkova 2014-11-21 14:14:34 UTC
will close as Fixed (part of changes made by Alexander when wizard was re-designed)