[TICKET] findbugs fails with SEVERE: Unable to get XClass for java/lang/StringBuilder

David Caro dcaro at redhat.com
Thu Jul 30 06:45:24 UTC 2015


It fails every time it runs on fc21 slave, that means that it can run only on
el slaves (as fc19 and 20 are EOL). Can you find out why it fails like this?
Shouldn't it be able to run on fc21 java?

On 07/29, Greg Sheremeta wrote:
> from http://jenkins.ovirt.org/job/ovirt-engine_master_find-bugs_gerrit/40152/console
> 
> Second time I've seen it today -- two different patches.
> 
> 22:02:40 [INFO]
> 22:02:40 [INFO] --- findbugs-maven-plugin:2.5.2:findbugs (default-cli)
> @ jboss-modules-maven-plugin ---
> 22:02:40 [INFO] Fork Value is true
> 22:02:42      [java] The following errors occurred during analysis:
> 22:02:42      [java] Jul 29, 2015 9:02:42 PM
> edu.umd.cs.findbugs.TextUIBugReporter reportAnalysisError
> 22:02:42      [java] SEVERE: Unable to get XClass for java/lang/StringBuilder
> 22:02:42      [java] java.lang.ArrayIndexOutOfBoundsException: 20993
> 22:02:42      [java] at org.objectweb.asm.ClassReader.readClass(Unknown Source)
> 22:02:42      [java] at org.objectweb.asm.ClassReader.accept(Unknown Source)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44)
> 22:02:42      [java] at org.objectweb.asm.ClassReader.accept(Unknown Source)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:554)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:266)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addInheritanceEdge(Subtypes2.java:1227)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addSupertypeEdges(Subtypes2.java:1200)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addClassAndGetClassVertex(Subtypes2.java:275)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addClass(Subtypes2.java:244)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.ba.AnalysisCacheToAnalysisContextAdapter.setAppClassList(AnalysisCacheToAnalysisContextAdapter.java:400)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:982)
> 22:02:42      [java] at
> edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225)
> 22:02:42      [java] at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:391)
> 22:02:42      [java] at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1300)
> 22:02:42      [java]   Unable to get XClass for java/lang/StringBuilder
> 22:02:42      [java]     java.lang.ArrayIndexOutOfBoundsException: 20993
> 22:02:42      [java]       At
> org.objectweb.asm.ClassReader.readClass(Unknown Source)
> 22:02:42      [java]       At
> org.objectweb.asm.ClassReader.accept(Unknown Source)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44)
> 22:02:42      [java]       At
> org.objectweb.asm.ClassReader.accept(Unknown Source)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:554)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:266)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addInheritanceEdge(Subtypes2.java:1227)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addSupertypeEdges(Subtypes2.java:1200)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addClassAndGetClassVertex(Subtypes2.java:275)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.ba.ch.Subtypes2.addClass(Subtypes2.java:244)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.ba.AnalysisCacheToAnalysisContextAdapter.setAppClassList(AnalysisCacheToAnalysisContextAdapter.java:400)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:982)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:391)
> 22:02:42      [java]       At
> edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1300)
> 22:02:42      [java] Jul 29, 2015 9:02:42 PM
> edu.umd.cs.findbugs.TextUIBugReporter reportAnalysisError
> 
> 
> -- 
> Greg Sheremeta
> Red Hat, Inc.
> Sr. Software Engineer, RHEV
> Cell: 919-807-1086
> gshereme at redhat.com
> _______________________________________________
> Infra mailing list
> Infra at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra

-- 
David Caro

Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D

Tel.: +420 532 294 605
Email: dcaro at redhat.com
Web: www.redhat.com
RHT Global #: 82-62605
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20150730/59ebec4e/attachment.sig>


More information about the Infra mailing list