Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after update to 4.8.3.0 Exception analyzing using detector edu.umd.cs.findbugs.detect.FieldItemSummary #2819

Closed
romani opened this issue Jan 16, 2024 · 10 comments

Comments

@romani
Copy link
Contributor

romani commented Jan 16, 2024

continuation of #2759
now exception is different.

after update to 4.8.3.0
https://app.circleci.com/pipelines/github/checkstyle/checkstyle/22934/workflows/85bdd29d-31f0-478d-84e9-0a7ea02662c4/jobs/477027

[INFO] --- spotbugs:4.8.3.0:spotbugs (spotbugs) @ checkstyle ---
[INFO] Fork Value is true
     [java] The following errors occurred during analysis:
     [java]   Exception analyzing com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser$ClassBlockContext using detector edu.umd.cs.findbugs.detect.FieldItemSummary
     [java]     org.apache.bcel.classfile.ClassFormatException: Invalid constant pool reference using index: 0. Constant pool size is: 85
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:305)
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:257)
     [java]       At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:718)
     [java]       At edu.umd.cs.findbugs.detect.FieldItemSummary.visit(FieldItemSummary.java:131)
     [java]       At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:218)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:250)
     [java]       At edu.umd.cs.findbugs.bcel.OpcodeStackDetector.visitCode(OpcodeStackDetector.java:65)
     [java]       At org.apache.bcel.classfile.Code.accept(Code.java:145)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:322)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:404)
     [java]       At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:249)
     [java]       At edu.umd.cs.findbugs.BytecodeScanningDetector.visitClassContext(BytecodeScanningDetector.java:38)
     [java]       At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
     [java]       At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
     [java]       At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     [java]       At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
     [java]       At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:242)
     [java]       At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
    
@romani
Copy link
Contributor Author

romani commented Jan 16, 2024

it fails for me even in local:

~/java/github/checkstyle/checkstyle [dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.8.3.0|…1] 
$ mvn --version
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /opt/maven/apache-maven-3.8.4
Java version: 11.0.14.1, vendor: Amazon.com Inc., runtime: /opt/jvm/amazon-corretto-11.0.14.10.1-linux-x64
Default locale: ru_RU, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-210-generic", arch: "amd64", family: "unix"

to reproduce:

~/java/github/checkstyle/checkstyle [dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.8.3.0|…1] 
$ mvn clean test-compile spotbugs:check >1.txt

result file 1.txt is 360 Mb, not able to share.

head of this file:

[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] ------------------< com.puppycrawl.tools:checkstyle >-------------------
[INFO] Building checkstyle 10.12.8-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ checkstyle ---
[INFO] Deleting /home/rivanov/java/github/checkstyle/checkstyle/target
[INFO] 
[INFO] --- tidy-maven-plugin:1.2.0:check (validate) @ checkstyle ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.4.1:enforce (enforce-maven) @ checkstyle ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- maven-enforcer-plugin:3.4.1:enforce (enforce-versions) @ checkstyle ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] 
[INFO] --- xml-maven-plugin:1.1.0:check-format (default) @ checkstyle ---
[INFO] 
[INFO] --- antlr4-maven-plugin:4.13.1:antlr4 (default) @ checkstyle ---
[INFO] ANTLR 4: Processing source directory /home/rivanov/java/github/checkstyle/checkstyle/src/main/resources
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocLexer.g4
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocParser.g4
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageLexer.g4
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageParser.g4
[INFO] 
[INFO] --- build-helper-maven-plugin:3.5.0:add-source (add-source) @ checkstyle ---
[INFO] Source directory: /home/rivanov/java/github/checkstyle/checkstyle/target/generated-sources/antlr added.
[INFO] 
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ checkstyle ---
[INFO] Copying 395 resources from src/main/resources to target/classes
[INFO] 
[INFO] --- build-helper-maven-plugin:3.5.0:add-test-source (add-test-source) @ checkstyle ---
[INFO] Test Source directory: /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources added.
[INFO] 
[INFO] --- build-helper-maven-plugin:3.5.0:add-test-source (add-it-test-source) @ checkstyle ---
[INFO] Test Source directory: /home/rivanov/java/github/checkstyle/checkstyle/src/it/java added.
[INFO] 
[INFO] --- build-helper-maven-plugin:3.5.0:add-test-source (add-it-test-resource) @ checkstyle ---
[INFO] Test Source directory: /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources added.
[INFO] 
[INFO] --- build-helper-maven-plugin:3.5.0:add-test-source (add-xdocs-examples-source) @ checkstyle ---
[INFO] Test Source directory: /home/rivanov/java/github/checkstyle/checkstyle/src/xdocs-examples/java added.
[INFO] 
[INFO] --- build-helper-maven-plugin:3.5.0:add-test-source (add-xdocs-examples-resource) @ checkstyle ---
[INFO] Test Source directory: /home/rivanov/java/github/checkstyle/checkstyle/src/xdocs-examples/resources added.
[INFO] 
[INFO] --- maven-compiler-plugin:3.12.1:compile (default-compile) @ checkstyle ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 448 source files with javac [debug target 11] to target/classes
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/DefaultLogger.java: Some input files use or override a deprecated API.
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/DefaultLogger.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/AbstractAutomaticBean.java: /home/rivanov/java/github/checkstyle/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/AbstractAutomaticBean.java uses unchecked or unsafe operations.
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/AbstractAutomaticBean.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- plexus-component-metadata:2.2.0:generate-metadata (default) @ checkstyle ---
[INFO] Discovered 6 component descriptor(s)
[INFO] 
[INFO] --- exec-maven-plugin:3.1.1:java (default) @ checkstyle ---
[INFO] 
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ checkstyle ---
[INFO] Copying 2663 resources from src/test/resources to target/test-classes
[INFO] 
[INFO] --- maven-compiler-plugin:3.12.1:testCompile (default-testCompile) @ checkstyle ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 3675 source files with javac [debug target 11] to target/test-classes
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/indentation/indentation/InputIndentationChainedMethods.java:[10,13] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.lang.Object for a varargs call
  cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom4.java:[42,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom4.java:[56,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom4.java:[70,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom4.java:[84,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom4.java:[24,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom4.java:[100,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/avoidstaticimport/InputAvoidStaticImportDefault4.java:[114,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect3.java:[29,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect3.java:[50,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[50,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[82,10] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[100,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[117,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[141,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[174,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[193,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[209,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[227,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[258,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[276,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[294,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[17,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputJavaDocTagContinuationIndentation.java:[313,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputNonEmptyAtclauseDescriptionCheckSpaceSeq.java:[20,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputNonEmptyAtclauseDescriptionCheckSpaceSeq.java:[42,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/annotation/missingdeprecated/InputMissingDeprecatedSpecialCase.java:[21,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/annotation/missingdeprecated/InputMissingDeprecatedSpecialCase.java:[26,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/annotation/missingdeprecated/InputMissingDeprecatedSpecialCase.java:[99,11] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/annotation/missingdeprecated/InputMissingDeprecatedSpecialCase.java:[106,11] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/annotation/missingdeprecated/InputMissingDeprecatedSpecialCase.java:[113,22] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/avoidstarimport/InputAvoidStarImportAllowClass.java:[111,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocmethod/InputJavadocMethod1.java:[12,8] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocmethod/InputJavadocMethod1.java:[23,9] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocmethod/InputJavadocMethod1.java:[18,2] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/redundantimport/InputRedundantImportWithChecker.java:[113,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck1.java:[42,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck1.java:[76,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck1.java:[103,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck1.java:[14,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/annotation/missingdeprecated/InputMissingDeprecatedClass.java:[19,8] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck2.java:[28,10] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck2.java:[61,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck2.java:[87,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck2.java:[14,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck2.java:[108,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/metrics/booleanexpressioncomplexity/InputBooleanExpressionComplexitySmall.java:[16,54] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.lang.Class<?> for a varargs call
  cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/metrics/booleanexpressioncomplexity/InputBooleanExpressionComplexitySmall.java:[18,46] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.lang.Object for a varargs call
  cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom3.java:[41,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom3.java:[62,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom3.java:[24,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect2.java:[33,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect2.java:[65,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/indentation/indentation/InputIndentationTryResourcesNotStrict.java:[59,72] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.nio.file.OpenOption for a varargs call
  cast to java.nio.file.OpenOption[] for a non-varargs call and to suppress this warning
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadoctagcontinuationindentation/InputJavadocTagContinuationIndentationOffset3.java:[23,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/unusedimports/InputUnusedImports.java:[114,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck3.java:[23,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck3.java:[38,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck3.java:[60,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck3.java:[74,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck3.java:[89,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck3.java:[103,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputIncorrectAtClauseOrderCheck3.java:[14,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/avoidstarimport/InputAvoidStarImportExcludes.java:[111,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/design/designforextension/InputDesignForExtensionIgnoredAnnotations.java:[176,11] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/avoidstaticimport/InputAvoidStaticImportDefault5.java:[113,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect1.java:[53,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect1.java:[82,10] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect1.java:[101,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect1.java:[115,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderCorrect1.java:[25,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputCorrectAtClauseOrderCheck2.java:[28,10] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputCorrectAtClauseOrderCheck2.java:[59,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputCorrectAtClauseOrderCheck2.java:[87,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputCorrectAtClauseOrderCheck2.java:[14,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputCorrectAtClauseOrderCheck2.java:[108,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputCorrectAtClauseOrderCheck2.java:[119,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderWithAnnotationsOutsideJavadoc.java:[36,20] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderWithAnnotationsOutsideJavadoc.java:[78,20] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/indentation/indentation/InputIndentationTryWithResourcesStrict.java:[59,69] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.nio.file.OpenOption for a varargs call
  cast to java.nio.file.OpenOption[] for a non-varargs call and to suppress this warning
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocmissingleadingasterisk/InputJavadocMissingLeadingAsteriskCorrect.java:[83,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputNonEmptyAtclauseDescriptionCheck.java:[14,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputNonEmptyAtclauseDescriptionCheck.java:[41,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/it/resources/com/google/checkstyle/test/chapter7javadoc/rule713atclauses/InputNonEmptyAtclauseDescriptionCheck.java:[54,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocmissingleadingasterisk/InputJavadocMissingLeadingAsteriskIncorrect.java:[27,14] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocmissingleadingasterisk/InputJavadocMissingLeadingAsteriskIncorrect.java:[65,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/abstractjavadoc/InputAbstractJavadocJavadocTagsWithoutArgs.java:[58,24] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect1.java:[53,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect1.java:[82,10] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect1.java:[100,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect1.java:[115,12] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect1.java:[25,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom2.java:[43,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom2.java:[78,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrectCustom2.java:[24,1] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/annotation/missingdeprecated/InputMissingDeprecatedMethod.java:[18,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/imports/avoidstaticimport/InputAvoidStaticImportDefault.java:[112,17] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect4.java:[42,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect4.java:[55,16] deprecated item is not annotated with @Deprecated
[WARNING] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/javadoc/atclauseorder/InputAtclauseOrderIncorrect4.java:[68,16] deprecated item is not annotated with @Deprecated
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/metrics/classfanoutcomplexity/InputClassFanOutComplexityMultiCatchBitwiseOr.java: Some input files use or override a deprecated API.
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/metrics/classfanoutcomplexity/InputClassFanOutComplexityMultiCatchBitwiseOr.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/nowhitespaceafter/InputNoWhitespaceAfterNewTypeStructure.java: Some input files use unchecked or unsafe operations.
[INFO] /home/rivanov/java/github/checkstyle/checkstyle/src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/nowhitespaceafter/InputNoWhitespaceAfterNewTypeStructure.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.11:instrument (default-instrument) @ checkstyle ---
[INFO] 
[INFO] >>> spotbugs-maven-plugin:4.8.3.0:check (default-cli) > :spotbugs @ checkstyle >>>
[INFO] 
[INFO] --- spotbugs-maven-plugin:4.8.3.0:spotbugs (spotbugs) @ checkstyle ---
[INFO] Fork Value is true
     [java] The following errors occurred during analysis:
     [java]   Exception analyzing com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser$ClassBlockContext using detector edu.umd.cs.findbugs.detect.FieldItemSummary
     [java]     org.apache.bcel.classfile.ClassFormatException: Invalid constant pool reference using index: 0. Constant pool size is: 85
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:305)
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:257)
     [java]       At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:718)
     [java]       At edu.umd.cs.findbugs.detect.FieldItemSummary.visit(FieldItemSummary.java:131)
     [java]       At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:218)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:250)
     [java]       At edu.umd.cs.findbugs.bcel.OpcodeStackDetector.visitCode(OpcodeStackDetector.java:65)
     [java]       At org.apache.bcel.classfile.Code.accept(Code.java:145)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:322)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:404)
     [java]       At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:249)
     [java]       At edu.umd.cs.findbugs.BytecodeScanningDetector.visitClassContext(BytecodeScanningDetector.java:38)
     [java]       At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
     [java]       At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
     [java]       At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     [java]       At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
     [java]       At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:242)
     [java]       At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
     [java]   Exception analyzing com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser$ClassBlockContext using detector com.mebigfatguy.fbcontrib.collect.CollectStatistics
     [java]     org.apache.bcel.classfile.ClassFormatException: Invalid constant pool reference using index: 0. Constant pool size is: 85
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:305)
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:257)
     [java]       At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:718)
     [java]       At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:218)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:250)
     [java]       At com.mebigfatguy.fbcontrib.collect.CollectStatistics.visitCode(CollectStatistics.java:142)
     [java]       At org.apache.bcel.classfile.Code.accept(Code.java:145)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:322)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:404)
     [java]       At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:249)
     [java]       At edu.umd.cs.findbugs.BytecodeScanningDetector.visitClassContext(BytecodeScanningDetector.java:38)
     [java]       At com.mebigfatguy.fbcontrib.collect.CollectStatistics.visitClassContext(CollectStatistics.java:108)
     [java]       At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
     [java]       At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
     [java]       At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     [java]       At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
     [java]       At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:242)
     [java]       At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
     [java]   Exception analyzing com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser$ClassBlockContext using detector com.mebigfatguy.fbcontrib.collect.CollectNullableMethodStatus
     [java]     org.apache.bcel.classfile.ClassFormatException: Invalid constant pool reference using index: 0. Constant pool size is: 85
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:305)
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:257)
     [java]       At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:718)
     [java]       At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:218)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:250)
     [java]       At com.mebigfatguy.fbcontrib.detect.AnnotationIssues.visitCode(AnnotationIssues.java:210)
     [java]       At org.apache.bcel.classfile.Code.accept(Code.java:145)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:322)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:404)
     [java]       At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:249)
     [java]       At edu.umd.cs.findbugs.BytecodeScanningDetector.visitClassContext(BytecodeScanningDetector.java:38)
     [java]       At com.mebigfatguy.fbcontrib.detect.AnnotationIssues.visitClassContext(AnnotationIssues.java:147)
     [java]       At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
     [java]       At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
     [java]       At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     [java]       At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
     [java]       At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:242)
     [java]       At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
     [java]   Exception analyzing com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser$ClassBlockContext using detector edu.umd.cs.findbugs.detect.NoteDirectlyRelevantTypeQualifiers
     [java]     org.apache.bcel.classfile.ClassFormatException: Invalid constant pool reference using index: 0. Constant pool size is: 85
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:305)
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:257)
     [java]       At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:718)
     [java]       At edu.umd.cs.findbugs.detect.NoteDirectlyRelevantTypeQualifiers.visit(NoteDirectlyRelevantTypeQualifiers.java:80)
     [java]       At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:218)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:250)
     [java]       At org.apache.bcel.classfile.Code.accept(Code.java:145)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:322)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:404)
     [java]       At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:249)
     [java]       At edu.umd.cs.findbugs.detect.NoteDirectlyRelevantTypeQualifiers.visitClassContext(NoteDirectlyRelevantTypeQualifiers.java:65)
     [java]       At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
     [java]       At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
     [java]       At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     [java]       At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
     [java]       At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:242)
     [java]       At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
     [java]   Exception analyzing com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser$ClassBlockContext using detector edu.umd.cs.findbugs.detect.ReflectiveClasses
     [java]     org.apache.bcel.classfile.ClassFormatException: Invalid constant pool reference using index: 0. Constant pool size is: 85
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:305)
     [java]       At org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:257)
     [java]       At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:718)
     [java]       At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:218)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:250)
     [java]       At org.apache.bcel.classfile.Code.accept(Code.java:145)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:322)
     [java]       At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:404)
     [java]       At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:249)
     [java]       At edu.umd.cs.findbugs.BytecodeScanningDetector.visitClassContext(BytecodeScanningDetector.java:38)
     [java]       At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
     [java]       At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
     [java]       At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
     [java]       At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
     [java]       At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:242)
     [java]       At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
     [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
     [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
     [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)

@gtoison
Copy link
Contributor

gtoison commented Jan 16, 2024

Ah sorry, issue #2759 was posted right after 4.8.3 was released so I assumed you were using it, but you said you were on 4.8.2

The fix in #2807 isn't released yet and the error you see was solved by 2e16df8

@hazendaz
Copy link
Member

hazendaz commented Jan 17, 2024 via email

@gtoison
Copy link
Contributor

gtoison commented Jan 17, 2024

And @romani, part of the issue here is that SpotBugs is analyzing bytecode modified by Jacoco.
Even if that particular issue is a bug in SpotBugs and BCEL, down the road you probably want SpotBugs to analyse the actual production bytecode (i.e. without the code added by jacoco)

@stevenschlansker
Copy link

We're seeing this issue as well and it makes our logs quite voluminous.
We'd love to see a release with this fix included.

@hazendaz
Copy link
Member

We are finalizing release needs, think just one outstanding issue to address before its done. Think another week or two is all we need to get this out. Sorry for any inconvenience caused by this.

@gtoison
Copy link
Contributor

gtoison commented May 6, 2024

Hello @romani and @stevenschlansker,
Have you been able to check if the problem persists after upgrading to 4.8.4?

@romani
Copy link
Contributor Author

romani commented May 6, 2024

Lets see how it work now checkstyle/checkstyle#14863
thanks a lot for followup.

@romani
Copy link
Contributor Author

romani commented May 6, 2024

exception is not happening any more.
There are strange violations, not sure why they pop up in this Execution but in others CIs.
https://app.circleci.com/pipelines/github/checkstyle/checkstyle/25457/workflows/0fae8ab3-9af9-4c80-a9b3-004932d5721f/jobs/587391
but after analysis we will open separate issue if requird

@romani romani closed this as completed May 6, 2024
@gtoison
Copy link
Contributor

gtoison commented May 6, 2024

Brilliant, thanks for checking and reporting back!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants