Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347033 - Opening a remote C/C++ project when the "running server" is not started will freeze the workspace
Summary: Opening a remote C/C++ project when the "running server" is not started will...
Status: RESOLVED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 5.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 14:12 EDT by Michael Lindo CLA
Modified: 2011-07-27 09:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lindo CLA 2011-05-24 14:12:27 EDT
Build Identifier: 5.0.0.201105231934

You will just keep getting this error until the workspace is closed:

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.Error: org.eclipse.core.internal.resources.ResourceException: Resource '/hjjj' does not exist.)
	at org.eclipse.swt.SWT.error(SWT.java:4277)
	at org.eclipse.swt.SWT.error(SWT.java:4192)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4138)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3755)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.Error: org.eclipse.core.internal.resources.ResourceException: Resource '/hjjj' does not exist.
	at org.eclipse.photran.internal.core.vpg.PhotranVPG.shouldProcessProject(PhotranVPG.java:512)
	at org.eclipse.photran.internal.ui.vpg.PhotranResourceFilter.shouldProcess(PhotranResourceFilter.java:37)
	at org.eclipse.rephraserengine.ui.WorkbenchSelectionInfo.getResourcesSelectedIn(WorkbenchSelectionInfo.java:176)
	at org.eclipse.rephraserengine.ui.WorkbenchSelectionInfo.<init>(WorkbenchSelectionInfo.java:132)
	at org.eclipse.rephraserengine.ui.WorkbenchSelectionInfo.<init>(WorkbenchSelectionInfo.java:89)
	at org.eclipse.rephraserengine.ui.menus.RefactorMenu.processConfigElt(RefactorMenu.java:127)
	at org.eclipse.rephraserengine.ui.menus.RefactorMenu.loadRefactoringsFrom(RefactorMenu.java:110)
	at org.eclipse.rephraserengine.ui.menus.RefactorMenu.loadRefactoringsFromExtensionPoint(RefactorMenu.java:99)
	at org.eclipse.rephraserengine.ui.menus.RefactorMenu.getContributionItems(RefactorMenu.java:75)
	at org.eclipse.rephraserengine.ui.menus.RefactorMenu.isEmpty(RefactorMenu.java:372)
	at org.eclipse.rephraserengine.internal.ui.menus.RefactorableResourcePropertyTester.test(RefactorableResourcePropertyTester.java:26)
	at org.eclipse.core.internal.expressions.Property.test(Property.java:58)
	at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
	at org.eclipse.core.internal.expressions.AdaptExpression.evaluate(AdaptExpression.java:91)
	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(CompositeExpression.java:68)
	at org.eclipse.core.internal.expressions.OrExpression.evaluate(OrExpression.java:21)
	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
	at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:184)
	at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
	at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
	at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
	at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74)
	at org.eclipse.ui.internal.services.ExpressionAuthority.evaluate(ExpressionAuthority.java:165)
	at org.eclipse.ui.internal.services.EvaluationAuthority.refsWithSameExpression(EvaluationAuthority.java:153)
	at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:129)
	at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
	at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
	at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
	at org.eclipse.ui.internal.services.WorkbenchSourceProvider$1.partBroughtToTop(WorkbenchSourceProvider.java:239)
	at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
	at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
	at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
	at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:208)
	at org.eclipse.ui.internal.WWinPartService$WWinListener.partBroughtToTop(WWinPartService.java:42)
	at org.eclipse.ui.internal.PartListenerList2$2.run(PartListenerList2.java:85)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
	at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
	at org.eclipse.ui.internal.PartListenerList2.firePartBroughtToTop(PartListenerList2.java:83)
	at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:212)
	at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
	at org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPage.java:936)
	at org.eclipse.ui.internal.views.log.LogView$25.run(LogView.java:1066)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 22 more
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/hjjj' does not exist.
	at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:320)
	at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194)
	at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:147)
	at org.eclipse.core.internal.resources.Project.hasNature(Project.java:589)
	at org.eclipse.photran.internal.core.vpg.PhotranVPG.shouldProcessProject(PhotranVPG.java:507)
	... 71 more

Reproducible: Always

Steps to Reproduce:
1. Create a remote C/C++ project using an RSE running server
2. Close the project
3. Kill the server process(kill -9)
4. Try to open the project
Comment 1 John Liu CLA 2011-05-25 17:27:07 EDT
I can reproduce the problem with the product built from ptp_4_0 stream, so this is not a regression of 5.0. It seems like a loop is running and trying to connect to the remote server. The code may not consider the case when server is down properly.
Comment 2 Chris Recoskie CLA 2011-07-27 09:20:20 EDT
Dave McKnight has indicated to me that RSE will never fix this, so I am marking as WONTFIX.