CoPilot error

Hi,
since a few days, maybe after upgrading to 24.7., everytime I active CoPilot the following error occur:

Copilot internal error
Error fetching browser-callables An exact type is requested, but the type contains a type variable that cannot be resolved. Variable: T from public java.lang.Object com.vaadin.flow.component.Component.findAncestor(java.lang.Class) Hint: This is usually caused by trying to get an exact type when a generic method whose type parameters are not given is involved.

The Vaadin dev gizmo is visible in the lower right corner. I activate CoPilot by Shift-CMD-CMD, then immediately the error message appear. After Dismiss CoPilot is active and I can use it, mainly to use the “Go to source” feature. I didn’t use other features so I can’t say whether or not the error has some impact.

My setup:

  • MacOS Sequoia 15.3.2
  • IntelliJ IDEA 2024.3.5 (Ultimate Edition)
  • Java 21
  • Vaadin 24.7.1
  • Firefox 136.0.4 (aarch64
  • Safari Version 18.3.1 (20620.2.4.11.6)

Kind regards
Dominik

Hi, this is a bug in Copilot when it tries to find what project services there are available for the UI components to use. It was recently fixed so upgrading to 24.7.2 once that is available should help. Should otherwise not have a big impact, except features that need to know about UI services probably do not work

ah … ok, thanks for clarification.
What do you exactly mean with project services / UI services ?