java.lang.IllegalArgumentException: Attempted to beginRule: P/dynproj, does not match outer scope rule: MutexSchedulingRule, resource: P/dynproj

JBoss Issue Tracker | Martin Malina | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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: {code} An internal error occurred during: "Finding bugs in dynproj...". Attempted to beginRule: P/dynproj, does not match outer scope rule: MutexSchedulingRule, resource: P/dynproj {code} The workspace log: {code} !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) {code} 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?)

    JBoss Issue Tracker | 5 years ago | Martin Malina
    java.lang.IllegalArgumentException: Attempted to beginRule: P/dynproj, does not match outer scope rule: MutexSchedulingRule, resource: P/dynproj
  2. 0

    FindBugs / Bugs / #1127 Findbugs fails in Eclipse Juno + JDK7

    sourceforge.net | 2 years ago
    java.lang.IllegalArgumentException: Attempted to beginRule: P/cassandra, does not match outer scope rule: MutexSchedulingRule, resource: P/cassandra
  3. 0

    FindBugs / Bugs / #1112 Scheduling/threading problem in Eclipse 4.2

    sourceforge.net | 2 years ago
    java.lang.IllegalArgumentException: Attempted to beginRule: P/Application, does not match outer scope rule: MutexSchedulingRule, resource: P/Application
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JAVAÀïµÄFindBugs²å¼þ£ºdoes not match outer scope rule: MutexSchedulingRuleÊÇʲôÎÊÌâ_°Ù¶ÈÖªµÀ

    baidu.com | 2 years ago
    java.lang.IllegalArgumentException: Attempted to beginRule: P/Application, does not match outer scope rule: MutexSchedulingRule, resource: P/Application
  6. 0

    FindBugs / Bugs / #1112 Scheduling/threading problem in Eclipse 4.2

    sourceforge.net | 5 months ago
    java.lang.IllegalArgumentException: Attempted to beginRule: P/Application, does not match outer scope rule: MutexSchedulingRule, resource: P/Application

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Eclipse Core
      Assert.isLegal
      1. org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
      1 frame
    3. Eclipse Jobs
      JobManager.beginRule
      1. org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:134)
      2. org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:333)
      3. org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:85)
      4. org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:286)
      4 frames
    4. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118)
      2. org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2282)
      3. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2339)
      3 frames
    5. de.tobject.findbugs
      FindBugsJob.run
      1. de.tobject.findbugs.reporter.MarkerUtil.createMarkers(MarkerUtil.java:125)
      2. de.tobject.findbugs.builder.FindBugsWorker.updateBugCollection(FindBugsWorker.java:383)
      3. de.tobject.findbugs.builder.FindBugsWorker.work(FindBugsWorker.java:227)
      4. de.tobject.findbugs.actions.FindBugsAction$StartedFromViewJob.runWithProgress(FindBugsAction.java:265)
      5. de.tobject.findbugs.FindBugsJob.run(FindBugsJob.java:102)
      5 frames
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame