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

Plugin POM: FindBugs sometimes fails on Java 11

XMLWordPrintable

    • 3.36

      [INFO] --- findbugs-maven-plugin:3.0.5:findbugs (findbugs) @ label-verifier --- [INFO] Fork Value is true      [java] WARNING: An illegal reflective access operation has occurred      [java] WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/Users/nenashev/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()      [java] WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler      [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations      [java] WARNING: All illegal access operations will be denied in a future release      [java] Warning: Unknown version of Java      [java] edu.umd.cs.findbugs.JavaVersionException: Could not parse Java version string: 11      [java] at edu.umd.cs.findbugs.JavaVersion.<init>(JavaVersion.java:68)      [java] at edu.umd.cs.findbugs.JavaVersion.<clinit>(JavaVersion.java:44)      [java] at edu.umd.cs.findbugs.DetectorFactory.isEnabledForCurrentJRE(DetectorFactory.java:248)      [java] at edu.umd.cs.findbugs.FindBugs.isDetectorEnabled(FindBugs.java:256)      [java] at edu.umd.cs.findbugs.FindBugs2$3.choose(FindBugs2.java:906)      [java] at edu.umd.cs.findbugs.plan.ExecutionPlan.build(ExecutionPlan.java:179)      [java] at edu.umd.cs.findbugs.FindBugs2.createExecutionPlan(FindBugs2.java:935)      [java] at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:241)      [java] at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:402)      [java] at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1200)      [java] The following classes needed for analysis were missing:      [java]   java.lang.Object      [java]   java.io.IOException      [java]   java.lang.String      [java]   java.io.PrintStream      [java]   java.util.regex.Pattern      [java]   java.util.regex.PatternSyntaxException      [java]   java.util.ArrayList      [java]   java.util.Iterator      [java]   java.lang.StringBuilder      [java]   java.util.Collections      [java]   java.util.Set      [java]   java.lang.NoSuchFieldError      [java]   java.io.Serializable      [java]   java.lang.NoClassDefFoundError      [java]   java.lang.NoSuchMethodError      [java]   java.lang.UnsatisfiedLinkError      [java]   java.lang.IncompatibleClassChangeError      [java]   java.util.AbstractList      [java] Missing classes: 15
      

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: