Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4870

FindBugs 2 not compatible with Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0uimaFIT
    • uimaFIT
    • None

    Description

      When building uimaFIT with the findbugs profile on a Java 8, the build fails:

      [INFO] --- findbugs-maven-plugin:2.5.4:findbugs (default) @ uimafit-core ---
      [INFO] Fork Value is true
           [java] The following errors occurred during analysis:
           [java]   Error scanning java/util/Comparator for referenced classes
           [java]     java.lang.ArrayIndexOutOfBoundsException: 1320
           [java]       At org.objectweb.asm.ClassReader.readClass(Unknown Source)
           [java]       At org.objectweb.asm.ClassReader.accept(Unknown Source)
           [java]       At edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44)
           [java]       At org.objectweb.asm.ClassReader.accept(Unknown Source)
           [java]       At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110)
           [java]       At edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:587)
           [java]       At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76)
           [java]       At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38)
           [java]       At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:268)
           [java]       At edu.umd.cs.findbugs.FindBugs2.buildReferencedClassSet(FindBugs2.java:891)
           [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:222)
           [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393)
           [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1317)
      

      Attachments

        Activity

          People

            rec Richard Eckart de Castilho
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: