trixon opened a new issue, #7018:
URL: https://github.com/apache/netbeans/issues/7018

   ### Apache NetBeans version
   
   Apache NetBeans 21 release candidate
   
   ### What happened
   
   The new project dialog is unable to create a new NetBeans Application _with_ 
a sample module, _without_ works just fine.
   
   With maven that is.
   
   ```
   WARNING [org.openide.WizardDescriptor]
   java.lang.NullPointerException: Cannot invoke 
"java.util.Properties.stringPropertyNames()" because "properties" is null
        at 
org.netbeans.modules.maven.NbMavenProjectImpl.loadMavenProject(NbMavenProjectImpl.java:316)
        at 
org.netbeans.modules.maven.api.NbMavenProject.loadAlternateMavenProject(NbMavenProject.java:317)
        at 
org.netbeans.modules.maven.apisupport.NbmWizardIterator.instantiate(NbmWizardIterator.java:183)
        at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1050)
        at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602)
        at 
org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
        at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
        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:1420)
        at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
        at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035)
   ```
   
   ### Language / Project Type / NetBeans Component
   
   NetBeans Application
   
   ### How to reproduce
   
   Use the new project dialog to create a new NetBeans Application, check 
sample.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 20
   
   ### Operating System
   
   Linux version 6.5.0-15-generic running on amd64; UTF-8; sv_SE (nb)
   
   ### JDK
   
   21.0.2; OpenJDK 64-Bit Server VM 21.0.2+13-LTS
   
   ### Apache NetBeans packaging
   
   Apache NetBeans Snap Package
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to