-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Nexus Platform Plugin 3.14.401.v1311ea_023ce5
Jenkins 2.319.3
OpenJDK 11
CentOS 7
-
-
3.14.403.v07c2f1f96d60
Running Nexus Platform Plugin 3.14.401.v1311ea_023ce5 on Jenkins 2.319.3 / Java 11 / CentOS 7 the following error occurs on "Invoke Nexus Policy Evaluation":
{{
09:57:40.087 | FATAL: 'hidden.javax.xml.stream.XMLInputFactory hidden.javax.xml.stream.XMLInputFactory.newFactory(java.lang.String, java.lang.ClassLoader)'
09:57:40.087 | java.lang.NoSuchMethodError: 'hidden.javax.xml.stream.XMLInputFactory hidden.javax.xml.stream.XMLInputFactory.newFactory(java.lang.String, java.lang.ClassLoader)'
09:57:40.087 | at com.fasterxml.jackson.dataformat.xml.XmlFactory.<init>(XmlFactory.java:115)
09:57:40.087 | at com.fasterxml.jackson.dataformat.xml.XmlFactory.<init>(XmlFactory.java:101)
09:57:40.087 | at com.fasterxml.jackson.dataformat.xml.XmlFactory.<init>(XmlFactory.java:85)
09:57:40.087 | at com.fasterxml.jackson.dataformat.xml.XmlMapper.<init>(XmlMapper.java:127)
09:57:40.087 | at org.cyclonedx.generators.xml.AbstractBomXmlGenerator.<init>(AbstractBomXmlGenerator.java:48)
09:57:40.087 | at org.cyclonedx.generators.xml.BomXmlGenerator13.<init>(BomXmlGenerator13.java:42)
09:57:40.087 | at org.cyclonedx.BomGeneratorFactory.createXml(BomGeneratorFactory.java:52)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.SbomUtils.createSbomXmlString(SbomUtils.java:38)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.MavenPomProcessor.process(MavenPomProcessor.java:65)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.ManifestContentProcessor.setScanItemContent(ManifestContentProcessor.java:292)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileVisitor.visitFile(FileVisitor.java:280)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:86)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.doWalk(FileWalker.java:75)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileWalker.walk(FileWalker.java:35)
09:57:40.087 | at hidden.com.sonatype.insight.scan.file.FileScanner.scan(FileScanner.java:93)
09:57:40.087 | at com.sonatype.nexus.api.iq.scan.Scanner.scanFiles(Scanner.java:158)
09:57:40.087 | at com.sonatype.nexus.api.iq.scan.Scanner.scan(Scanner.java:115)
09:57:40.087 | at com.sonatype.nexus.api.iq.impl.DefaultIqClient.scan(DefaultIqClient.java:255)
09:57:40.087 | at com.sonatype.nexus.api.iq.impl.DefaultIqClient.scan(DefaultIqClient.java:233)
09:57:40.087 | at com.sonatype.nexus.api.iq.internal.InternalIqClient$scan$1.call(Unknown Source)
09:57:40.087 | at org.sonatype.nexus.ci.iq.RemoteScanner.call(RemoteScanner.groovy:106)
09:57:40.087 | at org.sonatype.nexus.ci.iq.RemoteScanner.call(RemoteScanner.groovy)
09:57:40.087 | at hudson.remoting.LocalChannel.call(LocalChannel.java:46)
09:57:40.087 | at hudson.remoting.VirtualChannel$call.call(Unknown Source)
09:57:40.087 | at org.sonatype.nexus.ci.iq.IqPolicyEvaluatorUtil.evaluatePolicy(IqPolicyEvaluatorUtil.groovy:95)
09:57:40.087 | at org.sonatype.nexus.ci.iq.IqPolicyEvaluatorUtil$evaluatePolicy.call(Unknown Source)
09:57:40.087 | at org.sonatype.nexus.ci.iq.IqPolicyEvaluatorBuildStep.perform(IqPolicyEvaluatorBuildStep.groovy:91)
09:57:40.087 | at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
09:57:40.087 | at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:806)
09:57:40.088 | at hudson.model.Build$BuildExecution.build(Build.java:198)
09:57:40.088 | at hudson.model.Build$BuildExecution.doRun(Build.java:163)
09:57:40.088 | at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
09:57:40.088 | at hudson.model.Run.execute(Run.java:1888)
09:57:40.088 | at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
09:57:40.088 | at hudson.model.ResourceController.execute(ResourceController.java:99)
09:57:40.088 | at hudson.model.Executor.run(Executor.java:432)
}}