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

Exception when used in remote development #140

Open
timoetzold opened this issue Apr 11, 2024 · 13 comments
Open

Exception when used in remote development #140

timoetzold opened this issue Apr 11, 2024 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@timoetzold
Copy link

The following Exception occurs every time I open a project in a Windows IDEA connected to WSL.

java.lang.IllegalArgumentException: Missing extension point: com.github.lppedd.idea-conventional-commit.commitInspectionProvider in container Application (IR on EDT disabled) at com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.getExtensionPoint(ExtensionsAreaImpl.kt:273) at com.intellij.openapi.extensions.BaseExtensionPointName.getPointImpl(BaseExtensionPointName.kt:19) at com.intellij.openapi.extensions.ExtensionPointName.getExtensionList(ExtensionPointName.kt:54) at com.github.lppedd.cc.api.impl.InternalCommitInspectionProviderService.getInspectionProviders(InternalCommitInspectionProviderService.kt:17) at com.github.lppedd.cc.inspection.CommitInspectionsRegistrarStartupActivity.runActivity(CommitInspectionsRegistrarStartupActivity.kt:19) at com.intellij.ide.startup.impl.StartupManagerImpl.runOldActivity(StartupManagerImpl.kt:319) at com.intellij.ide.startup.impl.StartupManagerImpl.access$runOldActivity(StartupManagerImpl.kt:68) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$5$1.invoke(StartupManagerImpl.kt:270) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$5$1.invoke(StartupManagerImpl.kt:269) at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:320) at com.intellij.openapi.progress.CoroutinesKt.access$blockingContextInner(coroutines.kt:1) at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:197) at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt) at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78) at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264) at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:196) at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.kt:269) at com.intellij.ide.startup.impl.StartupManagerImpl.access$runPostStartupActivities(StartupManagerImpl.kt:68) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invokeSuspend(StartupManagerImpl.kt:191) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invoke(StartupManagerImpl.kt) at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invoke(StartupManagerImpl.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.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3.invokeSuspend(StartupManagerImpl.kt:190) 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)

@lppedd
Copy link
Owner

lppedd commented Apr 11, 2024

Is that all the exception?

And, are there other exceptions preceding that one?

@timoetzold
Copy link
Author

timoetzold commented Apr 11, 2024

Yes, that's all. When I startup the wsl project, I get a red ! in the bottom right corner and when I click on it, i get the "IDE Internal Errors" Dialog where this Exception is shown.

The plugin seems to work after the exception though.

@timoetzold
Copy link
Author

Well I just got this Exception during commit (not sure if they are related):

java.lang.NoClassDefFoundError: com/intellij/openapi/vcs/ui/CommitMessage at com.github.lppedd.cc.CCExtensionsKt.isCommitMessage(CCExtensions.kt:166) at com.github.lppedd.cc.completion.ConventionalCommitTextCompletionContributor.beforeCompletion(ConventionalCommitTextCompletionContributor.kt:76) at com.intellij.codeInsight.completion.CompletionInitializationUtil.lambda$runContributorsBeforeCompletion$1(CompletionInitializationUtil.java:89) at com.intellij.util.indexing.FileBasedIndex.lambda$ignoreDumbMode$0(FileBasedIndex.java:219) at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111) at com.intellij.util.indexing.FileBasedIndexEx.ignoreDumbMode(FileBasedIndexEx.java:637) at com.intellij.util.indexing.FileBasedIndex.ignoreDumbMode(FileBasedIndex.java:218) at com.intellij.util.indexing.DumbModeAccessType.ignoreDumbMode(DumbModeAccessType.java:43) at com.intellij.codeInsight.completion.CompletionInitializationUtil.runContributorsBeforeCompletion(CompletionInitializationUtil.java:86) at com.intellij.codeInsight.completion.CompletionInitializationUtil.lambda$createCompletionInitializationContext$0(CompletionInitializationUtil.java:60) at com.intellij.openapi.application.impl.RwLockHolder.runWriteAction(RwLockHolder.kt:364) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:893) at com.intellij.openapi.application.WriteAction.compute(WriteAction.java:95) at com.intellij.codeInsight.completion.CompletionInitializationUtil.createCompletionInitializationContext(CompletionInitializationUtil.java:51) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$invokeCompletion$1(CodeCompletionHandlerBase.java:192) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:100) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:217) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:100) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.withTimeout(ProgressIndicatorUtils.java:317) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.withTimeout(CodeCompletionHandlerBase.java:828) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$invokeCompletion$2(CodeCompletionHandlerBase.java:191) at com.intellij.openapi.command.impl.CoreCommandProcessor.runUndoTransparentAction(CoreCommandProcessor.java:382) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invokeCompletion(CodeCompletionHandlerBase.java:205) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$invokeCompletionWithTracing$3(CodeCompletionHandlerBase.java:230) at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:32) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invokeCompletionWithTracing(CodeCompletionHandlerBase.java:225) at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invokeCompletion(CodeCompletionHandlerBase.java:147) at com.intellij.codeInsight.completion.CompletionPhase$CommittingDocuments.lambda$scheduleAsyncCompletion$1(CompletionPhase.java:167) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$safeTransferToEdt$7(NonBlockingReadActionImpl.java:728) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:204) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:419) at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:138) at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:129) at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1152) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:81) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:123) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:698) at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12(IdeEventQueue.kt:593) at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead(RwLockHolder.kt:105) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:77) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:362) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:361) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:361) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:356) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1021) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1021) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:356) at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:209) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:398) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.vcs.ui.CommitMessage PluginClassLoader(plugin=PluginDescriptor(name=Conventional Commit, id=com.github.lppedd.idea-conventional-commit, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\JetBrainsClient241.14494.240\plugins\idea-conventional-commit, version=0.23.0, package=null, isBundled=false), packagePrefix=null, state=active) at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:156) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ... 77 more

@lppedd
Copy link
Owner

lppedd commented Apr 11, 2024

It looks like the remote environment has more limitations, that is, some parts of the platform are not loaded.

I'd have to experiment myself. Or check with JetBrains.

@lppedd
Copy link
Owner

lppedd commented Apr 11, 2024

Could you post the exact IDEA version you're running on?

@lppedd lppedd added the bug Something isn't working label Apr 11, 2024
@lppedd lppedd self-assigned this Apr 11, 2024
@timoetzold
Copy link
Author

The version is:
IntelliJ IDEA 2024.1
Build #JBC-241.14494.240, built on March 28, 2024

Thanks so far. If I remember correctly the plugin wasn't working at all in 2023.x and even the commit panel wasn't accessible. Now just the errors are popping up.

@lppedd
Copy link
Owner

lppedd commented Apr 11, 2024

Yup I had already solved some issues related to Gateway / remote development.

Maybe that's yet again something that has changed and that I need to align on my side (e.g., loading parts of the plugin only if the platform dependency is present).

@skku-daniilkim
Copy link

To add onto this issue, for some reason, when the plugin is enabled during JetBrains Gateway, I am simply unable to type parentheses in editor windows (both Git message editor window and Code editor window). Disabling the plugin fixes the issue.

@lppedd
Copy link
Owner

lppedd commented Oct 15, 2024

That's pretty strange.

I guess the only way for me to repro would be to set up Gateway. Never tried doing that.

@skku-daniilkim
Copy link

Here are the log errors:

2024-10-15 19:57:55,018 [   8830] SEVERE - #c.i.i.s.i.StartupManagerImpl - Missing extension point: com.github.lppedd.idea-conventional-commit.commitInspectionProvider in container Application (lock is not ready) (IR on EDT disabled)
java.lang.IllegalArgumentException: Missing extension point: com.github.lppedd.idea-conventional-commit.commitInspectionProvider in container Application (lock is not ready) (IR on EDT disabled)
	at com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.getExtensionPoint(ExtensionsAreaImpl.kt:273)
	at com.intellij.openapi.extensions.BaseExtensionPointName.getPointImpl(BaseExtensionPointName.kt:19)
	at com.intellij.openapi.extensions.ExtensionPointName.getExtensionList(ExtensionPointName.kt:54)
	at com.github.lppedd.cc.api.impl.InternalCommitInspectionProviderService.getInspectionProviders(InternalCommitInspectionProviderService.kt:17)
	at com.github.lppedd.cc.inspection.CommitInspectionsRegistrarStartupActivity.runActivity(CommitInspectionsRegistrarStartupActivity.kt:19)
	at com.intellij.ide.startup.impl.StartupManagerImpl.runOldActivity(StartupManagerImpl.kt:340)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$runOldActivity(StartupManagerImpl.kt:69)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$6$1.invoke(StartupManagerImpl.kt:291)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$6$1.invoke(StartupManagerImpl.kt:290)
	at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:339)
	at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:232)
	at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
	at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
	at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
	at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:231)
	at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.kt:290)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$runPostStartupActivities(StartupManagerImpl.kt:69)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invokeSuspend(StartupManagerImpl.kt:193)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invoke(StartupManagerImpl.kt)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invoke(StartupManagerImpl.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3.invokeSuspend(StartupManagerImpl.kt:192)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
2024-10-15 19:57:55,025 [   8837] SEVERE - #c.i.i.s.i.StartupManagerImpl - IntelliJ IDEA 2024.2.3  Build #JBC-242.23339.11
2024-10-15 19:57:55,025 [   8837] SEVERE - #c.i.i.s.i.StartupManagerImpl - JDK: 21.0.4; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2024-10-15 19:57:55,025 [   8837] SEVERE - #c.i.i.s.i.StartupManagerImpl - OS: Windows 10
2024-10-15 19:57:55,025 [   8837] SEVERE - #c.i.i.s.i.StartupManagerImpl - Plugin to blame: Conventional Commit version: 0.23.1
2024-10-15 19:57:55,025 [   8837] SEVERE - #c.i.i.s.i.StartupManagerImpl - Last Action: 

and a bit later, also during the startup:

2024-10-15 19:57:57,263 [  11075] SEVERE - #c.i.o.r.u.RdCoroutineHost - Unhandled coroutine throwable
java.lang.NoClassDefFoundError: com/intellij/openapi/vcs/ui/CommitMessage
	at com.github.lppedd.cc.CCExtensionsKt.isCommitMessage(CCExtensions.kt:166)
	at com.github.lppedd.cc.editor.BaseTypedHandler.getCommitTokensOrNull(BaseTypedHandler.kt:50)
	at com.github.lppedd.cc.editor.BaseTypedHandler.checkAutoPopup(BaseTypedHandler.kt:40)
	at com.intellij.codeInsight.editorActions.TypedHandler.callDelegates(TypedHandler.java:271)
	at com.intellij.codeInsight.editorActions.TypedHandler.lambda$doExecute$1(TypedHandler.java:171)
	at com.intellij.openapi.editor.impl.CaretModelImpl.lambda$runForEachCaret$3(CaretModelImpl.java:303)
	at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:412)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:312)
	at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:289)
	at com.intellij.codeInsight.editorActions.TypedHandler.doExecute(TypedHandler.java:160)
	at com.intellij.codeInsight.editorActions.TypedHandler.execute(TypedHandler.java:138)
	at com.intellij.codeInsight.lookup.impl.LookupTypedHandler.execute(LookupTypedHandler.java:75)
	at com.intellij.openapi.editor.impl.DefaultRawTypedHandler$1.run(DefaultRawTypedHandler.java:55)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteAction$lambda$4(AnyThreadWriteThreadingSupport.kt:318)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteAction(AnyThreadWriteThreadingSupport.kt:328)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteAction(AnyThreadWriteThreadingSupport.kt:318)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:890)
	at com.intellij.openapi.editor.impl.DefaultRawTypedHandler.execute(DefaultRawTypedHandler.java:49)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$LocalTypeKeyRequestFactory.createRequest$suspendImpl(FrontendAsyncRawTypedHandler.kt:153)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$LocalTypeKeyRequestFactory.createRequest(FrontendAsyncRawTypedHandler.kt)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$executeBackendTypedAction$request$1.invokeSuspend(FrontendAsyncRawTypedHandler.kt:111)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$executeBackendTypedAction$request$1.invoke(FrontendAsyncRawTypedHandler.kt)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$executeBackendTypedAction$request$1.invoke(FrontendAsyncRawTypedHandler.kt)
	at com.intellij.remoteDev.tracing.TelemetryDataUtilKt$withSpan$2.invokeSuspend(TelemetryDataUtil.kt:37)
	at com.intellij.remoteDev.tracing.TelemetryDataUtilKt$withSpan$2.invoke(TelemetryDataUtil.kt)
	at com.intellij.remoteDev.tracing.TelemetryDataUtilKt$withSpan$2.invoke(TelemetryDataUtil.kt)
	at com.intellij.remoteDev.tracing.TelemetryDataUtilKt.use(TelemetryDataUtil.kt:15)
	at com.intellij.remoteDev.tracing.TelemetryDataUtilKt.withSpan(TelemetryDataUtil.kt:36)
	at com.intellij.remoteDev.tracing.TelemetryDataUtilKt.withSpan$default(TelemetryDataUtil.kt:25)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler.executeBackendTypedAction(FrontendAsyncRawTypedHandler.kt:110)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler.access$executeBackendTypedAction(FrontendAsyncRawTypedHandler.kt:46)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$execute$1.invokeSuspend(FrontendAsyncRawTypedHandler.kt:72)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$execute$1.invoke(FrontendAsyncRawTypedHandler.kt)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler$execute$1.invoke(FrontendAsyncRawTypedHandler.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:27)
	at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:90)
	at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
	at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
	at com.jetbrains.rd.util.threading.coroutines.LifetimeCoroutineUtilKt.launch(LifetimeCoroutineUtil.kt:49)
	at com.intellij.openapi.rd.util.RdCoroutinesUtilKt.launchOnUi(RdCoroutinesUtil.kt:71)
	at com.intellij.openapi.rd.util.RdCoroutinesUtilKt.launchOnUi$default(RdCoroutinesUtil.kt:66)
	at com.jetbrains.rdclient.editorActions.cwm.FrontendAsyncRawTypedHandler.execute(FrontendAsyncRawTypedHandler.kt:71)
	at com.intellij.openapi.editor.impl.MyRawTypedHandler.execute(EditorFactoryImpl.kt:289)
	at com.intellij.openapi.editor.actionSystem.TypedAction.lambda$actionPerformed$2(TypedAction.java:201)
	at com.intellij.reporting.FreezeLoggerImpl.runUnderPerformanceMonitor(FreezeLoggerImpl.java:28)
	at com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(TypedAction.java:200)
	at com.intellij.openapi.editor.impl.EditorImpl.processKeyTypedNormally(EditorImpl.java:1368)
	at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:1350)
	at com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:3764)
	at com.intellij.openapi.editor.impl.EditorImpl$6.keyTyped(EditorImpl.java:1182)
	at java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
	at java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
	at java.desktop/java.awt.Component.processKeyEvent(Component.java:6620)
	at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2901)
	at java.desktop/java.awt.Component.processEvent(Component.java:6442)
	at java.desktop/java.awt.Container.processEvent(Container.java:2266)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5035)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4860)
	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:886)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1162)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1023)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:849)
	at com.intellij.ide.IdeKeyboardFocusManager.access$dispatchEvent$s1569605750(IdeKeyboardFocusManager.kt:28)
	at com.intellij.ide.IdeKeyboardFocusManager$dispatchEvent$dispatch$1.invoke(IdeKeyboardFocusManager.kt:43)
	at com.intellij.ide.IdeKeyboardFocusManager$dispatchEvent$dispatch$1.invoke(IdeKeyboardFocusManager.kt:43)
	at com.intellij.ide.IdeKeyboardFocusManager$dispatchEvent$1.invoke(IdeKeyboardFocusManager.kt:46)
	at com.intellij.ide.IdeKeyboardFocusManager$dispatchEvent$1.invoke(IdeKeyboardFocusManager.kt:46)
	at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke$lambda$0(IdeEventQueue.kt:1035)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:84)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:910)
	at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke(IdeEventQueue.kt:1035)
	at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke(IdeEventQueue.kt:1035)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1036)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1036)
	at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.kt:46)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4912)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2810)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4860)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:783)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:755)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:753)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:752)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:696)
	at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.kt:623)
	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$15(IdeEventQueue.kt:582)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:84)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:582)
	at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:73)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1$1.compute(IdeEventQueue.kt:357)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1$1.compute(IdeEventQueue.kt:356)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.invoke(IdeEventQueue.kt:356)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.invoke(IdeEventQueue.kt:351)
	at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke$lambda$0(IdeEventQueue.kt:1035)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:84)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:910)
	at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke(IdeEventQueue.kt:1035)
	at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke(IdeEventQueue.kt:1035)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1036)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1036)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$10(IdeEventQueue.kt:351)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:397)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.vcs.ui.CommitMessage PluginClassLoader(plugin=PluginDescriptor(name=Conventional Commit, id=com.github.lppedd.idea-conventional-commit, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2024.2\plugins\frontend\idea-conventional-commit, version=0.23.1, package=null, isBundled=false), packagePrefix=null, state=active, parents=, )
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	... 127 more
2024-10-15 19:57:57,266 [  11078] SEVERE - #c.i.o.r.u.RdCoroutineHost - IntelliJ IDEA 2024.2.3  Build #JBC-242.23339.11
2024-10-15 19:57:57,266 [  11078] SEVERE - #c.i.o.r.u.RdCoroutineHost - JDK: 21.0.4; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2024-10-15 19:57:57,266 [  11078] SEVERE - #c.i.o.r.u.RdCoroutineHost - OS: Windows 10
2024-10-15 19:57:57,266 [  11078] SEVERE - #c.i.o.r.u.RdCoroutineHost - Plugin to blame: Conventional Commit version: 0.23.1
2024-10-15 19:57:57,266 [  11078] SEVERE - #c.i.o.r.u.RdCoroutineHost - Last Action: 

@skku-daniilkim
Copy link

Another update. All the issues seem to be resolved, if you enable the plugin on the Host side, but disable it on the Client side.

For context, due to settings synchronization in IntelliJ, the plugin gets installed on both client and host (if you use Gateway), and is automatically enabled on both sides. This seems to cause issues, because if you disable the plugin on the client, but keep it enabled on the host machine (the one you connect to), everything seems to work properly: no issues with typing parenthesis, while the configuration is still properly read and autocompletion works.

Hope this helps.

@lppedd
Copy link
Owner

lppedd commented Oct 17, 2024

This is what I don't get.

Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.vcs.ui.CommitMessage PluginClassLoader(plugin=PluginDescriptor(name=Conventional Commit, id=com.github.lppedd.idea-conventional-commit, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2024.2\plugins\frontend\idea-conventional-commit, version=0.23.1, package=null, isBundled=false), packagePrefix=null, state=active, parents=, )
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)

I don't understand why that platform class isn't found.

@lppedd
Copy link
Owner

lppedd commented Oct 17, 2024

Maybe I need to use reflection and catch the ClassNotFoundException.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants