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.

Bug 169191 - IllegalArgumentException: port out of range:-1
Summary: IllegalArgumentException: port out of range:-1
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-26 18:45 UTC by psaraf
Modified: 2009-09-21 15:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 154245


Attachments
stacktrace (7.38 KB, text/plain)
2009-07-26 18:45 UTC, psaraf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description psaraf 2009-07-26 18:45:51 UTC
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)
Comment 1 psaraf 2009-07-26 18:45:58 UTC
Created attachment 85230 [details]
stacktrace
Comment 2 Vince Kraemer 2009-09-18 08:07:25 UTC
it looks like there is a path through the wizard that will register the http port as -1.
Comment 3 Quality Engineering 2009-09-21 09:53:44 UTC
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.
Comment 4 Vince Kraemer 2009-09-21 15:00:17 UTC
in nightlies