netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Oyarzun (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (NETBEANS-2920) Maven Netbeans Application project creation fails with UnsupportedOperationException
Date Thu, 09 Jan 2020 13:19:00 GMT

     [ https://issues.apache.org/jira/browse/NETBEANS-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Oyarzun resolved NETBEANS-2920.
-----------------------------------------
    Resolution: Fixed

> Maven Netbeans Application project creation fails with UnsupportedOperationException
> ------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-2920
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2920
>             Project: NetBeans
>          Issue Type: Bug
>          Components: apisupport - Maven
>    Affects Versions: 11.1
>            Reporter: Christian Oyarzun
>            Priority: Major
>             Fix For: 11.2
>
>
> Steps to reproduce:
>  # New Project
>  # Select Java with Maven -> Netbeans Application
>  # Next
>  # Next
>  # Select Create Module Project
>  # Finish
> Project creation fails with the following exception.
> java.lang.UnsupportedOperationException
>  at java.util.Collections$UnmodifiableCollection.add(Collections.java:1057)
>  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:169)
>  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)
>  
> If you do not create a module project the wizard will complete. But if you try to create
a new NetBeans Module to the maven parent project, you will get the same exception.



--
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


Mime
View raw message