Closed gudstrand closed 1 year ago
Thanks for reporting. Please specify the following:
1) Intellij (happens with PyCharm too) 2) 2023.1 3) 23.1.0 4) Exception happens at the launch of the IDE.
ANSI Highlighter uses your theme color scheme to render ANSI codes. It seems your IDE is using a broken setup of this plugin, looks like an xml file required for the Doki Essex scheme is missing
I suggest you uninstall and reinstall Noctumsempra's Color MEGAPACK, if the problem persists better reach out to the author.
I don't use [Doki] Essex scheme. I am using Material Theme Scheme "Material Oceanic"
I was not able to reproduce the issue on a fresh IDE setup. My answer was based on the stack trace you shared
If I cannot trust what your logs are reporting there's not much I can do I'm afraid. Anything else I can help you with?
...
I am not using that theme. As I said, I am using Material Theme Oceanic.
Same exception
java.lang.Throwable: Cannot find /doki/themes/azur_lane/Essex.xml in PluginClassLoader(plugin=PluginDescriptor(name=Noctumsempra's Color MEGAPACK, id=com.noctumsempra.themes.rainglow.remastered.megapack, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.175/IntelliJ IDEA.app.plugins/Noctumsempra_Color_MEGAPACK.jar, version=1.0.3.3, package=null, isBundled=false), packagePrefix=null, instanceId=73, state=active)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
at com.intellij.configurationStore.schemeManager.SchemeManagerImpl.loadBundledScheme(SchemeManagerImpl.kt:130)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.loadSchemesFromThemes(EditorColorsManagerImpl.java:301)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.
To mark it as invalid seems rather hostile. I am just pointing out that I am not using that theme yet I am still getting the error.
You denied having Noctumsempra's Color MEGAPACK, then deleted your comment, why?
LOL, you dug up an edited comment? For what reason? I believe I posted that, went back to my IDE and discovered that I did have it installed. So I returned and edited my comment to reflect that fact. I believe the edit above was posted for all of 5-7 minutes. Not sure what you are getting at? Should I have left it even though it was not accurate?
You seem to be agitated for no reason. I wish you well!
Exception follows.
java.lang.Throwable: Cannot find /doki/themes/azur_lane/Essex.xml in PluginClassLoader(plugin=PluginDescriptor(name=Noctumsempra's Color MEGAPACK, id=com.noctumsempra.themes.rainglow.remastered.megapack, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.175/IntelliJ IDEA.app.plugins/Noctumsempra_Color_MEGAPACK.jar, version=1.0.3.3, package=null, isBundled=false), packagePrefix=null, instanceId=73, state=active) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202) at com.intellij.configurationStore.schemeManager.SchemeManagerImpl.loadBundledScheme(SchemeManagerImpl.kt:130) at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.loadSchemesFromThemes(EditorColorsManagerImpl.java:301) at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.(EditorColorsManagerImpl.java:114)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.(EditorColorsManagerImpl.java:104)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:54)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1041)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:43)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:95)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:92)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:714)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:670)
at com.intellij.openapi.editor.colors.EditorColorsManager.getInstance(EditorColorsManager.java:20)
at cm.nt.ah.s.(SourceFile:154)
at cm.nt.ah.q.(SourceFile:20)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155)
at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:42)
at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:185)
at java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1132)
at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1113)
at java.base/java.lang.reflect.Field.get(Field.java:425)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.instantiateFileTypeBean(FileTypeManagerImpl.java:494)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.mergeOrInstantiateFileTypeBean(FileTypeManagerImpl.java:463)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.instantiatePendingFileTypes(FileTypeManagerImpl.java:456)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.initializeComponent(FileTypeManagerImpl.java:587)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:131)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:46)
at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:622)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:47)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)
at com.intellij.serviceContainer.BaseComponentAdapter.access$createInstance(BaseComponentAdapter.kt:19)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invokeSuspend(BaseComponentAdapter.kt:181)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceAsync(BaseComponentAdapter.kt:176)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsyncIfDefined(ComponentManagerImpl.kt:686)
at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsync(ComponentManagerImpl.kt:677)
at com.intellij.idea.ApplicationLoader$preloadCriticalServices$2.invokeSuspend(ApplicationLoader.kt:224)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)