Spring Tool Suite
  1. Spring Tool Suite
  2. STS-4162

An internal error occurred during: "Initializing Spring Tooling".

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.0.RELEASE
    • Fix Version/s: 3.7.1.RELEASE
    • Component/s: None
    • Labels:
      None

      Description

      I get this error popping out regularly with STS 3.7.0 (latest release build).
      It happens when I open my development workspace.

      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)
      

        Activity

        Hide
        Martin Lippert added a comment -

        This is fixed now, the job rule for initializing the beans model is now combined with the job rule for the workspace root. This avoids the possible conflict with the Java infrastructure initializing (and therefore changing) a project.

        Show
        Martin Lippert added a comment - This is fixed now, the job rule for initializing the beans model is now combined with the job rule for the workspace root. This avoids the possible conflict with the Java infrastructure initializing (and therefore changing) a project.

          People

          • Assignee:
            Martin Lippert
            Reporter:
            Kris De Volder
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: