org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs.

Appcelerator JIRA | Dustin Hyde | 5 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

    When creating a new android module, error exists in log: {code} !ENTRY org.eclipse.core.resources 4 4 2012-08-24 11:52:48.918 !MESSAGE Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs. !STACK 1 org.eclipse.core.internal.resources.ResourceException: A resource already exists on disk '/Users/qetestadmin/Desktop/TISTUD-RC/titanium_studio_workspace/MyAndroidModule/.settings'. at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:47) at org.eclipse.core.internal.resources.Folder.create(Folder.java:95) at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:566) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:590) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:491) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:396) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:290) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:234) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !SUBENTRY 1 org.eclipse.core.resources 4 272 2012-08-24 11:52:48.918 !MESSAGE A resource already exists on disk '/Users/qetestadmin/Desktop/TISTUD-RC/titanium_studio_workspace/MyAndroidModule/.settings'. !ENTRY com.aptana.editor.common 4 0 2012-08-24 11:52:48.919 !MESSAGE (Build 2.1.2.201208201549) [ERROR] Error saving the user-agent preferences. !STACK 0 org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs. at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:600) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:491) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:396) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:290) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:234) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) {code} This is not a regression. Steps to Reproduce: 1. Create a new Android Module. 2. View studio log.txt. Actual Result: Exception. Expected Result: No errors.

    Appcelerator JIRA | 5 years ago | Dustin Hyde
    org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs.
  2. 0

    When creating a new android module, error exists in log: {code} !ENTRY org.eclipse.core.resources 4 4 2012-08-24 11:52:48.918 !MESSAGE Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs. !STACK 1 org.eclipse.core.internal.resources.ResourceException: A resource already exists on disk '/Users/qetestadmin/Desktop/TISTUD-RC/titanium_studio_workspace/MyAndroidModule/.settings'. at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:47) at org.eclipse.core.internal.resources.Folder.create(Folder.java:95) at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:566) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:590) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:491) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:396) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:290) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:234) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !SUBENTRY 1 org.eclipse.core.resources 4 272 2012-08-24 11:52:48.918 !MESSAGE A resource already exists on disk '/Users/qetestadmin/Desktop/TISTUD-RC/titanium_studio_workspace/MyAndroidModule/.settings'. !ENTRY com.aptana.editor.common 4 0 2012-08-24 11:52:48.919 !MESSAGE (Build 2.1.2.201208201549) [ERROR] Error saving the user-agent preferences. !STACK 0 org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs. at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:600) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:491) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:396) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:290) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:234) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) {code} This is not a regression. Steps to Reproduce: 1. Create a new Android Module. 2. View studio log.txt. Actual Result: Exception. Expected Result: No errors.

    Appcelerator JIRA | 5 years ago | Dustin Hyde
    org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs.
  3. 0

    After creating an Android module project (New > Titanium Mobile Module Project and select Android as the deployment target) successfully, I noticed the following exception in the log: {code} !ENTRY org.eclipse.core.resources 4 4 2012-04-30 15:30:05.541 !MESSAGE Exception occurred while saving project preferences: /module_android/.settings/com.aptana.editor.common.prefs. !STACK 1 org.eclipse.core.internal.resources.ResourceException: A resource already exists on disk '/Users/mxia/Documents/Titanium Studio 2.1.1 Workspace/module_android/.settings'. at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:47) at org.eclipse.core.internal.resources.Folder.create(Folder.java:95) at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:566) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:590) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:486) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:392) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:293) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:256) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !SUBENTRY 1 org.eclipse.core.resources 4 272 2012-04-30 15:30:05.541 !MESSAGE A resource already exists on disk '/Users/mxia/Documents/Titanium Studio 2.1.1 Workspace/module_android/.settings'. !ENTRY com.aptana.editor.common 4 0 2012-04-30 15:30:05.542 !MESSAGE (Build 2.0.2.201204271900) [ERROR] Error saving the user-agent preferences. !STACK 0 org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /module_android/.settings/com.aptana.editor.common.prefs. at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:600) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:486) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:392) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:293) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:256) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) {code}

    Appcelerator JIRA | 5 years ago | Michael Xia
    org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /module_android/.settings/com.aptana.editor.common.prefs.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After creating an Android module project (New > Titanium Mobile Module Project and select Android as the deployment target) successfully, I noticed the following exception in the log: {code} !ENTRY org.eclipse.core.resources 4 4 2012-04-30 15:30:05.541 !MESSAGE Exception occurred while saving project preferences: /module_android/.settings/com.aptana.editor.common.prefs. !STACK 1 org.eclipse.core.internal.resources.ResourceException: A resource already exists on disk '/Users/mxia/Documents/Titanium Studio 2.1.1 Workspace/module_android/.settings'. at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:47) at org.eclipse.core.internal.resources.Folder.create(Folder.java:95) at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:566) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:590) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:486) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:392) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:293) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:256) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !SUBENTRY 1 org.eclipse.core.resources 4 272 2012-04-30 15:30:05.541 !MESSAGE A resource already exists on disk '/Users/mxia/Documents/Titanium Studio 2.1.1 Workspace/module_android/.settings'. !ENTRY com.aptana.editor.common 4 0 2012-04-30 15:30:05.542 !MESSAGE (Build 2.0.2.201204271900) [ERROR] Error saving the user-agent preferences. !STACK 0 org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /module_android/.settings/com.aptana.editor.common.prefs. at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:600) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:486) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:392) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:293) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:256) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) {code}

    Appcelerator JIRA | 5 years ago | Michael Xia
    org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /module_android/.settings/com.aptana.editor.common.prefs.
  6. 0

    When using File > New > Titanium Mobile Module Project to create an Android module project, I see the following in the log (the project is created successfully): {code} !ENTRY org.eclipse.core.resources 4 4 2012-07-02 15:22:40.110 !MESSAGE Exception occurred while saving project preferences: /tistud1648/.settings/com.aptana.editor.common.prefs. !STACK 1 org.eclipse.core.internal.resources.ResourceException: A resource already exists on disk '/Users/mxia/Documents/workspace/runtime-New_configuration_ts2/tistud1648/.settings'. at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:47) at org.eclipse.core.internal.resources.Folder.create(Folder.java:95) at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:566) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:590) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:487) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:392) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:290) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:252) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !SUBENTRY 1 org.eclipse.core.resources 4 272 2012-07-02 15:22:40.111 !MESSAGE A resource already exists on disk '/Users/mxia/Documents/workspace/runtime-New_configuration_ts2/tistud1648/.settings'. !ENTRY com.aptana.editor.common 4 0 2012-07-02 15:22:40.189 !MESSAGE (Build 0.0.0.qualifier) [ERROR] Error saving the user-agent preferences. !STACK 0 org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /tistud1648/.settings/com.aptana.editor.common.prefs. at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:600) at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440) at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350) at com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:487) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:392) at com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:290) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349) at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:252) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) {code}

    Appcelerator JIRA | 5 years ago | Michael Xia
    org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /tistud1648/.settings/com.aptana.editor.common.prefs.

    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.osgi.service.prefs.BackingStoreException

      Exception occurred while saving project preferences: /MyAndroidModule/.settings/com.aptana.editor.common.prefs.

      at org.eclipse.core.internal.resources.ProjectPreferences.save()
    2. Core Resource Management
      ProjectPreferences.save
      1. org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:600)
      1 frame
    3. Eclipse Preferences Mechanism
      EclipsePreferences.internalFlush
      1. org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:440)
      1 frame
    4. Core Resource Management
      ProjectPreferences.flush
      1. org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350)
      1 frame
    5. com.aptana.editor
      UserAgentManager.savePreference
      1. com.aptana.editor.common.contentassist.UserAgentManager.savePreference(UserAgentManager.java:722)
      1 frame
    6. com.appcelerator.titanium
      BasicNewTitaniumProjectWizard.createNewProject
      1. com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.applyPreferenceValues(BasicNewTitaniumProjectWizard.java:491)
      2. com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.finalizeProjectCreation(BasicNewTitaniumProjectWizard.java:396)
      3. com.appcelerator.titanium.mobile.ui.module.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:290)
      4. com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:349)
      4 frames
    7. com.aptana.projects
      AbstractNewProjectWizard$1.run
      1. com.aptana.projects.internal.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:234)
      1 frame
    8. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      1 frame