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 232285 - AssertionError: ClientSideProject project expected but got: org.netbeans.modules.maven.NbMavenProjectImpl
Summary: AssertionError: ClientSideProject project expected but got: org.netbeans.modu...
Status: RESOLVED DUPLICATE of bug 231347
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 20:47 UTC by lforet
Modified: 2013-07-05 00:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201917


Attachments
stacktrace (7.13 KB, text/plain)
2013-07-04 20:47 UTC, lforet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lforet 2013-07-04 20:47:30 UTC
This bug was originally marked as duplicate of bug 218732, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 Beta (Build 201306132201)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
lforet: To reproduce : create a json file in a web maven project.




Stacktrace: 
java.lang.AssertionError: ClientSideProject project expected but got: org.netbeans.modules.maven.NbMavenProjectImpl
   at org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities.getSourceGroups(ClientSideProjectUtilities.java:191)
   at org.netbeans.modules.web.clientproject.ui.wizard.NewFileWizardIterator.getSourceGroups(NewFileWizardIterator.java:172)
   at org.netbeans.modules.web.clientproject.ui.wizard.NewFileWizardIterator.getPanels(NewFileWizardIterator.java:163)
   at org.netbeans.modules.web.clientproject.ui.wizard.NewFileWizardIterator.initialize(NewFileWizardIterator.java:83)
   at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.initialize(TemplateWizard.java:1036)
   at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:104)
Comment 1 lforet 2013-07-04 20:47:32 UTC
Created attachment 136728 [details]
stacktrace
Comment 2 David Konecny 2013-07-05 00:25:04 UTC

*** This bug has been marked as a duplicate of bug 231347 ***