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

Greg Sheremeta gshereme at redhat.com
Fri Jul 31 03:23:06 UTC 2015


> Can you find out why it fails like this?

uh, I don't have a clue. Seems like a straight up infra issue to me.

On Thu, Jul 30, 2015 at 3:00 AM, Eyal Edri <eedri at redhat.com> wrote:
> i think since this is findbugs, and it's java, we can probably run it
> only on a single OS and not worry about it,
> there won't be any different static code warnings on every os afaik.
>
> so i think we can safly run it only on el6 or el7.
>
> e.
>
> On Thu, Jul 30, 2015 at 9:45 AM, David Caro <dcaro at redhat.com> wrote:
>>
>> 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
>>
>> _______________________________________________
>> Infra mailing list
>> Infra at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/infra
>>
>
>
>
> --
> Eyal Edri
> Supervisor, RHEV CI
> EMEA ENG Virtualization R&D
> Red Hat Israel
>
>
>
> phone: +972-9-7692018
> irc: eedri (on #tlv #rhev-dev #rhev-integ)



-- 
Greg Sheremeta
Red Hat, Inc.
Sr. Software Engineer, RHEV
Cell: 919-807-1086
gshereme at redhat.com



More information about the Infra mailing list