Bug 310070 - IllegalArgumentException: Attempted to beginRule ... does not match outer scope rule (when running FindBugs)
Summary: IllegalArgumentException: Attempted to beginRule ... does not match outer sco...
Status: VERIFIED DUPLICATE of bug 305043
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M7   Edit
Assignee: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 04:53 EDT by Ulrich Hobelmann CLA
Modified: 2010-04-26 10:51 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Hobelmann CLA 2010-04-22 04:53:33 EDT
Build Identifier: I20100312-1448 (3.6 Milestone)

I cannot run FindBugs on some of my Eclipse projects. I get the following exception:

java.lang.IllegalArgumentException: Attempted to beginRule: MultiRule[P/MyProject,P/.org.eclipse.jdt.core.external.folders], does not match outer scope rule: MutexSchedulingRule, project: P/MyProject
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:136)
at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:326)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:85)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:285)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:117)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1914)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1970)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1845)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2699)
at org.eclipse.jdt.launching.JavaRuntime.computeDefaultContainerEntries(JavaRuntime.java:1118)
at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:1085)
at org.eclipse.jdt.internal.launching.DefaultEntryResolver.resolveRuntimeClasspathEntry(DefaultEntryResolver.java:53)
at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:1090)
at org.eclipse.jdt.launching.JavaRuntime.computeDefaultRuntimeClassPath(JavaRuntime.java:1373)
at de.tobject.findbugs.builder.PDEClassPathGenerator.createJavaClasspath(PDEClassPathGenerator.java:76)
at de.tobject.findbugs.builder.PDEClassPathGenerator.createPluginClassPath(PDEClassPathGenerator.java:85)
at de.tobject.findbugs.builder.PDEClassPathGenerator.computeClassPath(PDEClassPathGenerator.java:53)
at de.tobject.findbugs.builder.FindBugsWorker.createAuxClasspath(FindBugsWorker.java:436)
at de.tobject.findbugs.builder.FindBugsWorker.work(FindBugsWorker.java:157)
at de.tobject.findbugs.actions.FindBugsAction$StartedFromViewJob.runWithProgress(FindBugsAction.java:248)
at de.tobject.findbugs.FindBugsJob.run(FindBugsJob.java:61)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Always

Steps to Reproduce:
1. Right-click on a project
2. Select FindBugs -> FindBugs (version is 1.3.9, but it never seems to actually get to the FindBugs code)

This does not hold for ALL projects, just for some. I'm not sure what's happening in the code though, so I can't tell what's different about the projects.
Comment 1 Jay Arthanareeswaran CLA 2010-04-22 09:55:15 EDT
This should be working in the recent I builds.

*** This bug has been marked as a duplicate of bug 305043 ***
Comment 2 Satyam Kandula CLA 2010-04-26 10:36:25 EDT
Verified for 3.6M7 using build I20100424-2000
Comment 3 Jay Arthanareeswaran CLA 2010-04-26 10:51:56 EDT
Verified