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 issue was originally marked as duplicate of issue 163161, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Linux, 2.6.29.5-191.fc11.i686.PAE, i386 User Comments: psaraf: error occured when i try to add Glassfish 3 preview server, with domain1. domain1 is crated using command asadmin. Stacktrace: java.lang.IllegalArgumentException: port out of range:-1 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) at org.netbeans.modules.glassfish.common.CommonServerSupport.isRunning(CommonServerSupport.java:451) at org.netbeans.modules.glassfish.common.CommonServerSupport.<init>(CommonServerSupport.java:132) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:131) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:226) at org.netbeans.modules.glassfish.common.wizards.ServerWizardIterator.instantiate(ServerWizardIterator.java:168)
Created attachment 85230 [details] stacktrace
it looks like there is a path through the wizard that will register the http port as -1.
Integrated into 'main-golden', will be available in build *200909210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e2fea5ff1a35 User: vince kraemer <vkraemer@netbeans.org> Log: #169191: thar be a path through the sea of server registration that leads to the port of scurvy dogs, -1. Avast! Prevent your passengers from taking that voyage.
in nightlies