You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to 5.1.5 I get the following error when running spotbugs:
> Task :utility:spotbugsMain
The following errors occurred during analysis:
Exception analyzing com.dua3.utility.io.FileSystemView$Flags using detector edu.umd.cs.findbugs.detect.FindAssertionsWithSideEffects
java.lang.NullPointerException: Cannot invoke "edu.umd.cs.findbugs.ba.XMethod.getSignature()" because the return value of "edu.umd.cs.findbugs.detect.FindAssertionsWithSideEffects.getXMethodOperand()" is null
At edu.umd.cs.findbugs.detect.FindAssertionsWithSideEffects.detect(FindAssertionsWithSideEffects.java:65)
At edu.umd.cs.findbugs.detect.AbstractAssertDetector.sawOpcode(AbstractAssertDetector.java:52)
At edu.umd.cs.findbugs.visitclass.DismantleBytecode.visit(DismantleBytecode.java:878)
At edu.umd.cs.findbugs.visitclass.BetterVisitor.visitCode(BetterVisitor.java:218)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitCode(PreorderVisitor.java:250)
At edu.umd.cs.findbugs.bcel.OpcodeStackDetector.visitCode(OpcodeStackDetector.java:65)
At org.apache.bcel.classfile.Code.accept(Code.java:121)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitMethod(PreorderVisitor.java:322)
At edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:404)
At org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:244)
At edu.umd.cs.findbugs.BytecodeScanningDetector.visitClassContext(BytecodeScanningDetector.java:38)
At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
At java.base/java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:247)
At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
This is fixed when downgrading to 5.1.4. It also works when I use 6.0.0-beta.4.
PS: I am on JDK 21, ARM64 (OpenJDK 64-Bit Server VM Zulu21.28+85-CA (build 21+35, mixed mode, sharing).
The text was updated successfully, but these errors were encountered:
If possible, just use 5.1.4 for now. This is fixed in spotbugs but there seem to be a few other issues being seen that are yet to be addressed. Rather that churn releases, we need probably the week to review the current issues and try to solve them as well. I anticipate probably next weekend we cut this all again. Thanks.
After upgrading to 5.1.5 I get the following error when running spotbugs:
This is fixed when downgrading to 5.1.4. It also works when I use 6.0.0-beta.4.
PS: I am on JDK 21, ARM64 (OpenJDK 64-Bit Server VM Zulu21.28+85-CA (build 21+35, mixed mode, sharing).
The text was updated successfully, but these errors were encountered: