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 218721 - IllegalArgumentException: port out of range:-1
Summary: IllegalArgumentException: port out of range:-1
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 23:20 UTC by Exceptions Reporter
Modified: 2012-10-18 17:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192619


Attachments
stacktrace (6.93 KB, text/plain)
2012-09-20 23:20 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-09-20 23:20:45 UTC
This bug was originally marked as duplicate of bug 163161, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP

User Comments:
GUEST: Add glassfish v3 prelude, point to unzipped glassfish instane, click next, select domain "domain1", click next.

GUEST: Trying to register a glassfish 3 server




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 Exceptions Reporter 2012-09-20 23:20:49 UTC
Created attachment 124670 [details]
stacktrace
Comment 2 TomasKraus 2012-10-18 17:38:57 UTC
This was heavily tested in 7.3 and we never saw such a problem with server registration.
I'm closing this because we can't reproduce it on latest version.