Describe the bug
Connection from Intellij IDEA Ultimate to VS Code fails with Cannot invoke "com.genuitec.codetogether.av.BrowserAVService.sessionEnded()" because "this.browserAVService" is null.
To Reproduce
- Log in to CodeTogether Live in VS Code plugin
- Create session with default settings
- Share session URL to Intellij User
- Context is transferred
- Plugin crashes.
Expected behavior
Guest should be able to co-edit with host.
Screenshots

CodeTogether Host
- IDE: VSCode
- IDE Version: 1.75.1 (user setup)
- Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
- Date: 2023-02-08T21:32:34.589Z
- Electron: 19.1.9
- Chromium: 102.0.5005.194
- Node.js: 16.14.2
- V8: 10.2.154.23-electron.0
- OS: Windows_NT x64 10.0.22621
- Sandboxed: No
- OS: Windows 11 Business
- OS Version: 22H2, 22621.2861, Windows Feature Experience Pack 1000.22681.1000.0
- Plugin: v2024.3.1
IDE Participant
- IDE: IntelliJ
- IDE Version IntelliJ IDEA 2024.2 (Ultimate Edition), Build #IU-242.20224.300, built on August 6, 2024, Runtime version: 21.0.3+13-b509.4 amd64 (JCEF 122.1.9), VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
- OS: Linux
- OS Version: Ubuntu 22.04.4 LTS (Kubuntu)
Browser Participant
Additional context
Error occurred on communication channel with CodeTogether Live backend
java.lang.NullPointerException: Cannot invoke "com.genuitec.codetogether.av.BrowserAVService.sessionEnded()" because "this.browserAVService" is null
at com.genuitec.codetogether.idetoide.services.ClBackendAVEventsHandler.dispose(ClBackendAVEventsHandler.java:49)
at com.genuitec.codetogether.idetoide.comms.ClBackendConnection.onClose(ClBackendConnection.java:388)
at com.genuitec.codetogether.idetoide.comms.ClBackendConnection$3.onClose(ClBackendConnection.java:295)
at org.glassfish.tyrus.core.TyrusEndpointWrapper.onClose(TyrusEndpointWrapper.java:1235)
at org.glassfish.tyrus.core.TyrusWebSocket.onClose(TyrusWebSocket.java:110)
at org.glassfish.tyrus.core.ProtocolHandler.close(ProtocolHandler.java:481)
at org.glassfish.tyrus.core.TyrusWebSocket.close(TyrusWebSocket.java:244)
at org.glassfish.tyrus.core.TyrusWebSocket.close(TyrusWebSocket.java:254)
at org.glassfish.tyrus.core.TyrusRemoteEndpoint.close(TyrusRemoteEndpoint.java:480)
at org.glassfish.tyrus.core.TyrusSession.close(TyrusSession.java:202)
at com.genuitec.codetogether.idetoide.comms.ClBackendConnection.close(ClBackendConnection.java:703)
at com.genuitec.codetogether.idetoide.ui.ClIDEClientService.disconnect(ClIDEClientService.java:530)
at com.genuitec.codetogether.idetoide.session.ClSession.dispose(ClSession.java:387)
at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:131)
at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:163)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:205)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:193)
at com.genuitec.codetogether.idetoide.session.ClSessionManager.disposeAndRemove(ClSessionManager.java:183)
at com.genuitec.codetogether.idetoide.session.ClSession.join(ClSession.java:231)
at com.genuitec.codetogether.idetoide.ui.action.JoinSessionAction.lambda$createAndJoinSession$0(JoinSessionAction.java:224)
Workaround (if any)
N/A
Describe the bug
Connection from Intellij IDEA Ultimate to VS Code fails with
Cannot invoke "com.genuitec.codetogether.av.BrowserAVService.sessionEnded()" because "this.browserAVService" is null.To Reproduce
Expected behavior
Guest should be able to co-edit with host.
Screenshots
CodeTogether Host
IDE Participant
Browser Participant
Additional context
Workaround (if any)
N/A