Project: appceleratorstudio
Issue TISTUD-4997: ResourceException when a project is closed
# Create a project (for example, a Node.ACS project) # Close the project (right click -> Close) These error were found in the log: {code} !ENTRY com.aptana.editor.common 4 0 2013-06-18 16:47:02.980 !MESSAGE (Build 3.1.2.201306171542) [ERROR] Resource '/Node-4670' is not open. !STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource '/Node-4670' is not open. org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:150) org.eclipse.core.internal.resources.Project.getDescription(Project.java:428) com.aptana.editor.common.preferences.ContentAssistPreferencePage.createUserAgentGroupContent(ContentAssistPreferencePage.java:316) com.aptana.editor.common.preferences.ContentAssistPreferencePage.createFieldEditors(ContentAssistPreferencePage.java:91) org.eclipse.jface.preference.FieldEditorPreferencePage.createContents(FieldEditorPreferencePage.java:227) com.aptana.ui.preferences.PropertyAndPreferenceFieldEditorPage.createContents(PropertyAndPreferenceFieldEditorPage.java:197) org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232) org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501) org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1252) org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:674) org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704) org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886) org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226) org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251) org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262) org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256) org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433) org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938) org.eclipse.swt.widgets.Display.observerProc(Display.java:3525) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092) org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052) org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084) org.eclipse.swt.widgets.Control.mouseDown(Control.java:2528) org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2007) org.eclipse.swt.widgets.Display.windowProc(Display.java:5471) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095) org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253) org.eclipse.swt.widgets.Display.windowProc(Display.java:5535) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138) org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158) org.eclipse.jface.action.Action.runWithEvent(Action.java:498) org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) !SUBENTRY 1 org.eclipse.core.resources 4 372 2013-06-18 16:47:02.981 !MESSAGE Resource '/Node-4670' is not open. !ENTRY com.aptana.core 4 0 2013-06-18 16:47:03.615 !MESSAGE (Build 3.1.2.201306171542) [ERROR] Failed to retrieve the setting for the last synchronization connection !STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource '/Node-4670' is not open. org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:150) org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal(Resource.java:200) org.eclipse.core.internal.resources.Resource.getPersistentProperty(Resource.java:1178) com.aptana.ide.syncing.core.ResourceSynchronizationUtils.getLastSyncConnection(ResourceSynchronizationUtils.java:105) com.aptana.ide.syncing.ui.properties.SynchronizationPropertyPage.createContents(SynchronizationPropertyPage.java:62) org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232) org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501) org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1252) org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:674) org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704) org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886) org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226) org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251) org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262) org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256) org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433) org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938) org.eclipse.swt.widgets.Display.observerProc(Display.java:3525) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092) org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052) org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084) org.eclipse.swt.widgets.Control.mouseDown(Control.java:2528) org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2007) org.eclipse.swt.widgets.Display.windowProc(Display.java:5471) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095) org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253) org.eclipse.swt.widgets.Display.windowProc(Display.java:5535) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138) org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158) org.eclipse.jface.action.Action.runWithEvent(Action.java:498) org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) !SUBENTRY 1 org.eclipse.core.resources 4 372 2013-06-18 16:47:03.616 !MESSAGE Resource '/Node-4670' is not open. {code}
Story points: 3