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 255368 - ClassCastException: cannot be cast to org.netbeans.modules.cnd.utils.FSPath
Summary: ClassCastException: cannot be cast to org.netbeans.modules.cnd.u...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
Depends on:
Reported: 2015-09-17 13:17 UTC by Exceptions Reporter
Modified: 2015-12-21 11:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219992

stacktrace (5.82 KB, text/plain)
2015-09-17 13:17 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-17 13:17:48 UTC
This bug was originally marked as duplicate of bug 247309, 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.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 8.1

User Comments:
GUEST: I was activating PHP when the error got thrown (Java cast exception).

GUEST: Exception thrown when trying to create a C/C++ aplication.

java.lang.ClassCastException: cannot be cast to org.netbeans.modules.cnd.utils.FSPath
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelConfigureProject.readSettings(
   at org.netbeans.modules.cnd.makeproject.ui.wizards.PanelConfigureProject.readSettings(
   at org.openide.WizardDescriptor.updateStateOpen(
   at org.openide.WizardDescriptor.updateState(
Comment 1 Exceptions Reporter 2015-09-17 13:17:49 UTC
Created attachment 156248 [details]
Comment 2 Alexander Simon 2015-09-17 15:51:43 UTC
Steps to reproduce:
- invoke new project wizard
- select Java -> Java Application, Next, Back
- select C/C++ -> C/C++ Application, Next

See ClassCastException because property "projdir" already defined in new java project step and has wrong object type from C/C++ wizard point of view

IMXO template wizard should isolate different wizards.

Reassign to evaluation.
Comment 3 Exceptions Reporter 2015-12-21 11:11:04 UTC
This bug already has 5 duplicates