java.lang.IllegalArgumentException: Attempted to beginRule: P/spring-oauth2-tests-xml-jdbc, does not match outer scope rule: Beans Model Initialization

Spring JIRA | Dave Syer | 2 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

    ALways happens to me on startup: An internal error occurred during: "Initializing Spring Tooling". {noformat} java.lang.IllegalArgumentException: Attempted to beginRule: P/spring-oauth2-tests-xml-jdbc, does not match outer scope rule: Beans Model Initialization 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:290) at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118) at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2251) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2308) at org.eclipse.jdt.internal.core.ProjectReferenceChange.updateProjectReferencesIfNecessary(ProjectReferenceChange.java:111) at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:59) at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:794) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1942) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3247) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2697) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2861) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1966) at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:465) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:565) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:294) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:280) at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1646) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2333) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2343) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1361) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1268) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigFactory.create(BeansConfigFactory.java:51) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigFactory.create(BeansConfigFactory.java:39) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:348) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionHandler.endElement(BeansProjectDescriptionHandler.java:202) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1781) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2957) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.readDescriptionFromFile(BeansProjectDescriptionReader.java:81) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.read(BeansProjectDescriptionReader.java:61) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateModel(BeansProject.java:1040) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:698) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.accept(BeansProject.java:166) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.start(BeansModel.java:149) at org.springframework.ide.eclipse.beans.core.BeansCorePlugin$2.run(BeansCorePlugin.java:195) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    Spring JIRA | 2 years ago | Dave Syer
    java.lang.IllegalArgumentException: Attempted to beginRule: P/spring-oauth2-tests-xml-jdbc, does not match outer scope rule: Beans Model Initialization
  2. 0

    ALways happens to me on startup: An internal error occurred during: "Initializing Spring Tooling". {noformat} java.lang.IllegalArgumentException: Attempted to beginRule: P/spring-oauth2-tests-xml-jdbc, does not match outer scope rule: Beans Model Initialization 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:290) at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118) at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2251) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2308) at org.eclipse.jdt.internal.core.ProjectReferenceChange.updateProjectReferencesIfNecessary(ProjectReferenceChange.java:111) at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:59) at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:794) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1942) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3247) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2697) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2861) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1966) at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:465) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:565) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:294) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:280) at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1646) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2333) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2343) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1361) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1268) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigFactory.create(BeansConfigFactory.java:51) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigFactory.create(BeansConfigFactory.java:39) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:348) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionHandler.endElement(BeansProjectDescriptionHandler.java:202) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1781) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2957) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.readDescriptionFromFile(BeansProjectDescriptionReader.java:81) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.read(BeansProjectDescriptionReader.java:61) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateModel(BeansProject.java:1040) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:698) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.accept(BeansProject.java:166) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.start(BeansModel.java:149) at org.springframework.ide.eclipse.beans.core.BeansCorePlugin$2.run(BeansCorePlugin.java:195) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    Spring JIRA | 2 years ago | Dave Syer
    java.lang.IllegalArgumentException: Attempted to beginRule: P/spring-oauth2-tests-xml-jdbc, does not match outer scope rule: Beans Model Initialization
  3. 0

    Save Exception: Attempted to beginRule: R/, does not match outer scope rule: P/slider_sample

    GitHub | 5 years ago | danrubel
    java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/slider_sample
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

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

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

    sourceforge.net | 1 year 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/spring-oauth2-tests-xml-jdbc, does not match outer scope rule: Beans Model Initialization

      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:290)
      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:2251)
      3. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2308)
      3 frames
    5. JDT Core
      JavaModelOperation.run
      1. org.eclipse.jdt.internal.core.ProjectReferenceChange.updateProjectReferencesIfNecessary(ProjectReferenceChange.java:111)
      2. org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:59)
      3. org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110)
      4. org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729)
      4 frames
    6. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
      1 frame
    7. JDT Core
      JavaProject.findType
      1. org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:794)
      2. org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1942)
      3. org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3247)
      4. org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2697)
      5. org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2861)
      6. org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1966)
      7. org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:465)
      8. org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259)
      9. org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:565)
      10. org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:294)
      11. org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:280)
      12. org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1646)
      13. org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2333)
      14. org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2343)
      15. org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1361)
      16. org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1268)
      16 frames
    8. org.springframework.ide
      BeansProjectDescriptionHandler.endElement
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigFactory.create(BeansConfigFactory.java:51)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigFactory.create(BeansConfigFactory.java:39)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:348)
      4. org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionHandler.endElement(BeansProjectDescriptionHandler.java:202)
      4 frames
    9. Java RT
      SAXParserImpl.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
      2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1781)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2957)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
      5. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
      9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
      11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
      12. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)
      12 frames
    10. org.springframework.ide
      BeansCorePlugin$2.run
      1. org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.readDescriptionFromFile(BeansProjectDescriptionReader.java:81)
      2. org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.read(BeansProjectDescriptionReader.java:61)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateModel(BeansProject.java:1040)
      4. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:698)
      5. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.accept(BeansProject.java:166)
      6. org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.start(BeansModel.java:149)
      7. org.springframework.ide.eclipse.beans.core.BeansCorePlugin$2.run(BeansCorePlugin.java:195)
      7 frames
    11. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame