Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with ComponentWithPopupRenderer with Vaadin 24.3.5 #24

Open
gschrader opened this issue Mar 8, 2024 · 0 comments
Open

Issue with ComponentWithPopupRenderer with Vaadin 24.3.5 #24

gschrader opened this issue Mar 8, 2024 · 0 comments

Comments

@gschrader
Copy link

I'm getting this runtime exception while trying to use a popup in a grid:

Caused by: java.lang.IllegalAccessError: class com.vaadin.componentfactory.ComponentWithPopupRenderer tried to access method 'void com.vaadin.flow.data.renderer.LitRenderer.<init>()' (com.vaadin.componentfactory.ComponentWithPopupRenderer and com.vaadin.flow.data.renderer.LitRenderer are in unnamed module of loader 'app')
	at com.vaadin.componentfactory.ComponentWithPopupRenderer.<init>(ComponentWithPopupRenderer.java:55)

When I open ComponentWithPopupRenderer in my IDE it's indicating that there is no empty super constructor in ComponentRenderer.

Trying to compile it on my own confirms the API mismatch:

java: no suitable constructor found for ComponentRenderer(no arguments)
    constructor com.vaadin.flow.data.renderer.ComponentRenderer.ComponentRenderer(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.component.Component>,com.vaadin.flow.function.SerializableBiConsumer<com.vaadin.flow.component.Component,ITEM>) is not applicable
      (actual and formal argument lists differ in length)
    constructor com.vaadin.flow.data.renderer.ComponentRenderer.ComponentRenderer(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.component.Component>) is not applicable
      (actual and formal argument lists differ in length)
    constructor com.vaadin.flow.data.renderer.ComponentRenderer.ComponentRenderer(com.vaadin.flow.function.SerializableFunction<ITEM,com.vaadin.flow.component.Component>) is not applicable
      (actual and formal argument lists differ in length)
    constructor com.vaadin.flow.data.renderer.ComponentRenderer.ComponentRenderer(com.vaadin.flow.function.SerializableFunction<ITEM,com.vaadin.flow.component.Component>,com.vaadin.flow.function.SerializableBiFunction<com.vaadin.flow.component.Component,ITEM,com.vaadin.flow.component.Component>) is not applicable
      (actual and formal argument lists differ in length)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant