Hello people. We started seeing a `Fatal Exception...
# compose-android
d
Hello people. We started seeing a
Fatal Exception: java.lang.IllegalStateException visitLocalDescendants called on an unattached node
, in a screen of our app (judging from logs), and we can’t figure out where it is coming from. In that given screen we only added a Snackbar (custom implementation that we’re using in other screens); beside that, we only update Material library, related to Compose. Is it not related to a particular subset of devices or Android version. Do you have any clue? I tried Monkey testing on a couple of devices, but without success. Full stack trace in the thread. 🙏
I found the issue to be related to a change we made to our implementation of a
LazyList
, which has a swipe action on its items
. The crash happens when scrolling compulsively (not sure it happens on every device, but I repro on a Chinese Xiaomi Mi 9) I don’t have much to provide since we don’t use the Paging library from Jetpack, but it is a very custom implementation. I found this issue marked as “partially addressed”, so please let me know if I can help: https://issuetracker.google.com/issues/303904810