This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 201336, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Mac OS X User Comments: GUEST: Trying to "Add Server" by right clicking on "Servers" under "Services" tab fails. Netbeans 7.4 on OS X 10.9.5. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.deployment.impl.Server.getFactory(Server.java:155) at org.netbeans.modules.j2ee.deployment.impl.Server.getDisplayName(Server.java:195) at org.netbeans.modules.j2ee.deployment.impl.bridge.BridgingServerWizardProvider.getDisplayName(BridgingServerWizardProvider.java:82) at org.netbeans.modules.server.ui.wizard.ServerWizardVisual$WizardAdapter.compareTo(ServerWizardVisual.java:433) at org.netbeans.modules.server.ui.wizard.ServerWizardVisual$WizardAdapter.compareTo(ServerWizardVisual.java:420) at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:232)
Created attachment 149572 [details] stacktrace
Still happens in NetBeans 8.1 The offending plugin is: jetty-server-nb-1.0 (http://plugins.netbeans.org/plugin/54458/jetty-server-nb-1-0) Same scenario as described before: trying to "Add Server"... etc... Disabling the plugin (or removing it) solves the problem.
There seems to be a conflict somewhere at the modules/plugins level. I did remove the ~/.netbeans/... dir and started NetBeans 8.1 from scratch. Added the jetty-server-nb-1.0 and now "Add Server..." works all right.