0

我正在使用 FindBugs-IDEA 1.0.0 和 FindBugs 3.0.1。我的 Android Studio 版本是 2.1.2。

如果这很重要,我只使用 FindBugs 分析 1 个单个 Java 文件(一个片段)

完整的堆栈跟踪:

java.lang.NoClassDefFoundError: Could not initialize class com.h3xstream.findsecbugs.taintanalysis.TaintMethodSummary
    at com.h3xstream.findsecbugs.taintanalysis.TaintMethodSummaryMap.putFromLine(TaintMethodSummaryMap.java:67)
    at com.h3xstream.findsecbugs.taintanalysis.TaintMethodSummaryMap.load(TaintMethodSummaryMap.java:47)
    at com.h3xstream.findsecbugs.taintanalysis.TaintDataflowEngine.loadMethodSummaries(TaintDataflowEngine.java:82)
    at com.h3xstream.findsecbugs.taintanalysis.TaintDataflowEngine.<init>(TaintDataflowEngine.java:73)
    at com.h3xstream.findsecbugs.taintanalysis.EngineRegistrar.registerAnalysisEngines(EngineRegistrar.java:32)
    at edu.umd.cs.findbugs.FindBugs2.registerPluginAnalysisEngines(FindBugs2.java:633)
    at edu.umd.cs.findbugs.FindBugs2.createAnalysisCache(FindBugs2.java:594)
    at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:211)
    at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.executeImpl(FindBugsStarter.java:354)
    at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStartImpl(FindBugsStarter.java:245)
    at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStart(FindBugsStarter.java:218)
    at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.access$300(FindBugsStarter.java:74)
    at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter$3.run(FindBugsStarter.java:202)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:366)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:695)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
4

1 回答 1

0

要测试的一件事:

FindBugs 插件可以在Other Settings > FindBugs-IDEA中配置

如果您不断收到错误,您可以在 GitHub 上打开一个问题

于 2016-07-19T15:57:13.447 回答