You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Dmitry Avtonomov (Jira)" <ji...@apache.org> on 2019/10/14 20:10:00 UTC
[jira] [Created] (NETBEANS-3238) Can't add a module to Maven based
platform app
Dmitry Avtonomov created NETBEANS-3238:
------------------------------------------
Summary: Can't add a module to Maven based platform app
Key: NETBEANS-3238
URL: https://issues.apache.org/jira/browse/NETBEANS-3238
Project: NetBeans
Issue Type: Bug
Components: projects - Maven
Affects Versions: 11.1
Reporter: Dmitry Avtonomov
Steps to reproduce:
* Run NB IDE 11.1 (from zip).
* Create new project -> Java with Maven -> NetBeans Application
* Next -> Next
** Option 1: check the `Create Module Project` checkbox - creation of project fails
** Option 2: don't use the checkbox. The project gets created. Right click Modules, `Create New Module..` -> Java with Maven -> NetBeans Module -> Select the same NetBeans Version as the original Application project - creation of new module fails
* Tried with App/Module versions NB90, NB110, NB111
{code:java}
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Collections.java:1055)
at org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:393)
at org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:141)
at org.netbeans.modules.maven.model.Utilities.performPOMModelOperations(Utilities.java:318)
at org.netbeans.modules.maven.spi.newproject.CreateProjectBuilder.create(CreateProjectBuilder.java:146)
at org.netbeans.modules.maven.apisupport.NBMNativeMWI.instantiate(NBMNativeMWI.java:69)
at org.netbeans.modules.maven.apisupport.NbmWizardIterator.instantiate(NbmWizardIterator.java:130)
at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1028)
at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:580)
at org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:414)
at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
[catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists