java.lang.IllegalArgumentException: port out of range:-1

Oracle Community | crytal123 | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Updatetool not working due to proxy server issue?

    Oracle Community | 6 years ago | crytal123
    java.lang.IllegalArgumentException: port out of range:-1
  2. 0

    [java] [#|2011-03-30T09:39:34.635-0700|SEVERE|glassfish3.2|com.sun.pkg.client.SystemInfo|_ThreadID=10;_ThreadName=main;|badproxy|#] [java] [java] [#|2011-03-30T09:39:34.639-0700|SEVERE|glassfish3.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=10;_ThreadName=main;|java.lang.IllegalArgumentException: port out of range:-1 [java] at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) [java] at com.sun.pkg.client.AuthProxy.newProxy(AuthProxy.java:105) [java] at com.sun.pkg.client.SystemInfo.loadProxyInfo(SystemInfo.java:201) [java] at com.sun.pkg.client.SystemInfo.getProxySelector(SystemInfo.java:168) [java] at com.sun.pkg.client.Image.<init>(Image.java:965) [java] at com.sun.pkg.client.Image.<init>(Image.java:983) [java] at com.sun.enterprise.registration.glassfish.RegistrationUtil.getUpdateCenterImage(RegistrationUtil.java:180) [java] at com.sun.enterprise.registration.glassfish.RegistrationUtil.setUpdateCenterUUID(RegistrationUtil.java:187) [java] at com.sun.enterprise.registration.glassfish.RegistrationUtil.synchUUID(RegistrationUtil.java:174) [java] at com.sun.enterprise.registration.glassfish.PingService.postConstruct(PingService.java:92) [java] at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131) [java] at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91) [java] at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82) [java] at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67) [java] at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139) [java] at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76) [java] at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:326) [java] at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135) [java] at com.sun.enterprise.v3.server.UpgradeStartup.start(UpgradeStartup.java:170) [java] at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79) [java] at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) [java] at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) [java] |#] [java] [java] [#|2011-03-30T09:39:34.686-0700|INFO|glassfish3.2|null|_ThreadID=10;_ThreadName=main;|Exiting after upgrade|#]

    Java.net JIRA | 6 years ago | Amy Roh
    java.lang.IllegalArgumentException: port out of range:-1
  3. 0

    Port out of range:-1

    GitHub | 2 years ago | chfstudio
    org.springframework.web.socket.sockjs.SockJsException: Uncaught failure in SockJS request, uri=http://url:80/MyProject/stomp/042/ku4dmhdo/xhr; nested exception is org.springframework.web.socket.sockjs.SockJsException: Uncaught failure for request http://url:80/MyProject/stomp/042/ku4dmhdo/xhr; nested exception is java.lang.IllegalArgumentException: port out of range:-1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [groovy-user] groovyws & ssl?

    Google Groups | 8 years ago | Scott Vlaminck
    java.lang.IllegalArgumentException: port out of range:-1
  6. 0

    DZone

    dzone.com | 2 years ago
    java.lang.IllegalArgumentException: port out of range:-1

  1. Andreas Häber 6 times, last 6 months ago
  2. alexs 12 times, last 12 months ago
  3. Juraji 2 times, last 12 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    port out of range:-1

    at java.net.InetSocketAddress.<init>()
  2. Java RT
    InetSocketAddress.<init>
    1. java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
    1 frame
  3. pkg(5)
    Image.<init>
    1. com.sun.pkg.client.AuthProxy.newProxy(AuthProxy.java:105)
    2. com.sun.pkg.client.SystemInfo.loadProxyInfo(SystemInfo.java:201)
    3. com.sun.pkg.client.SystemInfo.getProxySelector(SystemInfo.java:168)
    4. com.sun.pkg.client.Image.<init>(Image.java:965)
    5. com.sun.pkg.client.Image.<init>(Image.java:983)
    5 frames
  4. com.sun.pkg
    Bootstrap.main
    1. com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:192)
    2. com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:160)
    3. com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:110)
    3 frames