Closed SebastianKuehnau closed 1 month ago
It seems the handleMessage
method is called before the setupCommands
(initializing the commands
field) method is invoked.
How do you reproduce this?
Start a Vaadin 24.4.1. App with CoPilot
works without this exception
I created a Vaadin 24.4. project on start.vaadin.com, build everything with Java 21 and try to let run with the result of getting the error message above.
The com.vaadin:copilot dependency in my local repository was broken. Deleting it in my local rep and rebuild the project, make the app working.
Please provide as many details as possible; this will help us deliver a fix as soon as possible. Thank you!
Description of the Bug
When starting the copilot in a Vaadin 24.4. application I'm getting a NPE with the following error message:
The List of List commands never got initiated. Copilot.java linenr. 40.
Expected Behavior
Vaadin Application should start without errors. The List of CoPilotCommands needs to be instantiated.
Minimal Reproducible Example
Start a Vaadin 24.4.1. App with CoPilot.
Versions