org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins

Jenkins JIRA | Daniel Beck | 7 months ago
  1. 0

    Steps to reproduce: * {{mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create}} * open {pom.xml}} and change {{jenkins.version}} to {{2.0}} * {{mvn clean verify}} Expected result: it works Actual result: {noformat}Running InjectedTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.752 sec <<< FAILURE! - in InjectedTest org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.023 sec <<< ERROR! org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1020) at jenkins.model.Jenkins.<init>(Jenkins.java:864) at hudson.model.Hudson.<init>(Hudson.java:85) at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:487) at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:318) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.setUp(JellyTestSuiteBuilder.java:143) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:49) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins(TestPluginManager.java:70) at hudson.PluginManager$1$1.run(PluginManager.java:272) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744){noformat} Lack of 'jenkins-test-harness' component means I'm filing against core.

    Jenkins JIRA | 7 months ago | Daniel Beck
    org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins
  2. 0

    Steps to reproduce: * {{mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create}} * open {pom.xml}} and change {{jenkins.version}} to {{2.0}} * {{mvn clean verify}} Expected result: it works Actual result: {noformat}Running InjectedTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.752 sec <<< FAILURE! - in InjectedTest org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.023 sec <<< ERROR! org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1020) at jenkins.model.Jenkins.<init>(Jenkins.java:864) at hudson.model.Hudson.<init>(Hudson.java:85) at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:487) at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:318) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.setUp(JellyTestSuiteBuilder.java:143) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:49) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins(TestPluginManager.java:70) at hudson.PluginManager$1$1.run(PluginManager.java:272) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744){noformat} Lack of 'jenkins-test-harness' component means I'm filing against core.

    Jenkins JIRA | 7 months ago | Daniel Beck
    org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins
  3. 0

    [groovy-user] Not catching Errors properly

    Google Groups | 6 years ago | Vaclav Pech
    org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.Error: test
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 865#173394906

    GitHub | 11 months ago | danieldietrich
    java.lang.Error: test
  6. 0

    This test has been failing since it re-worked via JDK-8004926. Below is a sample failure. Note that the agent is running in agentvm mode with concurrency, this means that each agent VM gets its own work directory (which might explain why TestApplication cannot be found) #Test Results (version 2) #Sat Oct 26 00:00:47 IST 2013 #checksum:62f403376fcea318 #-----testdescription----- $file=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java $root=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test keywords=bug5016507 bug6173612 bug6319776 bug6342019 bug6484550 bug8004926 library=../../../../lib/testlibrary maxTimeout=300 run=USER_SPECIFIED build TestManager TestApplication\nUSER_SPECIFIED main/timeout\=300 LocalManagementTest\n source=LocalManagementTest.java title=Start a managed VM and test that a management tool can connect without connection or username/password details. #-----environment----- #-----testresult----- description=file\:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java elapsed=21071 0\:00\:21.071 end=Sat Oct 26 00\:00\:47 IST 2013 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.Error\: Test failed hostname=ashtown.ie.oracle.com javatestOS=Linux 3.2.0-23-generic (amd64) javatestVersion=4.4 jtregVersion=jtreg 4.1 dev b00 script=com.sun.javatest.regtest.RegressionScript sections=script_messages build compile build compile main start=Sat Oct 26 00\:00\:26 IST 2013 test=sun/management/jmxremote/bootstrap/LocalManagementTest.java user.name=jenkins work=/data/jenkins/workspace/jdk8-tl-test/JTwork/sun/management/jmxremote/bootstrap #section:script_messages ----------messages:(5/312)---------- JDK under test: (/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image) java version "1.8.0-internal" Java(TM) SE Runtime Environment (build 1.8.0-internal-jenkins_2013_10_25_23_11-b00) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b54, mixed mode) #section:build ----------messages:(3/143)---------- command: build TestManager TestApplication reason: User specified action: run build TestManager TestApplication elapsed time (seconds): 0.069 result: Passed. Build successful #section:compile ----------messages:(3/386)---------- command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestManager.java /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestApplication.java reason: .class file out of date or does not exist elapsed time (seconds): 0.069 ----------rerun:(21/2784)*---------- HOME=/var/lib/jenkins \\ LANG=en_IE.UTF-8 \\ PATH=/bin:/usr/bin \\ /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\ -J-ea \\ -J-esa \\ -J-Xmx256m \\ -J-XX:-UseLargePages \\ -J-DCompatibilityTest.disableNetwork=true \\ -J-Dtest.vm.opts='-ea -esa -Xmx256m -XX:-UseLargePages -DCompatibilityTest.disableNetwork=true' \\ -J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary \\ -J-Dtest.compiler.opts= \\ -J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap \\ -J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/lib/testlibrary \\ -J-Dtest.java.opts= \\ -J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-XX:-UseLargePages -J-DCompatibilityTest.disableNetwork=true' \\ -d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestManager.java /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/TestApplication.java ----------direct:(2/221)---------- Note: /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary/jdk/testlibrary/StreamPumper.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. result: Passed. Compilation successful #section:build ----------messages:(3/104)---------- command: build LocalManagementTest reason: Named class compiled on demand elapsed time (seconds): 0.031 result: Passed. Build successful #section:compile ----------messages:(3/261)---------- command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java reason: .class file out of date or does not exist elapsed time (seconds): 0.031 ----------rerun:(21/2659)*---------- HOME=/var/lib/jenkins \\ LANG=en_IE.UTF-8 \\ PATH=/bin:/usr/bin \\ /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\ -J-ea \\ -J-esa \\ -J-Xmx256m \\ -J-XX:-UseLargePages \\ -J-DCompatibilityTest.disableNetwork=true \\ -J-Dtest.vm.opts='-ea -esa -Xmx256m -XX:-UseLargePages -DCompatibilityTest.disableNetwork=true' \\ -J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary \\ -J-Dtest.compiler.opts= \\ -J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap \\ -J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/lib/testlibrary \\ -J-Dtest.java.opts= \\ -J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-XX:-UseLargePages -J-DCompatibilityTest.disableNetwork=true' \\ -d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java result: Passed. Compilation successful #section:main ----------messages:(3/138)---------- command: main LocalManagementTest reason: User specified action: run main/timeout=300 LocalManagementTest elapsed time (seconds): 20.971 ----------rerun:(17/2052)*---------- HOME=/var/lib/jenkins \\ LANG=en_IE.UTF-8 \\ PATH=/bin:/usr/bin \\ /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java \\ -Dtest.vm.opts='-ea -esa -Xmx256m -XX:-UseLargePages -DCompatibilityTest.disableNetwork=true' \\ -Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/lib/testlibrary \\ -Dtest.compiler.opts= \\ -Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\ -Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap \\ -Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/lib/testlibrary \\ -Dtest.java.opts= \\ -Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-XX:-UseLargePages -J-DCompatibilityTest.disableNetwork=true' \\ -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/1/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/builds/2013-10-25_23-03-39/archive/jdk/test/sun/management/jmxremote/bootstrap:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar \\ LocalManagementTest ----------System.out:(10/85)---------- test5 ========== test1 ========== test4 ========== test2 ========== test3 ========== ----------System.err:(90/5494)---------- [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test5(LocalManagementTest.java:137) ... 11 more [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test1(LocalManagementTest.java:80) ... 11 more [TestApplication] Error: Could not find or load main class TestApplication test4 failed [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test2(LocalManagementTest.java:87) ... 11 more [TestApplication] Error: Could not find or load main class TestApplication java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at LocalManagementTest.main(LocalManagementTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:800) at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:134) at LocalManagementTest.doTest(LocalManagementTest.java:176) at LocalManagementTest.test3(LocalManagementTest.java:97) ... 11 more java.lang.Error: Test failed at LocalManagementTest.main(LocalManagementTest.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) JavaTest Message: Test threw exception: java.lang.Error JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Test failed test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Test failed

    JDK Bug System | 3 years ago | Alan Bateman
    java.lang.Error: Test failed

  1. davidvanlaatum 1 times, last 6 months ago
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.Error

    Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins

    at org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins()
  2. Hudson :: Test Framework
    TestPluginManager.loadBundledPlugins
    1. org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins(TestPluginManager.java:70)
    1 frame
  3. Hudson
    PluginManager$1$1.run
    1. hudson.PluginManager$1$1.run(PluginManager.java:272)
    1 frame
  4. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    2 frames
  5. jenkins.model
    Jenkins$8.runTask
    1. jenkins.model.Jenkins$8.runTask(Jenkins.java:1009)
    1 frame
  6. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  7. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    2 frames