Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading indicator in settings doesn't disappear after loading #728

Closed
Jelmerb opened this issue Mar 21, 2019 · 9 comments
Closed

Loading indicator in settings doesn't disappear after loading #728

Jelmerb opened this issue Mar 21, 2019 · 9 comments

Comments

@Jelmerb
Copy link

Jelmerb commented Mar 21, 2019

In the latest version 2.8.2.56 of the EAP the loading indicator stays after the settings are loaded.

A screenshot of the issue:
loading indicator stuck

Haven't seen it reported in another issue.

@vsch
Copy link
Owner

vsch commented Mar 21, 2019

@Jelmerb, you must be getting an exception on some setting. Can you post the stack trace for the exception?

It looks like settings got corrupted. They are stored in .idea/markdown-navigator.xml if you could e-mail me the file to my GitHub profile e-mail, I will be able to see what it is that is causing it.

@Jelmerb
Copy link
Author

Jelmerb commented Mar 21, 2019

java.lang.NoSuchFieldError: EMPTY_ARRAY
at com.vladsch.idea.multimarkdown.settings.ScopeNames.getNamedScopes(ScopeNames.java:50)
at com.vladsch.idea.multimarkdown.settings.ScopeNames.getScopeNames(ScopeNames.java:55)
at com.vladsch.idea.multimarkdown.settings.ScopeNames.updateValues(ScopeNames.java:64)
at com.vladsch.idea.multimarkdown.settings.profile.ProjectSettingsPanel.reloadRenderingProfiles(ProjectSettingsPanel.java:223)
at com.vladsch.idea.multimarkdown.settings.profile.ProjectSettingsPanel.(ProjectSettingsPanel.java:131)
at com.vladsch.idea.multimarkdown.settings.profile.RenderingProfilesProjectConfigurable.createComponent(RenderingProfilesProjectConfigurable.java:55)
at com.intellij.openapi.options.ex.ConfigurableWrapper.createComponent(ConfigurableWrapper.java:163)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.lambda$createConfigurableComponent$0(ConfigurableCardPanel.java:73)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:973)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.createConfigurableComponent(ConfigurableCardPanel.java:69)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.create(ConfigurableCardPanel.java:55)
at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:57)
at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:54)
at com.intellij.ui.CardLayoutPanel.createValue(CardLayoutPanel.java:88)
at com.intellij.ui.CardLayoutPanel.getValue(CardLayoutPanel.java:83)
at com.intellij.openapi.options.newEditor.ConfigurableEditor.readContent(ConfigurableEditor.java:272)
at com.intellij.openapi.options.newEditor.SettingsEditor.checkModifiedForItem(SettingsEditor.java:385)
at com.intellij.openapi.options.newEditor.SettingsEditor.checkModified(SettingsEditor.java:370)
at com.intellij.openapi.options.newEditor.SettingsEditor$5.updateCurrent(SettingsEditor.java:192)
at com.intellij.openapi.options.newEditor.ConfigurableEditor.lambda$select$1(ConfigurableEditor.java:243)
at com.intellij.openapi.util.ExecutionCallback.setExecuted(ExecutionCallback.java:58)
at com.intellij.openapi.util.ActionCallback.setDone(ActionCallback.java:72)
at com.intellij.ui.CardLayoutPanel.select(CardLayoutPanel.java:121)
at com.intellij.ui.CardLayoutPanel.lambda$null$0(CardLayoutPanel.java:132)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
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.defaultDispatchEvent(IdeEventQueue.java:719)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1077)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:698)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:430)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1681)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1630)
at com.intellij.openapi.options.newEditor.SettingsDialog.lambda$show$0(SettingsDialog.java:70)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
at com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:70)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:84)
at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:54)
at com.intellij.ide.MacOSApplicationProvider$Worker.lambda$null$1(MacOSApplicationProvider.java:104)
at com.intellij.ide.MacOSApplicationProvider$Worker.lambda$submit$7(MacOSApplicationProvider.java:179)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$pollQueueLater$0(TransactionGuardImpl.java:74)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
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.defaultDispatchEvent(IdeEventQueue.java:719)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
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)

@vsch
Copy link
Owner

vsch commented Mar 21, 2019

No need for settings. It appears either I am using a new field from the API or it was previously not public.

I forgot to ask what IDE and version you are using, out of curiosity since I will fix this by not bothering with the API and declare my own empty array.

@Jelmerb
Copy link
Author

Jelmerb commented Mar 21, 2019

IntelliJ IDEA Ultimate 2018.3.5

@vsch
Copy link
Owner

vsch commented Mar 21, 2019

That is strange. I used this version until the recent update to 2018.3.6 beta and have not seen this issue.

I'll have that code replaced and release an EAP update.

@Jelmerb
Copy link
Author

Jelmerb commented Mar 21, 2019

Thanks 👍

@vsch
Copy link
Owner

vsch commented Mar 21, 2019

The reason I did not see it is because I did not change the rendering settings. I can duplicate it when clicking on rendering.

vsch added a commit that referenced this issue Mar 21, 2019
@vsch
Copy link
Owner

vsch commented Mar 21, 2019

@Jelmerb, I tested it on 2016.3, that is my tank test bed for old API compatibility, but even that failed me once when a public field in the API went private for some 2017 versions.

EAP update with a fix for the issue is available.

Installing EAP Plugin Version

@Jelmerb
Copy link
Author

Jelmerb commented Mar 22, 2019

Fix confirmed for version 2.8.2.58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants