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

eclipse-cs | rikonigsberg | 9 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

    checkstyle doesn't validate project existence.

    eclipse-cs | 9 years ago | rikonigsberg
    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

    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Resource change listener should ignore closed projects

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

    NPE with closed projects

    GitHub | 2 years ago | laurentpetit
    org.eclipse.core.internal.resources.ResourceException: Resource '/monveto' 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:310)
      2. org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:193)
      3. org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:94)
      4. org.eclipse.core.internal.resources.Project.hasNature(Project.java:467)
      4 frames
    3. com.atlassw.tools
      CheckFileOnOpenPartListener.partClosed
      1. com.atlassw.tools.eclipse.checkstyle.projectconfig.filters.CheckFileOnOpenPartListener.isFileAffected(CheckFileOnOpenPartListener.java:183)
      2. com.atlassw.tools.eclipse.checkstyle.projectconfig.filters.CheckFileOnOpenPartListener.partClosed(CheckFileOnOpenPartListener.java:77)
      2 frames
    4. Eclipse UI
      PartListenerList2$3.run
      1. org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
      1 frame
    5. Eclipse Core
      Platform.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      2. org.eclipse.core.runtime.Platform.run(Platform.java:857)
      2 frames
    6. Eclipse UI
      PartListenerList2$3.run
      1. org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
      2. org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
      3. org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
      4. org.eclipse.ui.internal.WWinPartService$1.partClosed(WWinPartService.java:44)
      5. org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:98)
      5 frames
    7. Eclipse Core
      Platform.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      2. org.eclipse.core.runtime.Platform.run(Platform.java:857)
      2 frames
    8. Eclipse UI
      WorkbenchPage.closeEditor
      1. org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
      2. org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:96)
      3. org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:103)
      4. org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:38)
      5. org.eclipse.ui.internal.PartList.partClosed(PartList.java:255)
      6. org.eclipse.ui.internal.PartList.removePart(PartList.java:176)
      7. org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1585)
      8. org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1345)
      9. org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1329)
      10. org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1303)
      11. org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)
      11 frames
    9. Text Editor Framework
      AbstractTextEditor$23.run
      1. org.eclipse.ui.texteditor.AbstractTextEditor$23.run(AbstractTextEditor.java:4031)
      1 frame
    10. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
      4 frames
    11. Eclipse UI
      Workbench$4.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
      4. org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
      4 frames
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    15. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      1 frame
    16. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
      1 frame
    17. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    19. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1169)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1144)
      4 frames