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 100304-5b4534810091) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows XP User Comments: dlipin: 1. Created "Maven NetBeans Module using OSGi" project (1) 2. Created "NetBeans Platform Application" project (2) 3. Opened Properties dialog for (2) project, "Sources" panel, clicked on "Add.." to add new entry to "Suite Module:" 4. When selected (1) and closed FileChooser, this exception occured Stacktrace: java.lang.ClassCastException at java.lang.Class.cast(Class.java:2990) at org.openide.util.NbCollections$CheckedSet.contains(NbCollections.java:305) at org.netbeans.modules.apisupport.project.ui.UIUtil.chooseSuiteComponent(UIUtil.java:586) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerSources.addModule(SuiteCustomizerSources.java:201) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerSources.access$100(SuiteCustomizerSources.java:56) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerSources$2.actionPerformed(SuiteCustomizerSources.java:164)
Created attachment 94754 [details] stacktrace
hele jesse, how is the inability of ant suite project to add a maven based module project a maven problem? or is 2. project also maven based?
> is 2. project also maven based? No, just a standard NetBeans Platform App (File->New Project->NetBeans Modules->NetBeans Platform Application).
You cannot add a Maven project as a dep to an Ant project. A proper dialog will now be shown rather than a CCE, but this is a user error. core-main #ae1284a7df61