Hot Deploy error in 7.2.7

Hi,

I’ve just starting to have problems with Hot Deploy. Screen descriptors work but when I change the Screen Controller things do not.

The moment I save the controller idea.log shows an ugly traceback which follows below.

This is CUBA 7.2.7 with Kotlin, Studio 14.0-202, IDEA 2020.2, Kotlin 1.3.72 (also tried 1.4.0)

2020-08-20 10:19:33,914 [ 256383]   INFO -                         STDOUT - DEBUG: starting the daemon as: /Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java -cp /Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-compiler.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-stdlib.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-reflect.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-script-runtime.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/trove4j.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-daemon.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-compiler.jar -Djava.awt.headless=true -Djava.rmi.server.hostname=127.0.0.1 -Xmx1125m -XX:ReservedCodeCacheSize=240m -ea org.jetbrains.kotlin.daemon.KotlinCompileDaemon --daemon-runFilesPath /Users/marc/Library/Application Support/kotlin/daemon --daemon-autoshutdownIdleSeconds=7200 --daemon-compilerClasspath /Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-compiler.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-stdlib.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-reflect.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-script-runtime.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/trove4j.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-daemon.jar:/Users/marc/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.6397.94/IntelliJ IDEA.app.plugins/Kotlin/kotlinc/lib/kotlin-compiler.jar
2020-08-20 10:19:34,935 [ 257404]   INFO -                         STDOUT - DEBUG: Received the message signalling that the daemon is ready
2020-08-20 10:19:34,937 [ 257406]   INFO -                         STDOUT - DEBUG: new daemon started, trying to find it
2020-08-20 10:19:34,940 [ 257409]   INFO -                         STDOUT - DEBUG: found daemon on port 17806 (72 ms old), trying to connect
2020-08-20 10:19:35,170 [ 257639]   INFO -                         STDOUT - DEBUG: connected to the daemon
2020-08-20 10:19:37,361 [ 259830]   INFO - rationStore.ComponentStoreImpl - Saving appJavaCodeFoldingSettings took 18 ms
2020-08-20 10:19:42,251 [ 264720]  ERROR - llij.ide.plugins.PluginManager - RemoteException occurred in server thread; nested exception is:
	java.rmi.ServerError: Error occurred in server thread; nested exception is:
	java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
	java.rmi.ServerError: Error occurred in server thread; nested exception is:
	java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:391)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
	at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:162)
	at com.sun.proxy.$Proxy232.compile(Unknown Source)
	at org.jetbrains.kotlin.daemon.client.KotlinCompilerClient.compile(KotlinCompilerClient.kt:197)
	at org.jetbrains.kotlin.daemon.client.KotlinCompilerClient.compile$default(KotlinCompilerClient.kt:194)
	at com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler.compile(KotlinCubaHotDeployCompiler.kt:82)
	at com.haulmont.studio.intellij.hotdeploy.compile.HotDeployCompilerService.compileModuleFiles(HotDeployCompilerService.kt:87)
	at com.haulmont.studio.intellij.hotdeploy.compile.HotDeployCompilerService.compile(HotDeployCompilerService.kt:51)
	at com.haulmont.studio.intellij.hotdeploy.HotDeployer$HotDeployCompileThread.run(HotDeployer.java:380)
Caused by: java.rmi.ServerError: Error occurred in server thread; nested exception is:
	java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:388)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
	at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:162)
	at com.sun.proxy.$Proxy3.report(Unknown Source)
	at org.jetbrains.kotlin.daemon.common.CompilerServicesFacadeBaseKt.report(CompilerServicesFacadeBase.kt:57)
	at org.jetbrains.kotlin.daemon.report.CompileServicesFacadeMessageCollector.report(CompileServicesFacadeMessageCollector.kt:55)
	at org.jetbrains.kotlin.cli.common.messages.GroupingMessageCollector.flush(GroupingMessageCollector.java:85)
	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:119)
	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
	at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
	at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1549)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
	at org.jetbrains.kotlin.daemon.client.BasicCompilerServicesWithResultsFacadeServerKt.reportFromDaemon(BasicCompilerServicesWithResultsFacadeServer.kt:69)
	at org.jetbrains.kotlin.daemon.client.BasicCompilerServicesWithResultsFacadeServer.report(BasicCompilerServicesWithResultsFacadeServer.kt:37)
	... 17 more
2020-08-20 10:19:42,253 [ 264722]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2020.2  Build #IU-202.6397.94
2020-08-20 10:19:42,253 [ 264722]  ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.7; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2020-08-20 10:19:42,253 [ 264722]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X
2020-08-20 10:19:42,254 [ 264723]  ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Kotlin version: 1.4.0-release-IJ2020.2-1
2020-08-20 10:19:42,255 [ 264724]  ERROR - llij.ide.plugins.PluginManager - Last Action: SaveAll

A few more logs,
Note that after the error occurs (failure to hot deploy the controller) hot deploy stops working completely until IDEA is restarted.

Hot Deploy of the descriptor (before controller change, so this works):

2020-08-20 10:26:11,685 [ 116292]  DEBUG - intellij.hotdeploy.HotDeployer - Init HotDeployer
2020-08-20 10:26:11,694 [ 116301]  DEBUG - intellij.hotdeploy.HotDeployer - Hot deploy event: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/contact-edit.xml - FILE_CONTENT_CHANGE
2020-08-20 10:26:13,205 [ 117812]  DEBUG - intellij.hotdeploy.HotDeployer - CollectHotDeployFilesTask start. Hot deploy files: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/contact-edit.xml
2020-08-20 10:26:13,214 [ 117821]  DEBUG - j.hotdeploy.HotDeployCollector - Process path to hot deploy: File - contact-edit.xml; Types - [FILE_CONTENT_CHANGE]
2020-08-20 10:26:13,214 [ 117821]  DEBUG - j.hotdeploy.HotDeployCollector - Deploy file: com/metanube/blcrm/contacts/screens/contact-edit.xml
2020-08-20 10:26:13,215 [ 117822]  DEBUG - j.hotdeploy.HotDeployCollector - Collect dependent classes: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/contact-edit.xml
2020-08-20 10:26:13,217 [ 117824]  DEBUG - intellij.hotdeploy.HotDeployer - [perf] Hot Deploy collect finish. Time: 12
2020-08-20 10:26:13,217 [ 117824]  DEBUG - intellij.hotdeploy.HotDeployer - Compile task received
2020-08-20 10:26:13,217 [ 117824]  DEBUG - intellij.hotdeploy.HotDeployer - [perf] HotDeploy compile finish. Time: 0
2020-08-20 10:26:13,218 [ 117825]  DEBUG - intellij.hotdeploy.HotDeployer - Sent deploy task
2020-08-20 10:26:13,218 [ 117825]  DEBUG - intellij.hotdeploy.HotDeployer - Waiting for compile task
2020-08-20 10:26:13,246 [ 117853]  DEBUG - lij.hotdeploy.HotDeployService - Copied file /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/contact-edit.xml to /Users/marc/IdeaProjects/blcrm/deploy/app_home/app/conf/com/metanube/blcrm/contacts/screens/contact-edit.xml

First Hot Deploy of the Controller, which fails and descriptor hot deploy above will fail from now on:

2020-08-20 10:27:38,408 [ 203015]  DEBUG - intellij.hotdeploy.HotDeployer - Hot deploy event: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/ContactEdit.kt - FILE_CONTENT_CHANGE
2020-08-20 10:27:39,910 [ 204517]  DEBUG - intellij.hotdeploy.HotDeployer - CollectHotDeployFilesTask start. Hot deploy files: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/ContactEdit.kt
2020-08-20 10:27:39,910 [ 204517]  DEBUG - j.hotdeploy.HotDeployCollector - Process path to hot deploy: File - ContactEdit.kt; Types - [FILE_CONTENT_CHANGE]
2020-08-20 10:27:39,910 [ 204517]  DEBUG - j.hotdeploy.HotDeployCollector - Deploy file: com/metanube/blcrm/contacts/screens/ContactEdit.kt
2020-08-20 10:27:39,911 [ 204518]  DEBUG - j.hotdeploy.HotDeployCollector - Collect dependent classes: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/ContactEdit.kt
2020-08-20 10:27:39,951 [ 204558]  DEBUG - j.hotdeploy.HotDeployCollector - [perf] Collect Dependent Classes for '/Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/ContactEdit.kt': 40 ms
2020-08-20 10:27:39,952 [ 204559]  DEBUG - intellij.hotdeploy.HotDeployer - [perf] Hot Deploy collect finish. Time: 42
2020-08-20 10:27:39,952 [ 204559]  DEBUG - intellij.hotdeploy.HotDeployer - Compile task received
2020-08-20 10:27:39,965 [ 204572]  DEBUG - mpile.HotDeployCompilerService - Deleted classes to recompile: /Users/marc/IdeaProjects/blcrm/modules/web/build/classes/java/main/com/metanube/blcrm/contacts/screens/ContactEdit.class
2020-08-20 10:27:39,967 [ 204574]  DEBUG - le.KotlinCubaHotDeployCompiler - Connect to kotlin compilation daemon
2020-08-20 10:27:39,974 [ 204581]  DEBUG - le.KotlinCubaHotDeployCompiler - Daemon classpath: [REMOVED FOR BREVITY]
2020-08-20 10:27:40,050 [ 204657]   INFO -                         STDOUT - DEBUG: starting the daemon as: [REMOVED FOR BREVITY]

2020-08-20 10:27:40,983 [ 205590]   INFO -                         STDOUT - DEBUG: Received the message signalling that the daemon is ready
2020-08-20 10:27:40,983 [ 205590]   INFO -                         STDOUT - DEBUG: new daemon started, trying to find it
2020-08-20 10:27:40,986 [ 205593]   INFO -                         STDOUT - DEBUG: found daemon on port 17543 (43 ms old), trying to connect
2020-08-20 10:27:41,183 [ 205790]   INFO -                         STDOUT - DEBUG: connected to the daemon
2020-08-20 10:27:41,189 [ 205796]  DEBUG - le.KotlinCubaHotDeployCompiler - Kotlin daemon compile args: [REMOVED FOR BREVITY] 
2020-08-20 10:27:46,493 [ 211100]  ERROR - llij.ide.plugins.PluginManager - RemoteException occurred in server thread; nested exception is:
	java.rmi.ServerError: Error occurred in server thread; nested exception is:
	java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
	java.rmi.ServerError: Error occurred in server thread; nested exception is:
	java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:391)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
	at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:162)
	at com.sun.proxy.$Proxy233.compile(Unknown Source)
	at org.jetbrains.kotlin.daemon.client.KotlinCompilerClient.compile(KotlinCompilerClient.kt:197)
	at org.jetbrains.kotlin.daemon.client.KotlinCompilerClient.compile$default(KotlinCompilerClient.kt:194)
	at com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler.compile(KotlinCubaHotDeployCompiler.kt:82)
	at com.haulmont.studio.intellij.hotdeploy.compile.HotDeployCompilerService.compileModuleFiles(HotDeployCompilerService.kt:87)
	at com.haulmont.studio.intellij.hotdeploy.compile.HotDeployCompilerService.compile(HotDeployCompilerService.kt:51)
	at com.haulmont.studio.intellij.hotdeploy.HotDeployer$HotDeployCompileThread.run(HotDeployer.java:380)
Caused by: java.rmi.ServerError: Error occurred in server thread; nested exception is:
	java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:388)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303)
	at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279)
	at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217)
	at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:162)
	at com.sun.proxy.$Proxy3.report(Unknown Source)
	at org.jetbrains.kotlin.daemon.common.CompilerServicesFacadeBaseKt.report(CompilerServicesFacadeBase.kt:57)
	at org.jetbrains.kotlin.daemon.report.CompileServicesFacadeMessageCollector.report(CompileServicesFacadeMessageCollector.kt:55)
	at org.jetbrains.kotlin.cli.common.messages.GroupingMessageCollector.flush(GroupingMessageCollector.java:85)
	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:119)
	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
	at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
	at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1549)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.AbstractMethodError: Receiver class com.haulmont.studio.intellij.hotdeploy.compile.KotlinCubaHotDeployCompiler$messageCollector$1 does not define or inherit an implementation of the resolved method 'abstract void report(org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation)' of interface org.jetbrains.kotlin.cli.common.messages.MessageCollector.
	at org.jetbrains.kotlin.daemon.client.BasicCompilerServicesWithResultsFacadeServerKt.reportFromDaemon(BasicCompilerServicesWithResultsFacadeServer.kt:69)
	at org.jetbrains.kotlin.daemon.client.BasicCompilerServicesWithResultsFacadeServer.report(BasicCompilerServicesWithResultsFacadeServer.kt:37)
	... 17 more
2020-08-20 10:27:46,497 [ 211104]  ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2020.2  Build #IU-202.6397.94
2020-08-20 10:27:46,498 [ 211105]  ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.7; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2020-08-20 10:27:46,498 [ 211105]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X
2020-08-20 10:27:46,499 [ 211106]  ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Kotlin version: 1.4.0-release-IJ2020.2-1
2020-08-20 10:27:46,500 [ 211107]  ERROR - llij.ide.plugins.PluginManager - Last Action: SaveAll

Now try to hot deploy the descriptor, which no longer works until IDEA is restarted:

2020-08-20 10:30:17,151 [ 361758]  DEBUG - intellij.hotdeploy.HotDeployer - Hot deploy event: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/contact-edit.xml - FILE_CONTENT_CHANGE
2020-08-20 10:30:18,652 [ 363259]  DEBUG - intellij.hotdeploy.HotDeployer - CollectHotDeployFilesTask start. Hot deploy files: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/contact-edit.xml
2020-08-20 10:30:18,653 [ 363260]  DEBUG - j.hotdeploy.HotDeployCollector - Process path to hot deploy: File - contact-edit.xml; Types - [FILE_CONTENT_CHANGE]
2020-08-20 10:30:18,653 [ 363260]  DEBUG - j.hotdeploy.HotDeployCollector - Deploy file: com/metanube/blcrm/contacts/screens/contact-edit.xml
2020-08-20 10:30:18,653 [ 363260]  DEBUG - j.hotdeploy.HotDeployCollector - Collect dependent classes: /Users/marc/IdeaProjects/blcrm/modules/web/src/com/metanube/blcrm/contacts/screens/contact-edit.xml

Notice that the first log above had a few more lines after the “Collect dependent”.

Hi!

Thank you for reporting the problem.

I have created new issue on the our bug tracker.

Link requires authentication :pensive:

Is there any possible workaround until the next release? I feel like I’m driving a Ferrari at 15mph when working on controllers! :joy:

Sorry for wrong link, I have fixed it.

I suppose, you can downgrade to Idea 2020.1 for now.

I am almost sure that Hot Deploy was working on Idea 2020.2 before. Because I’ve had it installed for some days now and, until yesterday, I did not notice Hot Deploy problems. Though I might be wrong.

From the log above it appears to me that something is happening when the Kotlin file is being recompiled, but the error is being shadowed by another exception (the one about not implementing report(…))

I have done some investigations and sure that the problem in Kotlin plugin. Please, try to downgrade to this kotlin version.

Now that you mention it, it is very likely that I upgraded to Kotlin 1.4 just yesterday.

I have downgraded the plugin as asked, also downgraded the kotlinVersion on build.gradle to 1.3.72 and it is working properly.

I’ll stay on 1.3.72 for now. Thank you!