You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading IDEA to 2021.1.3 or perhaps one of the earlier 2021 versions, I'm receiving the following exception upon the first attempt to wrap something. The wrap still works as expected and I just have to close the error message about the exception but there still seems to be a minor problem with the plugin. The exception only happens on the first use after opening the IDE but the msg that says "The call may cause settings damage." is a bit concerning.
Any ideas? Let me know if I should provide anything else. Thanks in advance.
Exception:
java.lang.Throwable: Invalid state: project settings exist but not loaded yet. The call may cause settings damage.
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:161)
at com.intellij.psi.codeStyle.ProjectCodeStyleSettingsManager.checkState(ProjectCodeStyleSettingsManager.java:153)
at com.intellij.psi.codeStyle.CodeStyleSettingsManager.getCurrentSettings(CodeStyleSettingsManager.java:217)
at com.intellij.application.options.CodeStyle.getSettings(CodeStyle.java:55)
at com.intellij.application.options.CodeStyle.getProjectOrDefaultSettings(CodeStyle.java:66)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl$1.documentChanged(FileDocumentManagerImpl.java:113)
at com.intellij.openapi.editor.impl.DocumentImpl.changedUpdate(DocumentImpl.java:916)
at com.intellij.openapi.editor.impl.DocumentImpl.updateText(DocumentImpl.java:820)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:660)
at com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:597)
at com.andrewbrookins.idea.wrap.WrapAction$WrapHandler$execute$1.run(WrapAction.kt:48)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:959)
at com.andrewbrookins.idea.wrap.WrapAction$WrapHandler.execute(WrapAction.kt:26)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doExecute(EditorActionHandler.java:161)
at com.intellij.openapi.editor.actionSystem.DynamicEditorActionHandler.doExecute(DynamicEditorActionHandler.java:52)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.lambda$execute$4(EditorActionHandler.java:199)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:89)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:198)
at com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:89)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:216)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:172)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:98)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:73)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAware$5(ActionUtil.java:273)
at com.intellij.util.SlowOperations.lambda$allowSlowOperations$0(SlowOperations.java:77)
at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:64)
at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:76)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:273)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:616)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:676)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:95)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:675)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:626)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:486)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:481)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:232)
at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.java:889)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:833)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:449)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:808)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:781)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:502)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
The text was updated successfully, but these errors were encountered:
Thanks for responding. I've been getting a few exceptions in the IDE on startup so it might not be exclusive to this plugin but I haven't had a chance to look at this exception or codebase at all.
Issue:
After upgrading IDEA to
2021.1.3
or perhaps one of the earlier 2021 versions, I'm receiving the following exception upon the first attempt to wrap something. The wrap still works as expected and I just have to close the error message about the exception but there still seems to be a minor problem with the plugin. The exception only happens on the first use after opening the IDE but the msg that says "The call may cause settings damage." is a bit concerning.Any ideas? Let me know if I should provide anything else. Thanks in advance.
Exception:
The text was updated successfully, but these errors were encountered: