You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/11/12 19:49:18 UTC

[GitHub] [netbeans] HarryGPotter opened a new issue, #4961: Unable to configure the Payara Server 6.x Service

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

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   I was trying to configure a new Jakarta EE 10 Server under the "Services" section of Netbeans.
   I'd like to download Payara 6.2022.1 but the wizard block and I receive following Netbeans exception:
   
   java.lang.NullPointerException
   	at org.netbeans.modules.payara.tooling.server.parser.TreeParser.readXml(TreeParser.java:138)
   	at org.netbeans.modules.payara.tooling.server.config.PayaraConfigXMLImpl.readXml(PayaraConfigXMLImpl.java:128)
   	at org.netbeans.modules.payara.tooling.server.config.PayaraConfigXMLImpl.getJavaSE(PayaraConfigXMLImpl.java:101)
   	at org.netbeans.modules.payara.common.wizards.AddDomainLocationPanel.readSettings(AddDomainLocationPanel.java:172)
   	at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:843)
   	at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:797)
   	at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.updateState(AddServerInstanceWizard.java:213)
   	at org.openide.WizardDescriptor._updateState(WizardDescriptor.java:775)
   	at org.openide.WizardDescriptor.goToNextStep(WizardDescriptor.java:1041)
   	at org.openide.WizardDescriptor.access$1900(WizardDescriptor.java:67)
   	at org.openide.WizardDescriptor$Listener$1.run(WizardDescriptor.java:2184)
   	at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1492)
   	at org.openide.WizardDescriptor.access$2000(WizardDescriptor.java:67)
   	at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:2203)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   	at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:462)
   	at com.sun.proxy.$Proxy61.actionPerformed(Unknown Source)
   	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
   	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
   	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
   	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
   	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
   	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
   	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
   	at java.desktop/java.awt.Component.processEvent(Component.java:6400)
   	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
   	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
   	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
   	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
   	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
   	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
   	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
   	at java.base/java.security.AccessController.doPrivileged(Native Method)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
   	at java.base/java.security.AccessController.doPrivileged(Native Method)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
   	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
   [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
   	at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
   	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
   	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
   	at java.base/java.security.AccessController.doPrivileged(Native Method)
   	at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
   	at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
   	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1074)
   	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1124)
   	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1096)
   	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:106)
   	at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:123)
   	at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:77)
   	at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:71)
   	at org.openide.util.Mutex.readAccess(Mutex.java:199)
   	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1081)
   	at java.desktop/java.awt.Component.show(Component.java:1716)
   	at java.desktop/java.awt.Component.setVisible(Component.java:1663)
   	at java.desktop/java.awt.Window.setVisible(Window.java:1031)
   	at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
   	at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.showAddServerInstanceWizard(AddServerInstanceWizard.java:185)
   	at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.showAddServerInstanceWizard(AddServerInstanceWizard.java:105)
   	at org.netbeans.modules.server.ui.node.AddServerInstanceAction.actionPerformed(AddServerInstanceAction.java:34)
   	at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:174)
   	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
   	at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
   	at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
   	at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:177)
   	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
   	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
   	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
   	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
   	at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
   	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
   	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
   	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
   	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
   	at java.desktop/java.awt.Component.processEvent(Component.java:6400)
   	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
   	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
   	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
   	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
   	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
   	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
   	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
   	at java.base/java.security.AccessController.doPrivileged(Native Method)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
   	at java.base/java.security.AccessController.doPrivileged(Native Method)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
   	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
   	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
   
   
   ### How to reproduce
   
   Open Netbeans
   Go to Services section
   Select Servers then "Add Server"
   Choose Payara Server and follow the wizard
   Selent Payara 6.2022.1 and try to download/install it.
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   MacOS Ventura 13.0.1 (22A400) on MacBook Air M1 16GB
   
   ### JDK
   
   openjdk version "11.0.16.1" 2022-07-19 LTS // OpenJDK Runtime Environment Zulu11.58+23-CA (build 11.0.16.1+1-LTS)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### 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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] mbien closed issue #4961: Unable to configure the Payara Server 6.x Service

Posted by GitBox <gi...@apache.org>.
mbien closed issue #4961: Unable to configure the Payara Server 6.x Service
URL: https://github.com/apache/netbeans/issues/4961


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] mbien commented on issue #4961: Unable to configure the Payara Server 6.x Service

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4961:
URL: https://github.com/apache/netbeans/issues/4961#issuecomment-1382728421

   @krzysztof-osiecki thanks. Looks like the PR wasn't linked to this issue properly.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] krzysztof-osiecki commented on issue #4961: Unable to configure the Payara Server 6.x Service

Posted by GitBox <gi...@apache.org>.
krzysztof-osiecki commented on issue #4961:
URL: https://github.com/apache/netbeans/issues/4961#issuecomment-1314041916

   This seems to be already fixed in the source code.
   If anyone needs a quick workaround and trusts random guy from the internet with random jar files you can download this:
   https://file.io/XYzCQba6eQr8
   and then replace it in "your_netbeans_instalation_location/netbeans/enterprise/modules/"
   if you don't trust random guys (probably shouldn't) you can compile it yourself following instructions here: https://netbeans.apache.org/download/dev/index.html (took about 15 minutes)
   then finding said file "org-netbeans-modules-payara-tooling.jar" and also replacing it in given location


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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