java.lang.IllegalArgumentException: Attempted to beginRule: P/mlippert-boot-restservice, does not match outer scope rule: P/springmvc

SpringSource Issue Tracker | Martin Lippert | 2 years ago
  1. 0

    Not sure yet what is causing this: {noformat} java.lang.IllegalArgumentException: Attempted to beginRule: P/mlippert-boot-restservice, does not match outer scope rule: P/springmvc 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.Project.touch(Project.java:1401) at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:115) 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$9.run(JavaModelManager.java:2832) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313) at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2848) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1932) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3247) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2693) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2857) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1962) at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:119) at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:97) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createJavaSearchScope(BasicSearchEngine.java:154) at org.eclipse.jdt.core.search.SearchEngine.createJavaSearchScope(SearchEngine.java:325) at org.springframework.ide.eclipse.beans.core.model.locate.AutoConfigurationJavaConfigLocator.locateJavaConfigs(AutoConfigurationJavaConfigLocator.java:37) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject$2.run(BeansProject.java:1155) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateAutoDetectedConfigsAndConfigSetsInternally(BeansProject.java:1129) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject$1.run(BeansProject.java:1092) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    SpringSource Issue Tracker | 2 years ago | Martin Lippert (c)
    java.lang.IllegalArgumentException: Attempted to beginRule: P/mlippert-boot-restservice, does not match outer scope rule: P/springmvc
  2. 0

    Not sure yet what is causing this: {noformat} java.lang.IllegalArgumentException: Attempted to beginRule: P/mlippert-boot-restservice, does not match outer scope rule: P/springmvc 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.Project.touch(Project.java:1401) at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:115) 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$9.run(JavaModelManager.java:2832) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313) at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2848) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1932) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3247) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2693) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2857) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1962) at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:119) at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:97) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createJavaSearchScope(BasicSearchEngine.java:154) at org.eclipse.jdt.core.search.SearchEngine.createJavaSearchScope(SearchEngine.java:325) at org.springframework.ide.eclipse.beans.core.model.locate.AutoConfigurationJavaConfigLocator.locateJavaConfigs(AutoConfigurationJavaConfigLocator.java:37) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject$2.run(BeansProject.java:1155) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateAutoDetectedConfigsAndConfigSetsInternally(BeansProject.java:1129) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject$1.run(BeansProject.java:1092) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    SpringSource Issue Tracker | 2 years ago | Martin Lippert
    java.lang.IllegalArgumentException: Attempted to beginRule: P/mlippert-boot-restservice, does not match outer scope rule: P/springmvc
  3. 0

    I get this error popping out regularly with STS 3.7.0 (latest release build). It happens when I open my development workspace. {code} eclipse.buildId=3.7.0.201506290652-RELEASE-e45 java.version=1.7.0_80 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA Framework arguments: -product org.springsource.sts.ide Command-line arguments: -data file:/home/kdvolder/workspaces-sts/spring-ide/ -os linux -ws gtk -arch x86_64 -product org.springsource.sts.ide -clean org.eclipse.core.jobs Error Mon Jun 29 15:10:43 PDT 2015 An internal error occurred during: "Initializing Spring Tooling". java.lang.IllegalArgumentException: Attempted to beginRule: P/org.springframework.ide.eclipse.boot, 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:307) at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:120) at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2189) at org.eclipse.core.internal.resources.Project.touch(Project.java:1304) at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:115) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:794) at org.eclipse.jdt.internal.core.JavaModelManager$10.run(JavaModelManager.java:2798) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241) at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2814) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1895) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3298) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2693) at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2857) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1962) at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:464) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:579) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:316) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:302) at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1642) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2329) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2339) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1357) at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1264) 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:1782) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2973) 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:648) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332) 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:1026) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:684) 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:152) at org.springframework.ide.eclipse.beans.core.BeansCorePlugin$2.run(BeansCorePlugin.java:195) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code}

    SpringSource Issue Tracker | 1 year ago | Kris De Volder (c)
    java.lang.IllegalArgumentException: Attempted to beginRule: P/org.springframework.ide.eclipse.boot, does not match outer scope rule: Beans Model Initialization
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException when removing a JSF library reference

    Eclipse Bugzilla | 1 decade ago | yung-chang.chen
    java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/JSFAfter
  6. 0

    java.lang.IllegalArgumentException: Attempted to beginRule: P/org.eclipse.swt, does not match outer scope rule: P/org.eclipse.jface

    Eclipse Bugzilla | 1 decade ago | Josef.Haiduk
    java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/test1

    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/mlippert-boot-restservice, does not match outer scope rule: P/springmvc

      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
      Project.touch
      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.Project.touch(Project.java:1401)
      3 frames
    5. JDT Core
      JavaModelOperation.run
      1. org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:115)
      2. org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:729)
      2 frames
    6. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
      1 frame
    7. JDT Core
      JavaModelManager$9.run
      1. org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:794)
      2. org.eclipse.jdt.internal.core.JavaModelManager$9.run(JavaModelManager.java:2832)
      2 frames
    8. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
      1 frame
    9. JDT Core
      SearchEngine.createJavaSearchScope
      1. org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2848)
      2. org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1932)
      3. org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3247)
      4. org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2693)
      5. org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2857)
      6. org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1962)
      7. org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:119)
      8. org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:97)
      9. org.eclipse.jdt.internal.core.search.BasicSearchEngine.createJavaSearchScope(BasicSearchEngine.java:154)
      10. org.eclipse.jdt.core.search.SearchEngine.createJavaSearchScope(SearchEngine.java:325)
      10 frames
    10. org.springframework.ide
      BeansProject$2.run
      1. org.springframework.ide.eclipse.beans.core.model.locate.AutoConfigurationJavaConfigLocator.locateJavaConfigs(AutoConfigurationJavaConfigLocator.java:37)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject$2.run(BeansProject.java:1155)
      2 frames
    11. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    12. org.springframework.ide
      BeansProject$1.run
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateAutoDetectedConfigsAndConfigSetsInternally(BeansProject.java:1129)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject$1.run(BeansProject.java:1092)
      2 frames
    13. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame