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

Get Grid Vaadin 14.10.5 #160

Open
pressj1 opened this issue Dec 15, 2023 · 2 comments
Open

Get Grid Vaadin 14.10.5 #160

pressj1 opened this issue Dec 15, 2023 · 2 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@pressj1
Copy link

pressj1 commented Dec 15, 2023

I am trying to call _get(Grid.class) in my ui but I get a nullpointer at line 359 of GridUtils.kt

I am using
karibu-testing-v10
1.3.24

The issue seems to be that my grid is using class
com.vaadin.flow.component.grid.GridSorterFilterComponentRenderer

If I look https://github.com/mvysny/karibu-tools/blob/0.14/src/main/kotlin/GridUtils.kt at GridUtils there is handling for class com.vaadin.flow.component.grid.GridSorterComponentRenderer but not com.vaadin.flow.component.grid.GridSorterFilterComponentRenderer

I believe the logic should be the same as gridSorterComponentRendererClass for GridSorterFilterComponentRenderer

@pressj1
Copy link
Author

pressj1 commented Dec 15, 2023

Note the class comes from
com.vaadin.componentfactory
enhanced-grid-flow
0.9.1

https://github.com/vaadin-component-factory/enhanced-grid-flow

@mvysny
Copy link
Owner

mvysny commented Mar 14, 2024

Can you provide a very simple example project which demoes the NPE please?

@mvysny mvysny self-assigned this Mar 14, 2024
@mvysny mvysny added bug Something isn't working question Further information is requested labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants