Article: Problem Adding Server in Server List


Read Complete Thread >>  


Comment:



This is issue with incorrect usage of isValid(). Do not use JDK 6u12.
Use some previous JDK version.
We are working on this.

Marek
> I just found this in my netbeans log:
>
> java.lang.NullPointerException
> at
> org.netbeans.modules.server.ui.wizard.ServerWizardVisual.isServerValid(ServerWizardVisual.java:155)
> at
> org.netbeans.modules.server.ui.wizard.ServerWizardVisual.isValid(ServerWizardVisual.java:146)
> at java.awt.Component.invalidateIfValid(Component.java:2740)
> at java.awt.Component.setLocale(Component.java:1810)
> at javax.swing.JComponent.<init>(JComponent.java:595)
> at javax.swing.JPanel.<init>(JPanel.java:65)
> at javax.swing.JPanel.<init>(JPanel.java:92)
> at javax.swing.JPanel.<init>(JPanel.java:100)
> at
> org.netbeans.modules.server.ui.wizard.ServerWizardVisual.<init>(ServerWizardVisual.java:83)
> at
> org.netbeans.modules.server.ui.wizard.ServerWizardPanel.getComponent(ServerWizardPanel.java:68)
> at
> org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard$AddServerInstanceWizardIterator.initialize(AddServerInstanceWizard.java:295)
> at org.openide.WizardDescriptor.callInitialize(WizardDescriptor.java:1417)
> at org.openide.WizardDescriptor.<init>(WizardDescriptor.java:472)
> at org.openide.WizardDescriptor.<init>(WizardDescriptor.java:481)
> at
> org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.<init>(AddServerInstanceWizard.java:107)
> at
> org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.<init>(AddServerInstanceWizard.java:94)
> at
> org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.showAddServerInstanceWizard(AddServerInstanceWizard.java:134)
> at
> org.netbeans.modules.server.ui.node.AddServerInstanceAction.performAction(AddServerInstanceAction.java:58)
> at
> org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
> at
> org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
> at
> org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
> at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
> at
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
> at
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
> at java.awt.Component.processMouseEvent(Component.java:6216)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
> at java.awt.Component.processEvent(Component.java:5981)
> at java.awt.Container.processEvent(Container.java:2041)
> at java.awt.Component.dispatchEventImpl(Component.java:4583)
> at java.awt.Container.dispatchEventImpl(Container.java:2099)
> at java.awt.Component.dispatchEvent(Component.java:4413)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
> at java.awt.Container.dispatchEventImpl(Container.java:2085)
> at java.awt.Window.dispatchEventImpl(Window.java:2475)
> at java.awt.Component.dispatchEvent(Component.java:4413)
> [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
> at
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
> at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>
>
> Nicklas wrote:
>
>> Hi,
>>
>> I'm having the exact same issue. I have tried to inactivate/activate the
>> plugin and uninstall/install it but still nothing. Recently I uninstalled
>> a Tomcat6 server which was used as deployment server for one of my
>> projects. I uninstalled it (for other reasons) and installed Tomcat5
>> instead. This is my reason for trying to add a new server.
>>
>>
>> vincente13 wrote:
>>
>>> Hi all,
>>>
>>> I have just downloaded and installed Netbeans 6.5. I did not install the
>>> Glassfish and Tomcat server that came with it.
>>>
>>> After installation, i would like to add my existing tomcat server into
>>> the
>>> server list. However when clicking the Add Server, there is no response
>>> from
>>> the program. Am i missing any plugins?
>>>
>>> Regards
>>>
>>>
>>>
>>
>
>



Questions or comments? Feel free to post them here. No login or id required.

Return to Thread >>  

Valid XHTML 1.0!
Site Map >>