-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
eclipse
Steps:
1.Run as->Maven install
AR: test are failed
[INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running InjectedTest [ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.175 s <<< FAILURE! - in InjectedTest [ERROR] org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.006 s <<< ERROR! com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:43413/closures/?uuid=09a94fc3-c52f-4bd4-afa6-d1ea1b4b65a1 at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:590) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:408) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:315) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:463) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:448) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1612) at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1600) at org.jvnet.hudson.test.HudsonTestCase$WebClient.executeOnServer(HudsonTestCase.java:1520) at org.jvnet.hudson.test.HudsonTestCase.executeOnServer(HudsonTestCase.java:1362) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.runGroupedTests(JellyTestSuiteBuilder.java:157) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:51) 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:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)[INFO] Running hudson.plugins.groovy.ClassPathTest [ERROR] Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 13.81 s <<< FAILURE! - in hudson.plugins.groovy.ClassPathTest [ERROR] testClassPathAndProperties(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.395 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testWildcartOnClassPath(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.066 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testClassPathAndProperties(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.236 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testWildcartOnClassPath(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.576 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testClassPathAndProperties(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.471 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testWildcartOnClassPath(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.47 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testClassPathAndProperties(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.478 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testWildcartOnClassPath(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.38 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testClassPathAndProperties(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.502 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)[ERROR] testWildcartOnClassPath(hudson.plugins.groovy.ClassPathTest) Time elapsed: 1.231 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "hudson.plugins.groovy.GroovyInstallation$DescriptorImpl.setInstallations(hudson.plugins.groovy.GroovyInstallation[])" because the return value of "jenkins.model.Jenkins.getDescriptorByType(java.lang.Class)" is null at hudson.plugins.groovy.ClassPathTest.setUpGroovy(ClassPathTest.java:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:599) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:832)