Save settings failed after 2017.2 upgrade

已回答

Hey guys!

 

So the 2017.2 upgrade seems to have a bug that causes "Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA". Ive heard multiple reports from engineers and have been getting this issue as well. It seems to be a Mac issue as so far only engineers using a Mac computer are running into this. So far Ive tried to delete all the saves state locations under ~/Library/Application Support, Caches, Preferences, and Logs with no success. Ive also tried opening different projects with no success as well. The exception in the logs is:

 

2017-07-19 09:25:19,301 [ 28776] WARN - mponents.impl.stores.StoreUtil - Save settings failed
CompositeException (2 nested):
------------------------------
[0]: java.lang.Exception: Cannot get FacetManager component state
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:166)
at com.intellij.configurationStore.ProjectWithModulesStoreImpl.beforeSave(ProjectStoreImpl.kt:392)
at com.intellij.configurationStore.ProjectStoreImpl.doSave(ProjectStoreImpl.kt:333)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:197)
at com.intellij.openapi.components.impl.stores.StoreUtil.save(StoreUtil.java:46)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:349)
at com.intellij.ide.SaveAndSyncHandlerImpl.doSaveDocumentsAndProjectsAndApp(SaveAndSyncHandlerImpl.java:137)
at com.intellij.ide.SaveAndSyncHandlerImpl.saveProjectsAndDocuments(SaveAndSyncHandlerImpl.java:125)
at com.intellij.ide.SaveAndSyncHandlerImpl$2.a(SaveAndSyncHandlerImpl.java:94)
at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:86)
at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:109)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:118)
at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:122)
at com.intellij.ide.SaveAndSyncHandlerImpl$2.onFrameDeactivated(SaveAndSyncHandlerImpl.java:92)
at com.intellij.ide.FrameStateManagerImpl.b(FrameStateManagerImpl.java:84)
at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:32)
at com.intellij.ide.FrameStateManagerImpl$2.a(FrameStateManagerImpl.java:70)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:246)
at com.intellij.util.Alarm$Request.runSafely(Alarm.java:417)
at com.intellij.util.Alarm$Request.access$700(Alarm.java:344)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:384)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:314)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:416)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:821)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.IncompatibleClassChangeError: Class com.google.common.base.Predicates$ObjectPredicate$2 does not implement the requested interface java.util.function.Predicate
at com.intellij.facet.FacetManagerImpl.getState(FacetManagerImpl.java:303)
at com.intellij.facet.FacetManagerImpl.getState(FacetManagerImpl.java:59)
at com.intellij.configurationStore.ComponentStoreImpl.a(ComponentStoreImpl.kt:227)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:159)
... 40 more

[1]: java.lang.Exception: Cannot get FacetsFromExternalSources component state
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:166)
at com.intellij.configurationStore.ProjectWithModulesStoreImpl.beforeSave(ProjectStoreImpl.kt:392)
at com.intellij.configurationStore.ProjectStoreImpl.doSave(ProjectStoreImpl.kt:333)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:197)
at com.intellij.openapi.components.impl.stores.StoreUtil.save(StoreUtil.java:46)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:349)
at com.intellij.ide.SaveAndSyncHandlerImpl.doSaveDocumentsAndProjectsAndApp(SaveAndSyncHandlerImpl.java:137)
at com.intellij.ide.SaveAndSyncHandlerImpl.saveProjectsAndDocuments(SaveAndSyncHandlerImpl.java:125)
at com.intellij.ide.SaveAndSyncHandlerImpl$2.a(SaveAndSyncHandlerImpl.java:94)
at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:86)
at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:109)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:118)
at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:122)
at com.intellij.ide.SaveAndSyncHandlerImpl$2.onFrameDeactivated(SaveAndSyncHandlerImpl.java:92)
at com.intellij.ide.FrameStateManagerImpl.b(FrameStateManagerImpl.java:84)
at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:32)
at com.intellij.ide.FrameStateManagerImpl$2.a(FrameStateManagerImpl.java:70)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:246)
at com.intellij.util.Alarm$Request.runSafely(Alarm.java:417)
at com.intellij.util.Alarm$Request.access$700(Alarm.java:344)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:384)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:314)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:416)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:821)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.IncompatibleClassChangeError: Class com.google.common.base.Predicates$ObjectPredicate$2 does not implement the requested interface java.util.function.Predicate
at com.intellij.facet.FacetManagerImpl.saveState(FacetManagerImpl.java:325)
at com.intellij.facet.FacetFromExternalSourcesStorage.getState(FacetFromExternalSourcesStorage.java:49)
at com.intellij.facet.FacetFromExternalSourcesStorage.getState(FacetFromExternalSourcesStorage.java:33)
at com.intellij.configurationStore.ComponentStoreImpl.a(ComponentStoreImpl.kt:227)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:159)
... 40 more

 

Can anyone help fix this?

0

Hello! I have same symptome  issue https://youtrack.jetbrains.com/issue/PY-26651

0

Not just Mac - I have the same problem, running Pycharm on Windows.

0

Joel, you may have a different problem, please report at https://youtrack.jetbrains.com/issues/IDEA with the logs attached.

0

I have this same issue (I think...) Help! I opened a case per the Serge Baranov. IDEA-192121. I am on a Mac with PyCharm. I need to know how to FIX IT please.

0

请先登录再写评论。