-
Bug
-
Resolution: Done
-
Major
-
6.0.0.Alpha2
-
None
When you run find bugs on a project (e.g. dynamic web project or java ee web project from central), it will search for bugs and then you will get an error:
An internal error occurred during: "Finding bugs in dynproj...". Attempted to beginRule: P/dynproj, does not match outer scope rule: MutexSchedulingRule, resource: P/dynproj
The workspace log:
!ENTRY org.eclipse.core.jobs 4 2 2012-10-05 14:07:48.920 !MESSAGE An internal error occurred during: "Finding bugs in dynproj...". !STACK 0 java.lang.IllegalArgumentException: Attempted to beginRule: P/dynproj, does not match outer scope rule: MutexSchedulingRule, resource: P/dynproj 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:2282) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2339) 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)
I tried the same in JBDS 5.0.1 with Find Bugs 2.0.1 and there was no error. So it looks like something has changed between JBDS 5 and 6. (Maybe just Indigo -> Juno?)