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

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   I have created a new Gradle web application.
   
![image](https://user-images.githubusercontent.com/922195/174989249-2f029442-923e-4e7b-96c6-8c58a620b44e.png)
   Then I have tried to create a new web service class.
   
![image](https://user-images.githubusercontent.com/922195/174989382-4420d10c-388b-4085-ada2-8a7aa5619fd7.png)
   I tried to finalize the process.
   
![image](https://user-images.githubusercontent.com/922195/174989482-72c04fda-dbe2-4f27-9f76-6b07b3b56809.png)
   This ended in the following exception:
   ```
   java.lang.NullPointerException: Cannot invoke "Object.getClass()" because 
"creator" is null
        at 
org.netbeans.modules.websvc.core.dev.wizard.NewWebServiceWizardIterator.instantiate(NewWebServiceWizardIterator.java:78)
        at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602)
        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: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)
   ```
   which was shown in the "Notifications" panel.
   
   ### How to reproduce
   
   The steps to reproduce are shown in the "What happened" section. This 
happened since version 12 of Netbeans.
   
   ### Did this work correctly in an earlier version?
   
   No
   
   ### Operating System
   
   Windows 11 21H1 22000.739
   
   ### JDK
   
   Azul Systems  zulu18.30.11-ca-fx-jdk18.0.1 win_x64
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


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