java.net.SocketException

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.

  • Socket issue
    via GitHub by softwareklinic
    ,
  • Test phase of maven build of plugin, on jdk 1.8 fails. Works on 1.7 ------------------------------------------------------- T E S T S ------------------------------------------------------- Running InjectedTest Exploding jenkins.war at /Users/dspartz/.m2/repository/org/jenkins-ci/main/jenkins-war/1.520/jenkins-war-1.520-war-for-test.jar Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49610 Feb 10, 2015 2:59:22 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Feb 10, 2015 2:59:28 PM hudson.model.ComputerSet <clinit> WARNING: Failed to instantiate NodeMonitors java.lang.ArrayIndexOutOfBoundsException: -1 at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) at java.util.HashMap.putMapEntries(HashMap.java:511) at java.util.HashMap.putAll(HashMap.java:784) at com.thoughtworks.xstream.core.util.OrderRetainingMap.<init>(OrderRetainingMap.java:36) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldsFor(FieldDictionary.java:76) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:127) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:143) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:102) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) at hudson.util.DescribableList$ConverterImpl.marshal(DescribableList.java:259) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:898) at com.thoughtworks.xstream.XStream.marshal(XStream.java:887) at com.thoughtworks.xstream.XStream.toXML(XStream.java:860) at hudson.XmlFile.write(XmlFile.java:183) at hudson.model.ComputerSet$1.save(ComputerSet.java:76) at hudson.util.PersistedList.onModified(PersistedList.java:173) at hudson.util.PersistedList.replaceBy(PersistedList.java:85) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:431) at jenkins.metrics.impl.JenkinsHealthCheckProviderImpl.getHealthChecks(JenkinsHealthCheckProviderImpl.java:87) at jenkins.metrics.api.Metrics.afterExtensionsAugmented(Metrics.java:311) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Feb 10, 2015 2:59:28 PM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 49611 Feb 10, 2015 2:59:28 PM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.net.SocketException: Can't assign requested address at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:76) Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49612 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.867 sec <<< FAILURE! Feb 10, 2015 2:59:28 PM hudson.PluginWrapper stop INFO: Stopping metrics Results : Tests in error: org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest): -1 testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest): second instance Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.808s [INFO] Finished at: Tue Feb 10 14:59:29 PST 2015 [INFO] Final Memory: 37M/514M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project metrics: There are test failures. [ERROR] [ERROR] Please refer to /Users/dspartz/Documents/workspaces/git/metrics-plugin/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    via by Daryl Spartz,
  • Test phase of maven build of plugin, on jdk 1.8 fails. Works on 1.7 ------------------------------------------------------- T E S T S ------------------------------------------------------- Running InjectedTest Exploding jenkins.war at /Users/dspartz/.m2/repository/org/jenkins-ci/main/jenkins-war/1.520/jenkins-war-1.520-war-for-test.jar Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49610 Feb 10, 2015 2:59:22 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Feb 10, 2015 2:59:28 PM hudson.model.ComputerSet <clinit> WARNING: Failed to instantiate NodeMonitors java.lang.ArrayIndexOutOfBoundsException: -1 at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) at java.util.HashMap.putMapEntries(HashMap.java:511) at java.util.HashMap.putAll(HashMap.java:784) at com.thoughtworks.xstream.core.util.OrderRetainingMap.<init>(OrderRetainingMap.java:36) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldsFor(FieldDictionary.java:76) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:127) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:143) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:102) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) at hudson.util.DescribableList$ConverterImpl.marshal(DescribableList.java:259) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:898) at com.thoughtworks.xstream.XStream.marshal(XStream.java:887) at com.thoughtworks.xstream.XStream.toXML(XStream.java:860) at hudson.XmlFile.write(XmlFile.java:183) at hudson.model.ComputerSet$1.save(ComputerSet.java:76) at hudson.util.PersistedList.onModified(PersistedList.java:173) at hudson.util.PersistedList.replaceBy(PersistedList.java:85) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:431) at jenkins.metrics.impl.JenkinsHealthCheckProviderImpl.getHealthChecks(JenkinsHealthCheckProviderImpl.java:87) at jenkins.metrics.api.Metrics.afterExtensionsAugmented(Metrics.java:311) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Feb 10, 2015 2:59:28 PM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 49611 Feb 10, 2015 2:59:28 PM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.net.SocketException: Can't assign requested address at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:76) Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49612 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.867 sec <<< FAILURE! Feb 10, 2015 2:59:28 PM hudson.PluginWrapper stop INFO: Stopping metrics Results : Tests in error: org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest): -1 testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest): second instance Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.808s [INFO] Finished at: Tue Feb 10 14:59:29 PST 2015 [INFO] Final Memory: 37M/514M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project metrics: There are test failures. [ERROR] [ERROR] Please refer to /Users/dspartz/Documents/workspaces/git/metrics-plugin/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    via by Daryl Spartz,
  • :startJenkins tasks hanging
    via GitHub by willis7
    ,
  • はじめてのJenkins - Qiita
    via by Unknown author,
  • Jenkins upgrade issues
    via Stack Overflow by Puce
    ,
  • UDP Handling problem
    via by BEvans,
    • java.net.SocketException: Can't assign requested address at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:76)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    davidvanlaatumdavidvanlaatum
    916 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    8 more bugmates