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

JaCoCo ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • jacoco-plugin
    • None
    • Linux 3.2.0-4-amd64
      Oracle Java 1.7.0_72-b14
      Jenkins v1.590
      JaCoCo 1.0.18

      An ArrayIndexOutOfBoundsException occurs, see the logoutput in stacktrace.txt:
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 38
      at org.jacoco.core.internal.analysis.MethodAnalyzer.addProbe(MethodAnalyzer.java:288)
      at org.jacoco.core.internal.analysis.MethodAnalyzer.visitInsnWithProbe(MethodAnalyzer.java:224)
      at org.jacoco.core.internal.flow.MethodProbesAdapter.visitInsn(MethodProbesAdapter.java:76)
      at org.objectweb.asm.tree.InsnNode.accept(Unknown Source)
      at org.objectweb.asm.tree.InsnList.accept(Unknown Source)
      at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
      at org.jacoco.core.internal.flow.ClassProbesAdapter$1.visitEnd(ClassProbesAdapter.java:124)
      at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1021)
      at org.objectweb.asm.ClassReader.accept(ClassReader.java:693)
      at org.objectweb.asm.ClassReader.accept(ClassReader.java:506)
      at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:107)
      at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:142)
      ... 17 more

      The error occurs on the SoapMessageFactoryImpl.class which is also provided as attachment.
      It is the first time we enabled JaCoCo for this project, we have done this for other projects too, but these projects work fine.

            centic centic
            ab9394104 Ab Ba
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: