Hello Carlos,

With newest update in Royale we are getting NPE in following line of code
[1]

Essentially dataProvider is null here [1].

Scenario is following:
1) Add DataGrid with couple of items
2) Once it's displayed set dataProvider = null

In that case scrollToIndex gets -1 - it will be called with
scrollToIndex(-1) and variableRowHeight = false. That part [1] of the code
will be called and nulled dataProvider - causes mentioned issue.

[1]
https://github.com/apache/royale-asjs/blob/7ab8307b561712560b675e31b0e6e1e71fa05d78/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/ListView.as#L215

Thanks,
-- 

Piotr Zarzycki

Reply via email to