Each time I open goland I have got a Classic Light color scheme
已回答
I updated to 2024.1 (on linux, goland downloaded from jetbrains site)
I change color scheme to Catppuccin and when I close and open Goland - Classic Light color scheme is set.
请先登录再写评论。
Hi,
Please collect the IDE logs (Help | Collect Logs and Diagnostic Data), upload it to https://uploads.jetbrains.com/ and provide an uploaded ID.
Hi,
I found in idea.log this:
2024-04-04 15:24:39,410 [ 1873] SEVERE - #c.i.c.ComponentStoreImpl - Cannot init component state (componentName=EditorColorsManagerImpl, componentClass=EditorColorsManagerImpl) [Plugin: com.intellij]
com.intellij.diagnostic.PluginException: Cannot init component state (componentName=EditorColorsManagerImpl, componentClass=EditorColorsManagerImpl) [Plugin: com.intellij]
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:181)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:44)
at com.intellij.serviceContainer.ComponentManagerImpl.initializeService$intellij_platform_serviceContainer(ComponentManagerImpl.kt:659)
at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance$suspendImpl(ServiceInstanceInitializer.kt:70)
at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance(ServiceInstanceInitializer.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invokeSuspend(LazyInstanceHolder.kt:162)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invokeSuspend(LazyInstanceHolder.kt:160)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:44)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.initialize(LazyInstanceHolder.kt:145)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.access$initialize(LazyInstanceHolder.kt:13)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.tryInitialize(LazyInstanceHolder.kt:135)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt:95)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance$suspendImpl(LazyInstanceHolder.kt:83)
at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder.getInstance(LazyInstanceHolder.kt)
at com.intellij.platform.instanceContainer.internal.InstanceContainerImpl.instance(InstanceContainerImpl.kt:68)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsync(ComponentManagerImpl.kt:702)
at com.intellij.ide.ui.html.GlobalStyleSheetHolderKt$initGlobalStyleSheet$2$1.invokeSuspend(GlobalStyleSheetHolder.kt:129)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Caused by: java.lang.NullPointerException: Cannot invoke "com.intellij.openapi.editor.markup.TextAttributes.equals(Object)" because the return value of "com.intellij.openapi.editor.colors.impl.EditorColorsSchemeImpl.getAttributes(com.intellij.openapi.editor.colors.TextAttributesKey, boolean)" is null
at com.intellij.openapi.editor.colors.impl.EditorColorsSchemeImpl.compareAttributes(EditorColorsSchemeImpl.java:172)
at com.intellij.openapi.editor.colors.impl.EditorColorsSchemeImpl.attributesEqual(EditorColorsSchemeImpl.java:155)
at com.intellij.openapi.editor.colors.impl.AbstractColorsScheme.settingsEqual(AbstractColorsScheme.java:965)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.hideIntellijLightSchemeIfNeeded(EditorColorsManagerImpl.kt:507)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.loadState(EditorColorsManagerImpl.kt:438)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.loadState(EditorColorsManagerImpl.kt:78)
at com.intellij.configurationStore.ComponentStoreImpl.doInitComponent(ComponentStoreImpl.kt:587)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:487)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:156)
... 33 more
2024-04-04 15:24:39,423 [ 1886] INFO - #c.i.i.s.p.i.SharedIndexMainZipStorage - Shared Indexes Storage is opened and empty
This also happens when I change to Dark Theme (official) and next time when I open Goland - color scheme is set to Light one.
It seems that the mentioned stacktrace is not relevant to this issue.
Could you please share the IDE logs? Are you using a new UI (Settings | Appearance & Behavior | New UI)?
Yes, New UI is on.
2024_04_10_pbSAM58CnFyr7SHVUVZdqn
Could you please try out to disable all downloaded plugins (Settings | Plugins | [Gear Icon] | Disable All Downloaded Plugins) and reproduce this issue again? It looks like some of the plugins cause this issue.
Hi, disabled all 15.
I chose Editor Color scheme: Dark and restarted again.
Still Light color
Please take a look:
2024_04_11_58BPpWAicXyreigZuQ5u1J
Hi,
Could you please try to disable Settings | Settings Sync? Does it help?
Also, could you please try to duplicate a color scheme and use it instead?