org.osgi.service.prefs.BackingStoreException: Exception saving preferences to: C:/Program Files (x86)/eclipse/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/H²­ PK ±JaH2Ú¢Ä a a3.prefs.

Stack Overflow | Eclipse | 8 months ago
  1. 0

    Scala IDE(Eclipse) not picking up the latest code

    codegur.com | 8 months ago
    org.osgi.service.prefs.BackingStoreException: Exception saving preferences to: C:/Program Files (x86)/eclipse/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/H²­ PK ±JaH2Ú¢Ä a a3.prefs.
  2. 0

    Eclipse Luna 4.4.2 - Problems saving preferences while importing a JUnit 4 test to the package

    Stack Overflow | 8 months ago | Eclipse
    org.osgi.service.prefs.BackingStoreException: Exception saving preferences to: C:/Program Files (x86)/eclipse/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/H²­ PK ±JaH2Ú¢Ä a a3.prefs.
  3. 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 | 4 years ago | Dustin Hyde
    org.osgi.service.prefs.BackingStoreException: Exception occurred while saving project preferences: /MyAndroidModule/.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 | 4 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 saving preferences to: C:/Program Files (x86)/eclipse/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/H²­ PK ±JaH2Ú¢Ä a a3.prefs.

      at org.eclipse.core.internal.preferences.EclipsePreferences.write()
    2. Eclipse Preferences Mechanism
      PreferencesService.applyPreferences
      1. org.eclipse.core.internal.preferences.EclipsePreferences.write(EclipsePreferences.java:323)
      2. org.eclipse.core.internal.preferences.EclipsePreferences.save(EclipsePreferences.java:1135)
      3. org.eclipse.core.internal.preferences.EclipsePreferences.save(EclipsePreferences.java:1111)
      4. org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:471)
      5. org.eclipse.core.internal.preferences.EclipsePreferences.flush(EclipsePreferences.java:429)
      6. org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:455)
      7. org.eclipse.core.internal.preferences.EclipsePreferences.flush(EclipsePreferences.java:429)
      8. org.eclipse.core.internal.preferences.RootPreferences.flush(RootPreferences.java:39)
      9. org.eclipse.core.internal.preferences.PreferencesService.applyPreferences(PreferencesService.java:95)
      9 frames
    3. Workbench
      PreferencesImportWizard.performFinish
      1. org.eclipse.ui.internal.wizards.preferences.WizardPreferencesImportPage1.transfer(WizardPreferencesImportPage1.java:192)
      2. org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage.finish(WizardPreferencesPage.java:632)
      3. org.eclipse.ui.internal.wizards.preferences.PreferencesImportWizard.performFinish(PreferencesImportWizard.java:91)
      3 frames
    4. JFace
      Dialog$2.widgetSelected
      1. org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
      2. org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
      3. org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
      3 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
      5. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
      6. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
      6 frames
    6. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
      2. org.eclipse.jface.window.Window.open(Window.java:808)
      2 frames
    7. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:158)
      2. org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
      3. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
      4. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. org.eclipse.e4
      HandlerServiceHandler.execute
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
      5 frames
    10. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      2 frames
    11. org.eclipse.e4
      HandlerServiceImpl.executeHandler
      1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      1 frame
    12. Workbench
      CommandAction.run
      1. org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343)
      2. org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:159)
      3. org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:174)
      3 frames
    13. Eclipse UI
      BaseSelectionListenerAction.runWithEvent
      1. org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:99)
      2. org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:170)
      2 frames
    14. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      2. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      3. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      3 frames
    15. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
      5 frames
    16. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      1 frame
    17. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    18. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    19. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    20. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    21. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    22. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    23. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    24. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      1 frame
    25. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    26. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    27. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    28. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      3 frames