Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63886

Jenkins throws Invocation Target Exception exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • None
    • Jenkins 2.249.1 Windows Server 2012 R2

      Jenkins Dependency-Check 5.1.1 plugin the throwing the following error: 

      D:\local\Jenkins\workspace\UnitTests_IRC\java\Plugins\com.atego.junit.allTests\headless\test_build.xml:46: org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta; received 404 – resource not found

      Here is the full log:

      !SESSION 2020-09-25 10:38:01.589 -----------------------------------------------!SESSION 2020-09-25 10:38:01.589 -----------------------------------------------eclipse.buildId=unknownjava.version=1.8.0_111java.vendor=Oracle CorporationBootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_USFramework arguments:  -application org.eclipse.ant.core.antRunner -buildfile D:\local\Jenkins\workspace\UnitTests_IRC/java/Plugins/com.atego.junit.allTests/headless/test_build.xml dependency-check-update -DWORKSPACE=D:\local\Jenkins\workspace\UnitTests_IRC -DSVN_REVISION=6678Command-line arguments:  -clean -application org.eclipse.ant.core.antRunner -buildfile D:\local\Jenkins\workspace\UnitTests_IRC/java/Plugins/com.atego.junit.allTests/headless/test_build.xml dependency-check-update -DWORKSPACE=D:\local\Jenkins\workspace\UnitTests_IRC -DSVN_REVISION=6678
      !ENTRY org.eclipse.osgi 4 0 2020-09-25 10:38:10.312!MESSAGE Application error!STACK 1java.lang.reflect.InvocationTargetException 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:498) at org.eclipse.ant.core.AntRunner.run(AntRunner.java:511) at org.eclipse.ant.core.AntRunner.start(AntRunner.java:608) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) at org.eclipse.equinox.launcher.Main.run(Main.java:1499) at org.eclipse.equinox.launcher.Main.main(Main.java:1472)Caused by: D:\local\Jenkins\workspace\UnitTests_IRC\java\Plugins\com.atego.junit.allTests\headless\test_build.xml:46: org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta; received 404 – resource not found at org.owasp.dependencycheck.taskdefs.Update.execute(Update.java:375) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.Project.executeTarget(Project.java:1376) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:712) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:573) ... 19 moreCaused by: org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta; received 404 – resource not found at org.owasp.dependencycheck.data.update.NvdCveUpdater.getMetaFile(NvdCveUpdater.java:351) at org.owasp.dependencycheck.data.update.NvdCveUpdater.getUpdatesNeeded(NvdCveUpdater.java:385) at org.owasp.dependencycheck.data.update.NvdCveUpdater.update(NvdCveUpdater.java:122) at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:922) at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:889) at org.owasp.dependencycheck.taskdefs.Update.execute(Update.java:372) ... 34 moreCaused by: org.owasp.dependencycheck.utils.ResourceNotFoundException: Requested resource does not exists - received a 404 at org.owasp.dependencycheck.utils.HttpResourceConnection.obtainConnection(HttpResourceConnection.java:204) at org.owasp.dependencycheck.utils.HttpResourceConnection.fetch(HttpResourceConnection.java:138) at org.owasp.dependencycheck.utils.Downloader.fetchContent(Downloader.java:110) at org.owasp.dependencycheck.data.update.NvdCveUpdater.getMetaFile(NvdCveUpdater.java:340) ... 39 moreRoot exception:\local\Jenkins\workspace\UnitTests_IRC\java\Plugins\com.atego.junit.allTests\headless\test_build.xml:46: org.owasp.dependencycheck.data.update.exception.UpdateException: Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta; received 404 – resource not found at org.owasp.dependencycheck.taskdefs.Update.execute(Update.java:375) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.Project.executeTarget(Project.java:1376) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

       

      It looks like the Dependency-Check 5.1.1 plugin  is very old. It should be updated to new version.

            nfalco Nikolas Falco
            mbathala MALLIKARJUNA BATHALA
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: