java.lang.reflect.InvocationTargetException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Try changing the port in core-site.xml from 9000 to 9001 as it seems port 9000 doesn't work.

tip

Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.


rafael
tip

It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • From: https://builds.sonatype.org/job/nexus-oss-its/205/ 2012-02-27 02:39:03.185:WARN:oejuc.AbstractLifeCycle:FAILED SelectChannelConnector@0.0.0.0:49646: java.net.BindException: Address already in use java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:274) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) 2012-02-27 02:39:03.307:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.Server@1337e785: java.net.BindException: Address already in use java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:274) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.sonatype.nexus.test.booter.Jetty8NexusBooter.startNexus(Jetty8NexusBooter.java:202) at org.sonatype.nexus.test.utils.NexusStatusUtil.start(NexusStatusUtil.java:140) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.startNexus(AbstractNexusIntegrationTest.java:766) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:362) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) at org.testng.internal.Invoker.invokeMethod(Invoker.java:613) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:274) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133) Result: org.sonatype.nexus.integrationtests.nexus385.Nexus385RoutesPermissionIT.testCreatePermission() ===> skipped Result: org.sonatype.nexus.integrationtests.nexus385.Nexus385RoutesPermissionIT.testDeletePermission() ===> skipped Result: org.sonatype.nexus.integrationtests.nexus385.Nexus385RoutesPermissionIT.testReadPermission() ===> skipped Result: org.sonatype.nexus.integrationtests.nexus385.Nexus385RoutesPermissionIT.testUpdatePermission() ===> skipped 2012-02-27 02:39:04,770 WARN [org.restlet] - An error occurred during the communication with the remote HTTP server. java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.6.0_30] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) ~[na:1.6.0_30] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) ~[na:1.6.0_30] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) ~[na:1.6.0_30] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) ~[na:1.6.0_30] at java.net.Socket.connect(Socket.java:529) ~[na:1.6.0_30] at java.net.Socket.connect(Socket.java:478) ~[na:1.6.0_30] at java.net.Socket.<init>(Socket.java:375) ~[na:1.6.0_30] at java.net.Socket.<init>(Socket.java:249) ~[na:1.6.0_30] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at org.apache.commons.httpclient.HttpConnection.open(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) ~[commons-httpclient-3.1.SONATYPE.jar:3.1] at com.noelios.restlet.ext.httpclient.HttpMethodCall.sendRequest(HttpMethodCall.java:313) ~[com.noelios.restlet.ext.httpclient-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.http.HttpClientConverter.commit(HttpClientConverter.java:418) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at com.noelios.restlet.http.HttpClientHelper.handle(HttpClientHelper.java:108) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Client.handle(Client.java:157) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.Uniform.handle(Uniform.java:108) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:563) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:543) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:494) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:488) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:470) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.integrationtests.NexusRestClient.doGetForStatus(NexusRestClient.java:250) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.integrationtests.NexusRestClient.doGetForStatus(NexusRestClient.java:230) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.test.utils.TasksNexusRestClient.waitForAllTasksToStop(TasksNexusRestClient.java:209) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.test.utils.TasksNexusRestClient.waitForAllTasksToStop(TasksNexusRestClient.java:180) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.test.utils.TasksNexusRestClient.waitForAllTasksToStop(TasksNexusRestClient.java:158) [nexus-test-utils-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.test.utils.TaskScheduleUtil.waitForAllTasksToStop(TaskScheduleUtil.java:88) [nexus-test-harness-launcher-2.1-SNAPSHOT.jar:na] at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassTearDown(AbstractNexusIntegrationTest.java:417) [nexus-test-harness-launcher-2.1-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) [testng-6.1.1.jar:na] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) [testng-6.1.1.jar:na] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) [testng-6.1.1.jar:na] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) [testng-6.1.1.jar:na] at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:222) [testng-6.1.1.jar:na] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) [testng-6.1.1.jar:na] at org.testng.TestRunner.runWorkers(TestRunner.java:1178) [testng-6.1.1.jar:na] at org.testng.TestRunner.privateRun(TestRunner.java:757) [testng-6.1.1.jar:na] at org.testng.TestRunner.run(TestRunner.java:608) [testng-6.1.1.jar:na] at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) [testng-6.1.1.jar:na] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) [testng-6.1.1.jar:na] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) [testng-6.1.1.jar:na] at org.testng.SuiteRunner.run(SuiteRunner.java:240) [testng-6.1.1.jar:na] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.1.1.jar:na] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.1.1.jar:na] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) [testng-6.1.1.jar:na] at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) [testng-6.1.1.jar:na] at org.testng.TestNG.run(TestNG.java:999) [testng-6.1.1.jar:na] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) [surefire-testng-2.10.jar:2.10] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) [surefire-testng-2.10.jar:2.10] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) [surefire-testng-2.10.jar:2.10] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) [surefire-testng-2.10.jar:2.10] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) [surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) [surefire-booter-2.10.jar:2.10] 2012-02-27 02:39:04.888:INFO:oejs.Server:Graceful shutdown SelectChannelConnector@0.0.0.0:49646 2012-02-27 02:39:04.889:INFO:oejs.Server:Graceful shutdown o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-2.1-SNAPSHOT/nexus/},/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-2.1-SNAPSHOT/nexus 2012-02-27 02:39:07.270:INFO:oejsh.ContextHandler:stopped o.e.j.w.WebAppContext{/nexus,file:/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-2.1-SNAPSHOT/nexus/},/opt/grid/slave/workspace/nexus-oss-its/374c4ad3/nexus/nexus-test-harness/nexus-test-harness-its/target/nexus/nexus-oss-webapp-2.1-SNAPSHOT/nexus 2012-02-27 06:49:26 Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.5-b03 mixed mode): "MultiThreadedHttpConnectionManager cleanup" daemon prio=10 tid=0x0000000042153000 nid=0x34da in Object.wait() [0x00007f6d7b6d1000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000dc52eb20> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x00000000dc52eb20> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(Unknown Source) "MultiThreadedHttpConnectionManager cleanup" daemon prio=10 tid=0x00007f6d752e1000 nid=0x53bb in Object.wait() [0x00007f6d7acc7000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000dbaa4c98> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x00000000dbaa4c98> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(Unknown Source) "Low Memory Detector" daemon prio=10 tid=0x00007f6d7c004000 nid=0x52a3 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread1" daemon prio=10 tid=0x00007f6d7c001800 nid=0x52a2 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread0" daemon prio=10 tid=0x000000004105f000 nid=0x52a1 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" daemon prio=10 tid=0x000000004105d000 nid=0x52a0 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Finalizer" daemon prio=10 tid=0x000000004103a800 nid=0x529f in Object.wait() [0x00007f6d81813000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000da92c4c0> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x00000000da92c4c0> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x0000000041038800 nid=0x529e in Object.wait() [0x00007f6d81914000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00000000da92c480> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:485) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0x00000000da92c480> (a java.lang.ref.Reference$Lock) "main" prio=10 tid=0x0000000040fb1000 nid=0x529a waiting on condition [0x00007f6d86250000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000000ddfeefe0> (a java.util.concurrent.CountDownLatch$Sync) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:969) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281) at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207) at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.stopJetty(Jetty8.java:180) at org.sonatype.sisu.jetty.Jetty8.stopJetty(Jetty8.java:94) - locked <0x00000000de095260> (a org.sonatype.sisu.jetty.Jetty8) at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.sonatype.nexus.test.booter.Jetty8NexusBooter.stopNexus(Jetty8NexusBooter.java:219) at org.sonatype.nexus.test.utils.NexusStatusUtil.stop(NexusStatusUtil.java:146) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.stopNexus(AbstractNexusIntegrationTest.java:781) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassTearDown(AbstractNexusIntegrationTest.java:429) at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:222) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) "VM Thread" prio=10 tid=0x0000000041032000 nid=0x529d runnable "GC task thread#0 (ParallelGC)" prio=10 tid=0x0000000040fc4000 nid=0x529b runnable "GC task thread#1 (ParallelGC)" prio=10 tid=0x0000000040fc6000 nid=0x529c runnable "VM Periodic Task Thread" prio=10 tid=0x00007f6d7c017000 nid=0x52a4 waiting on condition JNI global references: 1833 Heap PSYoungGen total 180224K, used 99639K [0x00000000f3800000, 0x00000000ffdd0000, 0x0000000100000000) eden space 156928K, 63% used [0x00000000f3800000,0x00000000f994df88,0x00000000fd140000) from space 23296K, 0% used [0x00000000fd140000,0x00000000fd140000,0x00000000fe800000) to space 22336K, 0% used [0x00000000fe800000,0x00000000fe800000,0x00000000ffdd0000) PSOldGen total 275584K, used 61131K [0x00000000da800000, 0x00000000eb520000, 0x00000000f3800000) object space 275584K, 22% used [0x00000000da800000,0x00000000de3b2d70,0x00000000eb520000) PSPermGen total 225280K, used 161060K [0x00000000ccc00000, 0x00000000da800000, 0x00000000da800000) object space 225280K, 71% used [0x00000000ccc00000,0x00000000d69491e0,0x00000000da800000) [ERROR] Failure: java.lang.InterruptedException
    via by Stuart McCulloch,
  • can't startup Jenkins
    via by 敬錞潘,
  • Indexer BindException
    via GitHub by capdeploy
    ,
  • Jenkins on Mac OS X is slow and crashes
    via Stack Overflow by Farooq
    ,
    • java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.sonatype.nexus.test.booter.Jetty8NexusBooter.startNexus(Jetty8NexusBooter.java:202) at org.sonatype.nexus.test.utils.NexusStatusUtil.start(NexusStatusUtil.java:140) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.startNexus(AbstractNexusIntegrationTest.java:766) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:362) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) at org.testng.internal.Invoker.invokeMethod(Invoker.java:613) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:173) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:311) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:251) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.Server.doStart(Server.java:274) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:133)

    Users with the same issue

    jstrayer
    1 times, last one,
    Dunmer
    36 times, last one,
    davidvanlaatum
    3 times, last one,
    Handemelindo
    6 times, last one,
    Unknown visitor1 times, last one,
    129 more bugmates