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

Findbugs (and others) fail on Java 8 CI build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.1SDK
    • 2.9.0SDK
    • None

    Description

      Since UIMA is by default on Java 7 now, I have created a Java 8 build on Jenkins. However, here it appears that at least findbugs is having problems:

      [INFO] --- findbugs-maven-plugin:2.5.4:findbugs (default) @ uimaj-test-util ---
      [INFO] Fork Value is true
           [java] The following errors occurred during analysis:
           [java]   Unable to get XClass for java/lang/StringBuilder
           [java]     java.lang.ArrayIndexOutOfBoundsException: 5747
           [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)
      ....
      

      Give earlier experience, I assume that various code QA plugins need to be updated for compatibility with Java 8.

      Testing this in uimaj core, but probably should not be done locally but in the parent-pom.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: