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/12/12 19:56:00 UTC
[jira] [Commented] (NETBEANS-4419) Webservice can not be created
via GUI
[ https://issues.apache.org/jira/browse/NETBEANS-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248444#comment-17248444 ]
Andreas Gottardi commented on NETBEANS-4419:
--------------------------------------------
In the latest release 12.2 the error message has changed:
{code:java}
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)
{code}
but still no success creating web service classes with the wizard.
> Webservice can not be created via GUI
> -------------------------------------
>
> Key: NETBEANS-4419
> URL: https://issues.apache.org/jira/browse/NETBEANS-4419
> Project: NetBeans
> Issue Type: Bug
> Components: javaee - Web Project
> Affects Versions: 12.0, 11.1, 11.2
> Environment: Windows 10, 2004, x64
> Reporter: Andreas Gottardi
> Priority: Major
>
> Hello,
> I try to create a new WebService in a Java EE web application over the menu: Right click on the package "New" - "Web service...". I fill out everything and click "Finish". Nothing happens and in the console the following Exception is reported:
> {quote}java.lang.NullPointerException
> 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)
> {quote}
>
--
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