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

hadoop-hdfs-dev | Apache Hudson Server | 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

    Hadoop-Hdfs-trunk - Build # 555 - Still Failing

    hadoop-hdfs-dev | 6 years ago | Apache Hudson Server
    java.lang.IllegalArgumentException: port out of range:-1
  2. 0

    Port out of range:-1

    GitHub | 3 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
  3. 0

    [groovy-user] groovyws & ssl?

    Google Groups | 8 years ago | Scott Vlaminck
    java.lang.IllegalArgumentException: port out of range:-1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DZone

    dzone.com | 2 years ago
    java.lang.IllegalArgumentException: port out of range:-1
  6. 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
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. Apache Hadoop HDFS
    NameNode$1.run
    1. org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:521)
    2. org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:461)
    2 frames
  4. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:396)
    2 frames
  5. Hadoop
    UserGroupInformation.doAs
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1138)
    1 frame
  6. Apache Hadoop HDFS
    TestFileAppend4.testRecoverFinalizedBlock
    1. org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:461)
    2. org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:405)
    3. org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:389)
    4. org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:578)
    5. org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:571)
    6. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1534)
    7. org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:461)
    8. org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:186)
    9. org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:71)
    10. org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:178)
    11. org.apache.hadoop.hdfs.TestFileAppend4.__CLR3_0_21z1ppcy4i(TestFileAppend4.java:151)
    12. org.apache.hadoop.hdfs.TestFileAppend4.testRecoverFinalizedBlock(TestFileAppend4.java:150)
    12 frames