You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Andreas Gottardi (Jira)" <ji...@apache.org> on 2020/03/09 06:25:00 UTC

[jira] [Commented] (NETBEANS-2911) Can't create new web service in Gradle web application

    [ https://issues.apache.org/jira/browse/NETBEANS-2911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054693#comment-17054693 ] 

Andreas Gottardi commented on NETBEANS-2911:
--------------------------------------------

I have added the line
*implementation 'javax.jws:javax.jws-api:1.1'*
to the file "build.gradle" so that I can create a web service in a legacy ant based project and copy it to the Gradle project. This works so far, but the web service editor can not be used and tells me to use the source view.

> 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
>            Priority: Major
>         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 no 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
(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