Copilot error during application startup

Hi, just migrating an app from Flow 14 to 24.6 , I’m having an error with copilot, can you help?

Thanks

[http-nio-8080-exec-1] ERROR com.vaadin.copilot.ide.CopilotIDEPlugin - Unable to communicate with IDE plugin
java.io.IOException: Unexpected response (400) communicating with the IDE plugin:
at com.vaadin.copilot.ide.CopilotIDEPlugin.sendRestSync(CopilotIDEPlugin.java:342)
at com.vaadin.copilot.ide.CopilotIDEPlugin.send(CopilotIDEPlugin.java:323)
at com.vaadin.copilot.ide.CopilotIDEPlugin.getModulePaths(CopilotIDEPlugin.java:307)
at com.vaadin.copilot.JavaSourcePathDetector.detectSourceFoldersUsingIDEPlugin(JavaSourcePathDetector.java:83)
at com.vaadin.copilot.JavaSourcePathDetector.detectProjectPaths(JavaSourcePathDetector.java:72)
at com.vaadin.copilot.ProjectFileManager.getProjectPaths(ProjectFileManager.java:362)
at com.vaadin.copilot.ProjectFileManager.getSourceFolders(ProjectFileManager.java:348)
at com.vaadin.copilot.ProjectManager.getSourceFolders(ProjectManager.java:180)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.startSourceFileWatchers(SourceSyncChecker.java:67)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.(SourceSyncChecker.java:52)
at com.vaadin.copilot.CopilotSession.(CopilotSession.java:82)
at com.vaadin.copilot.Copilot.lambda$handleConnect$1(Copilot.java:43)
at java.base/java.util.Map.computeIfAbsent(Map.java:1066)
at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2980)
at com.vaadin.copilot.Copilot.handleConnect(Copilot.java:41)
at com.vaadin.base.devserver.DebugWindowConnection.handleConnect(DebugWindowConnection.java:208)
at com.vaadin.base.devserver.DebugWindowConnection.onConnect(DebugWindowConnection.java:188)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$4(PushHandler.java:625)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$5(PushHandler.java:624)
at com.vaadin.flow.server.communication.PushHandler.callWithServiceAndSession(PushHandler.java:237)
at com.vaadin.flow.server.communication.PushHandler.onConnect(PushHandler.java:621)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onConnect(PushAtmosphereHandler.java:103)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:217)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:103)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2284)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:574)
at org.atmosphere.websocket.DefaultWebSocketProcessor.open(DefaultWebSocketProcessor.java:213)
at org.atmosphere.container.JSR356Endpoint.onOpen(JSR356Endpoint.java:254)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:131)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:947)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1583)

my dependence tree is this one.

[INFO] — dependency:3.7.0:tree (default-cli) @ —
[INFO] com.ado2k:myApp:war:2025
[INFO] ± com.vaadin:vaadin-core:jar:24.6.0:compile
[INFO] | ± com.vaadin:vaadin-core-internal:jar:24.6.0:compile
[INFO] | | ± com.vaadin:flow-lit-template:jar:24.6.0:compile
[INFO] | | ± com.vaadin:flow-react:jar:24.6.0:compile
[INFO] | | ± com.vaadin:flow-push:jar:24.6.0:compile
[INFO] | | | - com.vaadin.external.atmosphere:atmosphere-runtime:jar:3.0.5.slf4jvaadin1:compile
[INFO] | | ± com.vaadin:flow-client:jar:24.6.0:compile
[INFO] | | ± com.vaadin:flow-html-components:jar:24.6.0:compile
[INFO] | | ± com.vaadin:flow-data:jar:24.6.0:compile
[INFO] | | ± com.vaadin:flow-dnd:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-lumo-theme:jar:24.6.0:compile
[INFO] | | | - com.vaadin:vaadin-icons-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-material-theme:jar:24.6.0:compile
[INFO] | | - com.vaadin:vaadin-core-components:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-accordion-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-avatar-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-button-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-checkbox-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-combo-box-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-confirm-dialog-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-custom-field-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-date-picker-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-date-time-picker-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-details-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-time-picker-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-select-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-side-nav-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-dialog-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-form-layout-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-field-highlighter-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-virtual-list-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-list-box-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-messages-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-ordered-layout-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-progress-bar-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-popover-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-radio-button-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-split-layout-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-tabs-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-text-field-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-upload-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-notification-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-app-layout-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-menu-bar-flow:jar:24.6.0:compile
[INFO] | | - com.vaadin:collaboration-engine:jar:6.4.0:compile
[INFO] | - com.vaadin:vaadin-dev:jar:24.6.0:compile
[INFO] | ± com.vaadin:vaadin-dev-server:jar:24.6.0:compile
[INFO] | | ± com.vaadin:license-checker:jar:1.13.3:compile
[INFO] | | | ± com.github.oshi:oshi-core:jar:6.6.5:compile
[INFO] | | | | ± net.java.dev.jna:jna:jar:5.15.0:compile
[INFO] | | | | - net.java.dev.jna:jna-platform:jar:5.15.0:compile
[INFO] | | | ± com.nimbusds:nimbus-jose-jwt:jar:9.37.3:compile
[INFO] | | | - org.lucee:jcip-annotations:jar:1.0.0:compile
[INFO] | | ± com.vaadin:open:jar:8.5.0.4:compile
[INFO] | | ± com.github.javaparser:javaparser-core:jar:3.26.2:compile
[INFO] | | - io.methvin:directory-watcher:jar:0.18.0:compile
[INFO] | ± com.vaadin:vaadin-dev-bundle:jar:24.6.0:compile
[INFO] | ± com.vaadin:hilla-dev:jar:24.6.0:compile
[INFO] | ± com.vaadin:copilot:jar:24.6.0:compile
[INFO] | | ± io.projectreactor.netty:reactor-netty:jar:1.2.0:compile
[INFO] | | | ± io.projectreactor.netty:reactor-netty-core:jar:1.2.0:compile
[INFO] | | | | ± io.netty:netty-handler-proxy:jar:4.1.114.Final:compile
[INFO] | | | | | - io.netty:netty-codec-socks:jar:4.1.114.Final:compile
[INFO] | | | | ± io.netty:netty-resolver-dns:jar:4.1.114.Final:compile
[INFO] | | | | | - io.netty:netty-codec-dns:jar:4.1.114.Final:compile
[INFO] | | | | ± io.netty:netty-resolver-dns-native-macos:jar:osx-x86_64:4.1.114.Final:compile
[INFO] | | | | | - io.netty:netty-resolver-dns-classes-macos:jar:4.1.114.Final:compile
[INFO] | | | | ± io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.114.Final:compile
[INFO] | | | | | - io.netty:netty-transport-classes-epoll:jar:4.1.114.Final:compile
[INFO] | | | | - io.projectreactor:reactor-core:jar:3.7.0:compile
[INFO] | | | | - org.reactivestreams:reactive-streams:jar:1.0.4:compile
[INFO] | | | ± io.projectreactor.netty:reactor-netty-http:jar:1.2.0:compile
[INFO] | | | | ± io.netty:netty-codec-http:jar:4.1.114.Final:compile
[INFO] | | | | - io.netty:netty-codec-http2:jar:4.1.114.Final:compile
[INFO] | | | - io.projectreactor.netty.incubator:reactor-netty-incubator-quic:jar:0.2.0:runtime
[INFO] | | | - io.netty.incubator:netty-incubator-codec-native-quic:jar:linux-x86_64:0.0.68.Final:runtime
[INFO] | | | - io.netty.incubator:netty-incubator-codec-classes-quic:jar:0.0.68.Final:runtime
[INFO] | | ± jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
[INFO] | | ± org.apache.commons:commons-configuration2:jar:2.11.0:compile
[INFO] | | ± com.github.javaparser:javaparser-symbol-solver-core:jar:3.26.2:compile
[INFO] | | - com.vaadin:ui-tests:jar:1.1.1:compile
[INFO] | ± io.netty:netty-common:jar:4.1.115.Final:compile
[INFO] | ± io.netty:netty-buffer:jar:4.1.115.Final:compile
[INFO] | ± io.netty:netty-codec:jar:4.1.115.Final:compile
[INFO] | ± io.netty:netty-handler:jar:4.1.115.Final:compile
[INFO] | ± io.netty:netty-transport:jar:4.1.115.Final:compile
[INFO] | ± io.netty:netty-resolver:jar:4.1.115.Final:compile
[INFO] | - io.netty:netty-transport-native-unix-common:jar:4.1.115.Final:compile
[INFO] ± org.slf4j:slf4j-simple:jar:2.0.11:compile
[INFO] | - org.slf4j:slf4j-api:jar:2.0.11:compile
[INFO] ± com.ado2k:appFrameworkCore:jar:2025:compile
[INFO] | ± com.ado2k:myApp-entity:jar:2023:compile
[INFO] | | ± com.sun.mail:jakarta.mail:jar:2.0.1:compile
[INFO] | | | - com.sun.activation:jakarta.activation:jar:2.0.1:compile
[INFO] | | ± com.amazonaws:aws-java-sdk-s3:jar:1.12.672:compile
[INFO] | | | ± com.amazonaws:aws-java-sdk-kms:jar:1.12.672:compile
[INFO] | | | ± com.amazonaws:aws-java-sdk-core:jar:1.12.672:compile
[INFO] | | | | ± org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | | | | | - org.apache.httpcomponents:httpcore:jar:4.4.13:compile
[INFO] | | | | ± com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.12.6:compile
[INFO] | | | | - joda-time:joda-time:jar:2.8.1:compile
[INFO] | | | - com.amazonaws:jmespath-java:jar:1.12.672:compile
[INFO] | | ± org.eclipse.persistence:org.eclipse.persistence.jpa:jar:4.0.5:compile
[INFO] | | | ± org.eclipse.persistence:org.eclipse.persistence.asm:jar:9.7.1:compile
[INFO] | | | ± org.eclipse.persistence:org.eclipse.persistence.core:jar:4.0.5:compile
[INFO] | | | - org.eclipse.persistence:org.eclipse.persistence.jpa.jpql:jar:4.0.5:compile
[INFO] | | ± jakarta.persistence:jakarta.persistence-api:jar:3.2.0:compile
[INFO] | | - org.freemarker:freemarker:jar:2.3.34:compile
[INFO] | ± com.flowingcode.vaadin.addons.chipfield:chipfield-addon:jar:2.6.1:compile
[INFO] | ± pl.unforgiven:superfields:jar:0.19.2:compile
[INFO] | ± org.parttio:tinymce-for-flow:jar:4.2.6:compile
[INFO] | ± org.vaadin.jchristophe:sortable-layout:jar:1.1.8:compile
[INFO] | ± org.vaadin.addons.stefan:clipboard:jar:1.0.3:compile
[INFO] | | - com.vaadin:vaadin:jar:24.6.0:compile
[INFO] | | - com.vaadin:vaadin-internal:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-board-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-charts-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-cookie-consent-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-crud-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-dashboard-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-grid-pro-flow:jar:24.6.0:compile
[INFO] | | ± com.vaadin:vaadin-map-flow:jar:24.6.0:compile
[INFO] | | - com.vaadin:vaadin-rich-text-editor-flow:jar:24.6.0:compile
[INFO] | ± org.vaadin.addons.componentfactory:vcf-pdf-viewer:jar:4.1.0:compile
[INFO] | ± org.vaadin.olli:browser-opener:jar:2.0.0:compile
[INFO] | ± com.hilerio:ace-widget:jar:2.0.0:compile
[INFO] | ± org.vaadin.olli:file-download-wrapper:jar:7.1.0:compile
[INFO] | ± org.vaadin.tabs:paged-tabs:jar:4.0.0:compile
[INFO] | ± org.vaddon:mediaquery:jar:5.0.3:compile
[INFO] | ± org.claspina:confirm-dialog:jar:2.0.0:compile
[INFO] | ± org.vaadin:textfieldformatter:jar:23.3.2:compile
[INFO] | ± in.virit:viritin:jar:2.11.2:compile
[INFO] | | - com.vladsch.flexmark:flexmark:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-ast:jar:0.64.8:compile
[INFO] | | | - org.jetbrains:annotations:jar:24.0.1:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-builder:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-collection:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-data:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-dependency:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-format:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-html:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-misc:jar:0.64.8:compile
[INFO] | | ± com.vladsch.flexmark:flexmark-util-sequence:jar:0.64.8:compile
[INFO] | | - com.vladsch.flexmark:flexmark-util-visitor:jar:0.64.8:compile
[INFO] | ± com.github.appreciated:apexcharts:jar:24.0.2:compile
[INFO] | ± org.vaadin.addons.componentfactory:vaadin-css-grid-layout:jar:3.0.0:compile
[INFO] | ± org.projectlombok:lombok:jar:1.18.24:compile
[INFO] | ± dev.langchain4j:langchain4j-open-ai:jar:0.36.2:compile
[INFO] | | ± dev.langchain4j:langchain4j-core:jar:0.36.2:compile
[INFO] | | ± dev.ai4j:openai4j:jar:0.23.0:compile
[INFO] | | | ± com.squareup.retrofit2:retrofit:jar:2.9.0:compile
[INFO] | | | ± com.squareup.retrofit2:converter-jackson:jar:2.9.0:compile
[INFO] | | | ± com.squareup.okhttp3:okhttp:jar:4.12.0:compile
[INFO] | | | | - com.squareup.okio:okio:jar:3.6.0:compile
[INFO] | | | | - com.squareup.okio:okio-jvm:jar:3.6.0:compile
[INFO] | | | | - org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.9.10:compile
[INFO] | | | - com.squareup.okhttp3:okhttp-sse:jar:4.12.0:compile
[INFO] | | ± org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.9.25:compile
[INFO] | | | ± org.jetbrains.kotlin:kotlin-stdlib:jar:1.9.25:compile
[INFO] | | | - org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.9.25:compile
[INFO] | | - com.knuddels:jtokkit:jar:1.1.0:compile
[INFO] | ± dev.langchain4j:langchain4j:jar:0.36.2:compile
[INFO] | | - org.apache.opennlp:opennlp-tools:jar:1.9.4:compile
[INFO] | ± javax.cache:cache-api:jar:1.1.1:compile
[INFO] | ± org.ehcache:ehcache:jar:3.9.11:compile
[INFO] | ± org.apache.poi:poi:jar:5.3.0:compile
[INFO] | | ± commons-codec:commons-codec:jar:1.17.0:compile
[INFO] | | ± org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] | | ± org.apache.commons:commons-math3:jar:3.6.1:compile
[INFO] | | - com.zaxxer:SparseBitSet:jar:1.3:compile
[INFO] | ± org.apache.poi:poi-ooxml:jar:5.3.0:compile
[INFO] | | ± org.apache.poi:poi-ooxml-lite:jar:5.3.0:compile
[INFO] | | ± org.apache.xmlbeans:xmlbeans:jar:5.2.1:compile
[INFO] | | ± org.apache.commons:commons-compress:jar:1.26.2:compile
[INFO] | | - com.github.virtuald:curvesapi:jar:1.08:compile
[INFO] | ± fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.pdf:jar:2.0.4:compile
[INFO] | | ± fr.opensagres.xdocreport:fr.opensagres.poi.xwpf.converter.core:jar:2.0.4:compile
[INFO] | | | - org.apache.poi:poi-ooxml-full:jar:5.2.0:compile
[INFO] | | - fr.opensagres.xdocreport:fr.opensagres.xdocreport.itext.extension:jar:2.0.4:compile
[INFO] | | - com.lowagie:itext:jar:2.1.7:compile
[INFO] | ± commons-io:commons-io:jar:2.18.0:compile
[INFO] | ± hr.ngs.templater:templater:jar:7.3.0:compile
[INFO] | ± org.vibur:vibur-dbcp:jar:25.0:compile
[INFO] | | - org.vibur:vibur-object-pool:jar:25.0:compile
[INFO] | ± org.mnode.ical4j:ical4j:jar:3.2.11:compile
[INFO] | | - commons-validator:commons-validator:jar:1.7:compile
[INFO] | | ± commons-beanutils:commons-beanutils:jar:1.9.4:compile
[INFO] | | ± commons-digester:commons-digester:jar:2.1:compile
[INFO] | | - commons-logging:commons-logging:jar:1.2:compile
[INFO] | ± com.google.guava:guava:jar:33.3.0-jre:compile
[INFO] | | ± com.google.guava:failureaccess:jar:1.0.2:compile
[INFO] | | ± com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | | ± com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | ± org.checkerframework:checker-qual:jar:3.43.0:compile
[INFO] | | ± com.google.errorprone:error_prone_annotations:jar:2.28.0:compile
[INFO] | | - com.google.j2objc:j2objc-annotations:jar:3.0.0:compile
[INFO] | ± com.google.code.gson:gson:jar:2.10.1:compile
[INFO] | ± dnsjava:dnsjava:jar:3.6.1:compile
[INFO] | ± org.apache.logging.log4j:log4j-api:jar:2.24.3:compile
[INFO] | ± org.apache.logging.log4j:log4j-core:jar:2.24.3:compile
[INFO] | ± com.mysql:mysql-connector-j:jar:8.4.0:compile
[INFO] | | - com.google.protobuf:protobuf-java:jar:3.25.1:compile
[INFO] | ± org.json:json:jar:20170516:compile
[INFO] | ± org.springframework:spring-core:jar:6.1.11:compile
[INFO] | | - org.springframework:spring-jcl:jar:6.1.11:compile
[INFO] | ± org.springframework:spring-beans:jar:6.1.11:compile
[INFO] | ± org.eclipse.jdt.core.compiler:ecj:jar:4.6.1:compile
[INFO] | ± jakarta.servlet:jakarta.servlet-api:jar:6.0.0:compile
[INFO] | ± jakarta.validation:jakarta.validation-api:jar:3.1.0:compile
[INFO] | ± org.glassfish.jersey.bundles:jaxrs-ri:jar:2.43:compile
[INFO] | | ± org.glassfish.jersey.inject:jersey-hk2:jar:2.43:compile
[INFO] | | | ± org.glassfish.hk2:hk2-locator:jar:2.6.1:compile
[INFO] | | | | ± org.glassfish.hk2.external:aopalliance-repackaged:jar:2.6.1:compile
[INFO] | | | | ± org.glassfish.hk2:hk2-api:jar:2.6.1:compile
[INFO] | | | | - org.glassfish.hk2:hk2-utils:jar:2.6.1:compile
[INFO] | | | - org.javassist:javassist:jar:3.30.2-GA:compile
[INFO] | | ± org.glassfish.jersey.core:jersey-common:jar:2.43:compile
[INFO] | | | ± org.glassfish.hk2.external:jakarta.inject:jar:2.6.1:compile
[INFO] | | | - org.glassfish.hk2:osgi-resource-locator:jar:1.0.3:compile
[INFO] | | ± org.glassfish.jersey.media:jersey-media-jaxb:jar:2.43:compile
[INFO] | | ± org.glassfish.jersey.media:jersey-media-json-binding:jar:2.43:compile
[INFO] | | | ± org.glassfish:jakarta.json:jar:1.1.6:compile
[INFO] | | | ± org.eclipse:yasson:jar:1.0.11:compile
[INFO] | | | | - org.glassfish:jakarta.json:jar:module:1.1.6:compile
[INFO] | | | ± jakarta.json.bind:jakarta.json.bind-api:jar:1.0.2:compile
[INFO] | | | - jakarta.json:jakarta.json-api:jar:1.1.6:compile
[INFO] | | ± org.glassfish.jersey.core:jersey-client:jar:2.43:compile
[INFO] | | ± org.glassfish.jersey.core:jersey-server:jar:2.43:compile
[INFO] | | ± org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.43:compile
[INFO] | | ± org.glassfish.jersey.containers:jersey-container-servlet:jar:2.43:compile
[INFO] | | ± org.glassfish.jersey.media:jersey-media-sse:jar:2.43:compile
[INFO] | | - jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
[INFO] | | - jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
[INFO] | ± com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.18.2:compile
[INFO] | | ± com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.18.2:compile
[INFO] | | - com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.18.2:compile
[INFO] | | - javax.xml.bind:jaxb-api:jar:2.2.12:compile
[INFO] | ± com.fasterxml.jackson.core:jackson-core:jar:2.18.2:compile
[INFO] | ± com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.18.2:compile
[INFO] | | - com.fasterxml.jackson.core:jackson-annotations:jar:2.18.2:compile
[INFO] | ± com.fasterxml.jackson.core:jackson-databind:jar:2.18.2:compile
[INFO] | - jakarta.ws.rs:jakarta.ws.rs-api:jar:4.0.0:compile
[INFO] ± org.javolution:javolution-core-java:jar:6.0.0:compile
[INFO] | ± org.osgi:org.osgi.core:jar:4.3.1:compile
[INFO] | - org.osgi:org.osgi.compendium:jar:4.3.1:compile
[INFO] ± com.github.dpaukov:combinatoricslib3:jar:3.3.1:compile
[INFO] ± io.jsonwebtoken:jjwt:jar:0.12.6:compile
[INFO] | ± io.jsonwebtoken:jjwt-api:jar:0.12.6:compile
[INFO] | ± io.jsonwebtoken:jjwt-impl:jar:0.12.6:runtime
[INFO] | - io.jsonwebtoken:jjwt-jackson:jar:0.12.6:runtime
[INFO] ± org.vaadin.stefan:html-table:jar:1.2.0:compile
[INFO] | - com.vaadin:flow-server:jar:24.6.0:compile
[INFO] | ± com.vaadin.servletdetector:throw-if-servlet3:jar:1.0.2:compile
[INFO] | ± com.vaadin.external.gwt:gwt-elemental:jar:2.8.2.vaadin2:compile
[INFO] | ± org.apache.commons:commons-fileupload2-jakarta:jar:2.0.0-M1:compile
[INFO] | | - org.apache.commons:commons-fileupload2-core:jar:2.0.0-M1:compile
[INFO] | ± org.jsoup:jsoup:jar:1.18.1:compile
[INFO] | ± com.helger:ph-css:jar:7.0.3:compile
[INFO] | | - com.helger.commons:ph-commons:jar:11.1.8:compile
[INFO] | ± org.ow2.asm:asm:jar:9.7.1:compile
[INFO] | - com.vaadin.external:gentyref:jar:1.2.0.vaadin1:compile
[INFO] ± com.vaadin:vaadin-login-flow:jar:24.6.0:compile
[INFO] | - com.vaadin:vaadin-flow-components-base:jar:24.6.0:compile
[INFO] ± org.vaadin.stefan:fullcalendar2:jar:6.2.2:compile
[INFO] | - org.apache.commons:commons-text:jar:1.10.0:compile
[INFO] ± org.vaadin.stefan:fullcalendar2-scheduler:jar:6.2.2:compile
[INFO] ± com.flowingcode.addons.carousel:carousel-addon:jar:2.1.1:compile
[INFO] - com.vaadin:vaadin-grid-flow:jar:24.6.0:compile
[INFO] ± com.vaadin:vaadin-context-menu-flow:jar:24.6.0:compile
[INFO] ± org.apache.commons:commons-lang3:jar:3.17.0:compile
[INFO] - com.vaadin:vaadin-renderer-flow:jar:24.6.0:compile
[INFO] ------------------------------------------------------------------------

Do you use the latest version of the plugin?

Hi Martin, if you mean the ice plugin, I’m using IntelliJ with Vaadin plugin version 1.4.3

Thanks

That’s strange!
Most of my apps are on 24.6.0 already, and I have no issues.

Hi Simon, may be cause I’m migrating from 14 → 24.6 and the app is quite complex.

I’m not on spring boot but Jakarta EE ( Planning to move to spring boot but is quite a long task )

Hi, 24.6 should work perfectly with IntelliJ plugin 1.4.3. One difference is that maybe application deployed on app container cannot do localhost rest requests directly - but that’s my blind guess.

Hi, I’m using tomcat 10 installed locally.

the error I receive seems regarding the rest communication

[http-nio-8080-exec-4] ERROR com.vaadin.copilot.ide.CopilotIDEPlugin - Unable to communicate with IDE plugin
java.io.IOException: Unexpected response (400) communicating with the IDE plugin:
at com.vaadin.copilot.ide.CopilotIDEPlugin.sendRestSync(CopilotIDEPlugin.java:342)
at com.vaadin.copilot.ide.CopilotIDEPlugin.send(CopilotIDEPlugin.java:323)
at com.vaadin.copilot.ide.CopilotIDEPlugin.getModulePaths(CopilotIDEPlugin.java:307)
at com.vaadin.copilot.JavaSourcePathDetector.detectSourceFoldersUsingIDEPlugin(JavaSourcePathDetector.java:83)
at com.vaadin.copilot.JavaSourcePathDetector.detectProjectPaths(JavaSourcePathDetector.java:72)
at com.vaadin.copilot.ProjectFileManager.getProjectPaths(ProjectFileManager.java:362)
at com.vaadin.copilot.ProjectFileManager.getSourceFolders(ProjectFileManager.java:348)
at com.vaadin.copilot.ProjectManager.getSourceFolders(ProjectManager.java:180)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.startSourceFileWatchers(SourceSyncChecker.java:67)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.(SourceSyncChecker.java:52)
at com.vaadin.copilot.CopilotSession.(CopilotSession.java:82)
at com.vaadin.copilot.Copilot.lambda$handleConnect$1(Copilot.java:43)
at java.base/java.util.Map.computeIfAbsent(Map.java:1066)
at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2980)
at com.vaadin.copilot.Copilot.handleConnect(Copilot.java:41)
at com.vaadin.base.devserver.DebugWindowConnection.handleConnect(DebugWindowConnection.java:208)
at com.vaadin.base.devserver.DebugWindowConnection.onConnect(DebugWindowConnection.java:188)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$4(PushHandler.java:625)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$5(PushHandler.java:624)
at com.vaadin.flow.server.communication.PushHandler.callWithServiceAndSession(PushHandler.java:237)
at com.vaadin.flow.server.communication.PushHandler.onConnect(PushHandler.java:621)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onConnect(PushAtmosphereHandler.java:103)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:217)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:103)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2284)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:574)
at org.atmosphere.websocket.DefaultWebSocketProcessor.open(DefaultWebSocketProcessor.java:213)
at org.atmosphere.container.JSR356Endpoint.onOpen(JSR356Endpoint.java:254)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:131)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:947)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1583)
[http-nio-8080-exec-4] WARN org.atmosphere.websocket.DefaultWebSocketProcessor - Failed invoking AtmosphereFramework.doCometSupport()
java.lang.NullPointerException: Cannot invoke “elemental.json.JsonObject.getObject(String)” because “sourcePathResponse” is null
at com.vaadin.copilot.JavaSourcePathDetector.detectSourceFoldersUsingIDEPlugin(JavaSourcePathDetector.java:84)
at com.vaadin.copilot.JavaSourcePathDetector.detectProjectPaths(JavaSourcePathDetector.java:72)
at com.vaadin.copilot.ProjectFileManager.getProjectPaths(ProjectFileManager.java:362)
at com.vaadin.copilot.ProjectFileManager.getSourceFolders(ProjectFileManager.java:348)
at com.vaadin.copilot.ProjectManager.getSourceFolders(ProjectManager.java:180)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.startSourceFileWatchers(SourceSyncChecker.java:67)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.(SourceSyncChecker.java:52)
at com.vaadin.copilot.CopilotSession.(CopilotSession.java:82)
at com.vaadin.copilot.Copilot.lambda$handleConnect$1(Copilot.java:43)
at java.base/java.util.Map.computeIfAbsent(Map.java:1066)
at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2980)
at com.vaadin.copilot.Copilot.handleConnect(Copilot.java:41)
at com.vaadin.base.devserver.DebugWindowConnection.handleConnect(DebugWindowConnection.java:208)
at com.vaadin.base.devserver.DebugWindowConnection.onConnect(DebugWindowConnection.java:188)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$4(PushHandler.java:625)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$5(PushHandler.java:624)
at com.vaadin.flow.server.communication.PushHandler.callWithServiceAndSession(PushHandler.java:237)
at com.vaadin.flow.server.communication.PushHandler.onConnect(PushHandler.java:621)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onConnect(PushAtmosphereHandler.java:103)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:217)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:103)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2284)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:574)
at org.atmosphere.websocket.DefaultWebSocketProcessor.open(DefaultWebSocketProcessor.java:213)
at org.atmosphere.container.JSR356Endpoint.onOpen(JSR356Endpoint.java:254)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:131)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:947)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1583)
[http-nio-8080-exec-4] WARN org.atmosphere.websocket.protocol.SimpleHttpProtocol - java.lang.NullPointerException: Cannot invoke “elemental.json.JsonObject.getObject(String)” because “sourcePathResponse” is null. Unable to deliver the websocket messages to installed component. Status 500 Message Server Error
[http-nio-8080-exec-4] WARN org.atmosphere.websocket.DefaultWebSocketProcessor - Failed invoking AtmosphereFramework.doCometSupport()
java.lang.NullPointerException: Cannot invoke “com.vaadin.copilot.CopilotSession.handleMessage(String, elemental.json.JsonObject, com.vaadin.base.devserver.DevToolsInterface)” because the return value of “java.util.Map.get(Object)” is null
at com.vaadin.copilot.Copilot.handleMessage(Copilot.java:62)
at com.vaadin.base.devserver.DebugWindowConnection.onMessage(DebugWindowConnection.java:336)
at com.vaadin.flow.server.communication.PushHandler.handleDebugWindowMessage(PushHandler.java:670)
at com.vaadin.flow.server.communication.PushHandler.callWithServiceAndSession(PushHandler.java:237)
at com.vaadin.flow.server.communication.PushHandler.onMessage(PushHandler.java:646)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:90)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:79)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:217)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:103)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2284)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:574)
at org.atmosphere.websocket.DefaultWebSocketProcessor.lambda$dispatch$2(DefaultWebSocketProcessor.java:326)
at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:323)
at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:428)
at org.atmosphere.container.JSR356Endpoint.lambda$onOpen$2(JSR356Endpoint.java:261)
at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:390)
at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:130)
at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:484)
at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:284)
at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130)
at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85)
at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184)
at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152)
at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1583)
[http-nio-8080-exec-4] WARN org.atmosphere.websocket.protocol.SimpleHttpProtocol - java.lang.NullPointerException: Cannot invoke “com.vaadin.copilot.CopilotSession.handleMessage(String, elemental.json.JsonObject, com.vaadin.base.devserver.DevToolsInterface)” because the return value of “java.util.Map.get(Object)” is null. Unable to deliver the websocket messages to installed component. Status 500 Message Server Error

Needs investigation, I’ve created GH issue which you can follow [BUG] Cannot communicate with plugin while running on Tomcat · Issue #55 · vaadin/copilot · GitHub

1 Like

Hi,

the error

[http-nio-8080-exec-4] ERROR com.vaadin.copilot.ide.CopilotIDEPlugin - Unable to communicate with IDE plugin
java.io.IOException: Unexpected response (400) communicating with the IDE plugin:
at com.vaadin.copilot.ide.CopilotIDEPlugin.sendRestSync(CopilotIDEPlugin.java:342)
at com.vaadin.copilot.ide.CopilotIDEPlugin.send(CopilotIDEPlugin.java:323)
at com.vaadin.copilot.ide.CopilotIDEPlugin.getModulePaths(CopilotIDEPlugin.java:307)

is an indication that something earlier on went wrong. The 400 response code is typically sent when the IntelliJ rest endpoint is flooded with more than ~30 requests per minute and a known cause for this is some unspecific problem in detecting the source folders for the project (also indicated by the error originating in getModulePaths.

To more easily figure out the source of the problem, the first exception would be useful to have, as it most likely is something else than only “bad request returned by the server”

Hi Artur, may be this can be useful, thanks

[http-nio-8080-exec-8] ERROR com.vaadin.copilot.ide.CopilotIDEPlugin - Unable to communicate with IDE plugin
java.io.IOException: Unexpected response (400) communicating with the IDE plugin:
at com.vaadin.copilot.ide.CopilotIDEPlugin.sendRestSync(CopilotIDEPlugin.java:342)
at com.vaadin.copilot.ide.CopilotIDEPlugin.send(CopilotIDEPlugin.java:323)
at com.vaadin.copilot.ide.CopilotIDEPlugin.getModulePaths(CopilotIDEPlugin.java:307)
at com.vaadin.copilot.JavaSourcePathDetector.detectSourceFoldersUsingIDEPlugin(JavaSourcePathDetector.java:83)
at com.vaadin.copilot.JavaSourcePathDetector.detectProjectPaths(JavaSourcePathDetector.java:72)
at com.vaadin.copilot.ProjectFileManager.getProjectPaths(ProjectFileManager.java:362)
at com.vaadin.copilot.ProjectFileManager.getSourceFolders(ProjectFileManager.java:348)
at com.vaadin.copilot.ProjectManager.getSourceFolders(ProjectManager.java:180)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.startSourceFileWatchers(SourceSyncChecker.java:67)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.(SourceSyncChecker.java:52)
at com.vaadin.copilot.CopilotSession.(CopilotSession.java:82)
at com.vaadin.copilot.Copilot.lambda$handleConnect$1(Copilot.java:43)
at java.base/java.util.Map.computeIfAbsent(Map.java:1066)
at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2980)
at com.vaadin.copilot.Copilot.handleConnect(Copilot.java:41)
at com.vaadin.base.devserver.DebugWindowConnection.handleConnect(DebugWindowConnection.java:208)
at com.vaadin.base.devserver.DebugWindowConnection.onConnect(DebugWindowConnection.java:188)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$4(PushHandler.java:625)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$5(PushHandler.java:624)
at com.vaadin.flow.server.communication.PushHandler.callWithServiceAndSession(PushHandler.java:237)
at com.vaadin.flow.server.communication.PushHandler.onConnect(PushHandler.java:621)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onConnect(PushAtmosphereHandler.java:103)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:217)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:103)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2284)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:574)
at org.atmosphere.websocket.DefaultWebSocketProcessor.open(DefaultWebSocketProcessor.java:213)
at org.atmosphere.container.JSR356Endpoint.onOpen(JSR356Endpoint.java:254)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:131)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:947)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1583)
[http-nio-8080-exec-8] WARN org.atmosphere.websocket.DefaultWebSocketProcessor - Failed invoking AtmosphereFramework.doCometSupport()
java.lang.NullPointerException: Cannot invoke “elemental.json.JsonObject.getObject(String)” because “sourcePathResponse” is null
at com.vaadin.copilot.JavaSourcePathDetector.detectSourceFoldersUsingIDEPlugin(JavaSourcePathDetector.java:84)
at com.vaadin.copilot.JavaSourcePathDetector.detectProjectPaths(JavaSourcePathDetector.java:72)
at com.vaadin.copilot.ProjectFileManager.getProjectPaths(ProjectFileManager.java:362)
at com.vaadin.copilot.ProjectFileManager.getSourceFolders(ProjectFileManager.java:348)
at com.vaadin.copilot.ProjectManager.getSourceFolders(ProjectManager.java:180)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.startSourceFileWatchers(SourceSyncChecker.java:67)
at com.vaadin.copilot.javarewriter.SourceSyncChecker.(SourceSyncChecker.java:52)
at com.vaadin.copilot.CopilotSession.(CopilotSession.java:82)
at com.vaadin.copilot.Copilot.lambda$handleConnect$1(Copilot.java:43)
at java.base/java.util.Map.computeIfAbsent(Map.java:1066)
at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2980)
at com.vaadin.copilot.Copilot.handleConnect(Copilot.java:41)
at com.vaadin.base.devserver.DebugWindowConnection.handleConnect(DebugWindowConnection.java:208)
at com.vaadin.base.devserver.DebugWindowConnection.onConnect(DebugWindowConnection.java:188)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$4(PushHandler.java:625)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at com.vaadin.flow.server.communication.PushHandler.lambda$onConnect$5(PushHandler.java:624)
at com.vaadin.flow.server.communication.PushHandler.callWithServiceAndSession(PushHandler.java:237)
at com.vaadin.flow.server.communication.PushHandler.onConnect(PushHandler.java:621)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onConnect(PushAtmosphereHandler.java:103)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:217)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:103)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2284)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:574)
at org.atmosphere.websocket.DefaultWebSocketProcessor.open(DefaultWebSocketProcessor.java:213)
at org.atmosphere.container.JSR356Endpoint.onOpen(JSR356Endpoint.java:254)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:131)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:947)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1583)
[http-nio-8080-exec-8] WARN org.atmosphere.websocket.protocol.SimpleHttpProtocol - java.lang.NullPointerException: Cannot invoke “elemental.json.JsonObject.getObject(String)” because “sourcePathResponse” is null. Unable to deliver the websocket messages to installed component. Status 500 Message Server Error
[Thread-848] ERROR com.vaadin.copilot.ide.CopilotIDEPlugin - Unable to communicate with IDE plugin
java.io.IOException: Unexpected response (400) communicating with the IDE plugin:
at com.vaadin.copilot.ide.CopilotIDEPlugin.sendRestSync(CopilotIDEPlugin.java:342)
at com.vaadin.copilot.ide.CopilotIDEPlugin.send(CopilotIDEPlugin.java:323)
at com.vaadin.copilot.ide.CopilotIDEPlugin.getModulePaths(CopilotIDEPlugin.java:307)
at com.vaadin.copilot.JavaSourcePathDetector.detectSourceFoldersUsingIDEPlugin(JavaSourcePathDetector.java:83)
at com.vaadin.copilot.JavaSourcePathDetector.detectProjectPaths(JavaSourcePathDetector.java:72)
at com.vaadin.copilot.ProjectFileManager.getProjectPaths(ProjectFileManager.java:362)
at com.vaadin.copilot.ProjectFileManager.getSourceFolders(ProjectFileManager.java:348)
at com.vaadin.copilot.ProjectFileManager.getFileForClass(ProjectFileManager.java:327)
at com.vaadin.copilot.ProjectFileManager.getFileForClass(ProjectFileManager.java:311)
at com.vaadin.copilot.HotswapListener.lambda$anyClassInProject$1(HotswapListener.java:51)
at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
at java.base/java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1736)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:632)
at com.vaadin.copilot.HotswapListener.anyClassInProject(HotswapListener.java:50)
at com.vaadin.copilot.HotswapListener.onHotswapComplete(HotswapListener.java:27)
at com.vaadin.flow.hotswap.Hotswapper.onHotswapInternal(Hotswapper.java:273)
at com.vaadin.flow.hotswap.Hotswapper.onHotswap(Hotswapper.java:145)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.hotswap.agent.command.ReflectionCommand.doExecuteReflectionCommand(ReflectionCommand.java:207)
at org.hotswap.agent.command.ReflectionCommand.executeCommand(ReflectionCommand.java:168)
at org.hotswap.agent.command.impl.CommandExecutor.run(CommandExecutor.java:43)
[http-nio-8080-exec-8] WARN org.atmosphere.websocket.DefaultWebSocketProcessor - Failed invoking AtmosphereFramework.doCometSupport()
java.lang.NullPointerException: Cannot invoke “com.vaadin.copilot.CopilotSession.handleMessage(String, elemental.json.JsonObject, com.vaadin.base.devserver.DevToolsInterface)” because the return value of “java.util.Map.get(Object)” is null
at com.vaadin.copilot.Copilot.handleMessage(Copilot.java:62)
at com.vaadin.base.devserver.DebugWindowConnection.onMessage(DebugWindowConnection.java:336)
at com.vaadin.flow.server.communication.PushHandler.handleDebugWindowMessage(PushHandler.java:670)
at com.vaadin.flow.server.communication.PushHandler.callWithServiceAndSession(PushHandler.java:237)
at com.vaadin.flow.server.communication.PushHandler.onMessage(PushHandler.java:646)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:90)
at com.vaadin.flow.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:79)
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:217)
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:103)
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:67)
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2284)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:574)
at org.atmosphere.websocket.DefaultWebSocketProcessor.lambda$dispatch$2(DefaultWebSocketProcessor.java:326)
at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:323)
at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:428)
at org.atmosphere.container.JSR356Endpoint.lambda$onOpen$2(JSR356Endpoint.java:261)
at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:390)
at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:130)
at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:484)
at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:284)
at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130)
at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85)
at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184)
at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164)
at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152)
at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:1583)
[http-nio-8080-exec-8] WARN org.atmosphere.websocket.protocol.SimpleHttpProtocol - java.lang.NullPointerException: Cannot invoke “com.vaadin.copilot.CopilotSession.handleMessage(String, elemental.json.JsonObject, com.vaadin.base.devserver.DevToolsInterface)” because the return value of “java.util.Map.get(Object)” is null. Unable to deliver the websocket messages to installed component. Status 500 Message Server Error
[Thread-847] ERROR com.vaadin.copilot.ide.CopilotIDEPlugin - Unable to communicate with IDE plugin
java.io.IOException: Unexpected response (400) communicating with the IDE plugin:
at com.vaadin.copilot.ide.CopilotIDEPlugin.sendRestSync(CopilotIDEPlugin.java:342)
at com.vaadin.copilot.ide.CopilotIDEPlugin.send(CopilotIDEPlugin.java:323)
at com.vaadin.copilot.ide.CopilotIDEPlugin.getModulePaths(CopilotIDEPlugin.java:307)
at com.vaadin.copilot.JavaSourcePathDetector.detectSourceFoldersUsingIDEPlugin(JavaSourcePathDetector.java:83)
at com.vaadin.copilot.JavaSourcePathDetector.detectProjectPaths(JavaSourcePathDetector.java:72)
at com.vaadin.copilot.ProjectFileManager.getProjectPaths(ProjectFileManager.java:362)
at com.vaadin.copilot.ProjectFileManager.getSourceFolders(ProjectFileManager.java:348)
at com.vaadin.copilot.ProjectFileManager.getFileForClass(ProjectFileManager.java:327)
at com.vaadin.copilot.ProjectFileManager.getFileForClass(ProjectFileManager.java:311)
at com.vaadin.copilot.HotswapListener.lambda$anyClassInProject$1(HotswapListener.java:51)
at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
at java.base/java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1736)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:632)
at com.vaadin.copilot.HotswapListener.anyClassInProject(HotswapListener.java:50)
at com.vaadin.copilot.HotswapListener.onHotswapComplete(HotswapListener.java:27)
at com.vaadin.flow.hotswap.Hotswapper.onHotswapInternal(Hotswapper.java:273)
at com.vaadin.flow.hotswap.Hotswapper.onHotswap(Hotswapper.java:145)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.hotswap.agent.command.ReflectionCommand.doExecuteReflectionCommand(ReflectionCommand.java:207)
at org.hotswap.agent.command.ReflectionCommand.executeCommand(ReflectionCommand.java:168)
at org.hotswap.agent.command.impl.CommandExecutor.run(CommandExecutor.java:43)

could it be related to hot swap ?

Hi Artur, any idea or something that I can check?

Thanks