JAVA里的FindBugs插件:does not match outer scope rule: MutexSchedulingRule是啥问题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JAVA里的FindBugs插件:does not match outer scope rule: MutexSchedulingRule是啥问题相关的知识,希望对你有一定的参考价值。
参考技术A 不匹配的MutexSchedulingRule来自:求助得到的回答 参考技术A When attempting to run Findbugs on an Eclipse project I get the following exception. This happens on all projects I've tried, as well as when attempting to run on an individual file.java.lang.IllegalArgumentException: Attempted to beginRule: P/Application, does not match outer scope rule: MutexSchedulingRule, resource: P/Application
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:134)
at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:333)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:85)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:286)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2285)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2342)
at de.tobject.findbugs.reporter.MarkerUtil.createMarkers(MarkerUtil.java:125)
at de.tobject.findbugs.builder.FindBugsWorker.updateBugCollection(FindBugsWorker.java:383)
at de.tobject.findbugs.builder.FindBugsWorker.work(FindBugsWorker.java:227)
at de.tobject.findbugs.actions.FindBugsAction$StartedFromViewJob.runWithProgress(FindBugsAction.java:265)
at de.tobject.findbugs.FindBugsJob.run(FindBugsJob.java:102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Eclipse details:
eclipse.buildId=I20120810-1300
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data C:\workspace
Comments ( 5 )
Date: 2012-09-28 11:33:33 PDTSender: andyandyThanks for testing, I've also had no issues so far with Eclipse 3.8.Date: 2012-09-28 09:51:06 PDTSender: ddossotFYI the latest daily build (2.0.2.20120928) fixed the issue for JunoService Release 1, Build id: 20120920-0800.Date: 2012-09-10 03:52:27 PDTSender: chaosdeathfishI've tested it on the latest daily build (2.0.2.20120910) and had noproblems so far (although I've not tested it extensively) - it looks fixedto me, thanks.Date: 2012-09-09 14:52:25 PDTSender: andyandyHi,I've tried to separate jobs - the error shouldn't happen anymore, but Icould introduce new problems. Please check if the newest eclipse-dailybuild is OK for you.I will be able tp test it in production env. by the end of this week.See http://code.google.com/p/findbugs/source/detail?r=14435Regards,AndreyDate: 2012-09-07 14:24:41 PDTSender: andyandyHi,I'm sorry for not reacting on the bug for so long time.I can't reproduce this issue. More strangely, I've seen it by myself once,and looking at the code/stack trace I can't really get any idea why 2!=2is.if (baseRule != null && rule != null && !baseRule.contains(rule))illegalPush(rule, baseRule);!baseRule.contains(rule)...(MutexSchedulingRule on project A) ! contains project Aproject A ! contains project Apath !isprefixof pathpaths are equals here, but why we have false???why...Andrey
以上是关于JAVA里的FindBugs插件:does not match outer scope rule: MutexSchedulingRule是啥问题的主要内容,如果未能解决你的问题,请参考以下文章
Google Chrome 插件开发: 无法建立连接, 接收端不存在. Could not establish connection. Receiving end does not exist
Android Studio 中的FindBugs插件使用,轻松帮你发现Bug (转)
IDEAL葵花宝典:java代码开发规范插件 FindBugs-IDEA
Linux环境下jenkins插件Gerrit Trigger配置--“/var/lib/jenkins/.ssh/id_rsa“ does not exist.
解决 release-stripped.ap_' specified for property 'resourceFile' does not exist.