Community
Participate
Working Groups
Build Identifier: This exception has been reported by one of our user right after starting a workspace with a closed project. I believe the code doesn't check to see if the project is open before accessing it. org.eclipse.core.internal.resources.ResourceException: Resource '/AbstractParentPattern' is not open. at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:137) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:53) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94) at org.eclipse.tigerstripe.espace.resources.monitor.ResourcesMonitor$1.run(ResourcesMonitor.java:63) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Reproducible: Always
Another exception as a result of closed projects: org.eclipse.tigerstripe.workbench.TigerstripeException: Cannot find tigerstripe project descriptor (C:\Data\NewTigerstripe\MibImport\tigerstripe.xml) at org.eclipse.tigerstripe.workbench.internal.core.project.AbstractTigerstripeProject.reload(AbstractTigerstripeProject.java:492) at org.eclipse.tigerstripe.workbench.internal.api.impl.TigerstripeProjectHandle.getTSProject(TigerstripeProjectHandle.java:143) at org.eclipse.tigerstripe.workbench.internal.api.impl.TigerstripeProjectHandle.getArtifactManagerSession(TigerstripeProjectHandle.java:111) at org.eclipse.tigerstripe.workbench.internal.BasePlugin$1.runInWorkspace(BasePlugin.java:81) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Can't reproduce the second issue. Please provide context and your actions.
(In reply to comment #2) > Can't reproduce the second issue. Please provide context and your actions. Unfortunately I'm not able to reproduce it consistently.
Check for open project added to ResourcesMonitor.
*** Bug 359853 has been marked as a duplicate of this bug. ***
To reproduce this : * close one or more projects in Tigerstripe workspace * exit TS * run TS and the message appears on startup
(In reply to comment #6) > To reproduce this : > * close one or more projects in Tigerstripe workspace > * exit TS > * run TS and the message appears on startup Chris, that will reproduce the first exception, which has already been fixed. It won't reproduce the second exception.
Marking as fixed and verified. Thanks Anton!
Hi, I would like to merge this fix into my Eclipse. In which release was this fixed? Thanks, Dom
Hi Domenic, This defect is specific to the Tigerstripe project. I suspect you're having a different issue unrelated to this defect?!
Hi Navid, I see the following in 3.7.0 org.eclipse.core.internal.resources.ResourceException: Resource '/ggsnu' is not open. at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:150) at org.eclipse.core.internal.resources.Project.hasNature(Project.java:584) at ch.hsr.ifs.cute.gcov.ProjectDecorator.decorate(ProjectDecorator.java:50) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) The errors I see are on closed projects. If I open the projects, everything is fine. The minute I start Eclipse with closed projects, I see the issue. This is just pure Eclipse in this case.
It looks like your error is coming from plugin ch.hsr.ifs.cute.gcov. You should open a defect against the project of this plugin.