commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COLLECTIONS-656) Fix site build on Java 8
Date Tue, 12 Sep 2017 22:46:00 GMT

    [ https://issues.apache.org/jira/browse/COLLECTIONS-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16163798#comment-16163798
] 

ASF GitHub Bot commented on COLLECTIONS-656:
--------------------------------------------

Github user kinow closed the pull request at:

    https://github.com/apache/commons-collections/pull/26


> Fix site build on Java 8
> ------------------------
>
>                 Key: COLLECTIONS-656
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-656
>             Project: Commons Collections
>          Issue Type: Bug
>    Affects Versions: 4.1
>            Reporter: Bruno P. Kinoshita
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>              Labels: documentation, site
>             Fix For: 4.2
>
>
> Building the current master branch from git fails with
> {noformat}
> [INFO] Generating "FindBugs" report             --- findbugs-maven-plugin:2.5.5:findbugs
> [INFO] Locale is en
> [INFO] Fork Value is true
>      [java] The following errors occurred during analysis:
>      [java]   Error scanning java/util/Map$Entry for referenced classes
>      [java]     java.lang.ArrayIndexOutOfBoundsException: 5735
>      [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)
>      [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)
>      [java]   Unable to get XClass for java/util/AbstractMap$SimpleEntry
>      [java]     java.lang.ArrayIndexOutOfBoundsException: 5735
>      [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)
>      [java]   Unable to get XClass for org/apache/commons/collections4/map/StaticBucketMap$Node
>      [java]     java.lang.ArrayIndexOutOfBoundsException: 5735
>      [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)
> ...
> {noformat}
> Tested locally, and updating the commons-parent version to 42, and specifying the findbugs
version from the parent property seems to fix the issue. As it could affect other parts of
the build/release artefacts, I'll send a pull request to allow others to review before the
parent is updated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message