beeender/Comrade

Failure with IntelliJ 2019.2

Opened this issue · 0 comments

I am unable to begin using Comrade and ComradeNeovim with IntelliJ 2019.2.

Intellij Info:

Build #IC-192.5728.98, built on July 23, 2019
Runtime version: 11.0.3+12-b304.10 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: debugger.watches.in.variables=false
Non-Bundled Plugins: CheckStyle-IDEA, IdeaVIM, PMDPlugin, SBT, beeender.ComradeNeovim, claims.bold.intellij.avro, com.atlassian.clover, org.intellij.scala, org.jetbrains.plugins.hocon

Neovim:

:version
NVIM v0.3.0-1308-g3585df3f0
Build type: RelWithDebInfo
LuaJIT 2.0.5

Comrade installed using vim/vim-plug and using the 'beeender/Comrade' github repo. I see the following stacktrace in IntelliJ:

java.lang.Exception: [0, Invalid method name]
	at org.beeender.neovim.BufferApi.detach(BufferApi.kt:19)
	at org.beeender.neovim.BufferApi$detach$1.invokeSuspend(BufferApi.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
	at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:233)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)

From within vim, I see the following, and I cannot save any files, or exit the editor:

Error detected while processing function <SNR>156_WriteBuffer:
line   17:
JetBrain failed to save file.Vim(call):java.lang.reflect.InvocationTargetException
Press ENTER or type command to continue