org.eclipse.core.internal.resources.ResourceException: Resource '/MyProject' does not exist.

SpringSource Issue Tracker | Andy Clement | 6 years ago
  1. 0

    This isn't a hard failure, I just think it might be nice to avoid logging something to the error log if we can. I was working in the gsps for a project, then deleted the project. Subsequently I got: {code} org.eclipse.core.internal.resources.ResourceException: Resource '/MyProject' does not exist. at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326) at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200) at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:134) at org.eclipse.core.internal.resources.Project.hasNature(Project.java:511) at com.springsource.sts.grails.core.internal.plugins.GrailsCore.getInfo(GrailsCore.java:147) at com.springsource.sts.grails.editor.gsp.model.GSPStructuredModel.setStructuredDocument(GSPStructuredModel.java:95) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.cleanupDiscardedModel(ModelManagerImpl.java:1895) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.discardModel(ModelManagerImpl.java:1869) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1805) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1761) at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.releaseFromEdit(AbstractStructuredModel.java:1044) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.releaseFromEdit(DOMModelImpl.java:804) at org.eclipse.wst.html.core.internal.document.DOMStyleModelImpl.releaseFromEdit(DOMStyleModelImpl.java:37) {code}

    SpringSource Issue Tracker | 6 years ago | Andy Clement
    org.eclipse.core.internal.resources.ResourceException: Resource '/MyProject' does not exist.
  2. 0

    This isn't a hard failure, I just think it might be nice to avoid logging something to the error log if we can. I was working in the gsps for a project, then deleted the project. Subsequently I got: {code} org.eclipse.core.internal.resources.ResourceException: Resource '/MyProject' does not exist. at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326) at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200) at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:134) at org.eclipse.core.internal.resources.Project.hasNature(Project.java:511) at com.springsource.sts.grails.core.internal.plugins.GrailsCore.getInfo(GrailsCore.java:147) at com.springsource.sts.grails.editor.gsp.model.GSPStructuredModel.setStructuredDocument(GSPStructuredModel.java:95) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.cleanupDiscardedModel(ModelManagerImpl.java:1895) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.discardModel(ModelManagerImpl.java:1869) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1805) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1761) at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.releaseFromEdit(AbstractStructuredModel.java:1044) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.releaseFromEdit(DOMModelImpl.java:804) at org.eclipse.wst.html.core.internal.document.DOMStyleModelImpl.releaseFromEdit(DOMStyleModelImpl.java:37) {code}

    SpringSource Issue Tracker | 6 years ago | Andy Clement
    org.eclipse.core.internal.resources.ResourceException: Resource '/MyProject' does not exist.
  3. 0

    checkstyle doesn't validate project existence.

    eclipse-cs | 9 years ago | rikonigsberg
    org.eclipse.core.internal.resources.ResourceException: Resource '/MyProject' does not exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ResourceException while deleting a JPA project added to an EAR

    Eclipse Bugzilla | 6 years ago | zalapa
    org.eclipse.core.internal.resources.ResourceException: Resource '/MyJPA' does not exist.
  6. 0

    Resource change listener should ignore closed projects

    GitHub | 5 years ago | njbartlett
    org.eclipse.core.internal.resources.ResourceException: Resource '/net.luminis.ace' is not open.

    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. org.eclipse.core.internal.resources.ResourceException

      Resource '/MyProject' does not exist.

      at org.eclipse.core.internal.resources.Resource.checkExists()
    2. Core Resource Management
      Project.hasNature
      1. org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326)
      2. org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200)
      3. org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:134)
      4. org.eclipse.core.internal.resources.Project.hasNature(Project.java:511)
      4 frames
    3. com.springsource.sts
      GSPStructuredModel.setStructuredDocument
      1. com.springsource.sts.grails.core.internal.plugins.GrailsCore.getInfo(GrailsCore.java:147)
      2. com.springsource.sts.grails.editor.gsp.model.GSPStructuredModel.setStructuredDocument(GSPStructuredModel.java:95)
      2 frames
    4. Structured Text Model
      AbstractStructuredModel.releaseFromEdit
      1. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.cleanupDiscardedModel(ModelManagerImpl.java:1895)
      2. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.discardModel(ModelManagerImpl.java:1869)
      3. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1805)
      4. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.releaseFromEdit(ModelManagerImpl.java:1761)
      5. org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.releaseFromEdit(AbstractStructuredModel.java:1044)
      5 frames
    5. Structured Source XML Model
      DOMModelImpl.releaseFromEdit
      1. org.eclipse.wst.xml.core.internal.document.DOMModelImpl.releaseFromEdit(DOMModelImpl.java:804)
      1 frame
    6. org.eclipse.wst
      DOMStyleModelImpl.releaseFromEdit
      1. org.eclipse.wst.html.core.internal.document.DOMStyleModelImpl.releaseFromEdit(DOMStyleModelImpl.java:37)
      1 frame