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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hadoop-Hdfs-trunk - Build # 555 - Still Failing
    via by Apache Hudson Server,
  • Port out of range:-1
    via GitHub by chfstudio
    ,
  • [groovy-user] groovyws & ssl?
    via by Scott Vlaminck,
  • DZone
    via by Unknown author,
  • [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|#]
    via by Amy Roh,
    • java.lang.IllegalArgumentException: port out of range:-1 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) at org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:521) at org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:461) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1138) at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:461) at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:405) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:389) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:578) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:571) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1534) at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:461) at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:186) at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:71) at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:178) at org.apache.hadoop.hdfs.TestFileAppend4.__CLR3_0_21z1ppcy4i(TestFileAppend4.java:151) at org.apache.hadoop.hdfs.TestFileAppend4.testRecoverFinalizedBlock(TestFileAppend4.java:150)

    Users with the same issue

    Unknown visitor1 times, last one,
    Andreas Häber
    Andreas Häber6 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    alexs
    alexs12 times, last one,
    1 more bugmates