Andreas Gottardi created NETBEANS-2911:
------------------------------------------
Summary: Can't create new web service in Gradle web application
Key: NETBEANS-2911
URL: https://issues.apache.org/jira/browse/NETBEANS-2911
Project: NetBeans
Issue Type: Bug
Components: webservices - Code
Affects Versions: 11.1
Environment: Windows 10 1903, x64, en-US
Build-Target: OpenJDK by Azul systems: zulu8.40.0.25-ca-jdk8.0.222-win_x64
Exection environment: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10
Netbeans: 11.1 x64
Gradle wrapper: 5.5.1
About block from Netbeans:
Product Version: Apache NetBeans IDE 11.1
Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10
Runtime: OpenJDK Runtime Environment 12.0.2+10
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
Reporter: Andreas Gottardi
Attachments: image-2019-07-29-11-14-27-198.png,
image-2019-07-29-11-15-54-542.png
Hello,
I have a problem when I want to create a new WebService via the assistant.
There is now error message shown, but the window remains open and the class is
not generated. It is a Gradle web application.
I make a right-click on the Java package I want to create the web service in
and select "New > Web Service".
!image-2019-07-29-11-14-27-198.png!
After filling out the form I click "Finish" and the window stays open:
!image-2019-07-29-11-15-54-542.png!
In the log there is the following exception.
{{java.lang.NullPointerException
at
org.netbeans.modules.websvc.core.dev.wizard.NewWebServiceWizardIterator.instantiate(NewWebServiceWizardIterator.java:78)
at
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:580)
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)}}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
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