jenkins - How to avoid OverlyPermissiveMethod issue? -
in sonarqube 6.4 findbug plugin 3.5 installed, see issue in every build job:
info: findbugs output report: /var/lib/jenkins/workspace/.........../findbugs-result.xml following errors occurred during analysis: exception analyzing ch.axonivy.fintech.acrevis.document.service.acrevisdocumentservice using detector com.mebigfatguy.fbcontrib.detect.overlypermissivemethod java.lang.runtimeexception: incompatible bcel version @ com.mebigfatguy.fbcontrib.detect.overlypermissivemethod.getbootstrapmethod(overlypermissivemethod.java:379) @ com.mebigfatguy.fbcontrib.detect.overlypermissivemethod.sawopcode(overlypermissivemethod.java:167) @ edu.umd.cs.findbugs.visitclass.dismantlebytecode.visit(dismantlebytecode.java:881) @ edu.umd.cs.findbugs.visitclass.bettervisitor.visitcode(bettervisitor.java:218) @ edu.umd.cs.findbugs.visitclass.preordervisitor.visitcode(preordervisitor.java:240) @ com.mebigfatguy.fbcontrib.detect.overlypermissivemethod.visitcode(overlypermissivemethod.java:114) @ org.apache.bcel.classfile.code.accept(code.java:132) @ edu.umd.cs.findbugs.visitclass.preordervisitor.dovisitmethod(preordervisitor.java:312) @ edu.umd.cs.findbugs.visitclass.preordervisitor.visitjavaclass(preordervisitor.java:400) @ org.apache.bcel.classfile.javaclass.accept(javaclass.java:213) @ edu.umd.cs.findbugs.bytecodescanningdetector.visitclasscontext(bytecodescanningdetector.java:38) @ com.mebigfatguy.fbcontrib.detect.overlypermissivemethod.visitclasscontext(overlypermissivemethod.java:96) @ edu.umd.cs.findbugs.detectortodetector2adapter.visitclass(detectortodetector2adapter.java:76) @ edu.umd.cs.findbugs.findbugs2.analyzeapplication(findbugs2.java:1089) @ edu.umd.cs.findbugs.findbugs2.execute(findbugs2.java:283) @ org.sonar.plugins.findbugs.findbugsexecutor$findbugstask.call(findbugsexecutor.java:216) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:748) exception analyzing ch.axonivy.fintech.acrevis.dossieroverview.acrevisuserrole using detector com.mebigfatguy.fbcontrib.detect.overlypermissivemethod
how can avoid this?
it bug, please follow https://github.com/mebigfatguy/fb-contrib/issues/205
Comments
Post a Comment