Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
For Kotlin 2.0 and KSP 2.0 the Cannot change attributes of configuration ':composeApp:debugFrameworkIosX64' after it has been locked for mutation
really seems like a KSP issue. You should file a bug in their repository with a sample app if possible.
If you downgrade to Kotlin 1.9 then things 'should' work, there are example apps out there with such configuration, like the following one:
da...@google.com <da...@google.com> #3
Yes this does seem like a KSP issue however it only starts happening when room is added to the project. As the template project compiles just fine.
Will try to use the example provided by you to check if it fixes the issue.
Will try to use the example provided by you to check if it fixes the issue.
Description
Version used: 2.1.0
Devices/Android versions reproduced on: Galaxy J6, Android 9
Hi, I use Room in my app with 2 processes working, with multi-process invalidation tracking set up. I see this crash in my console (and I can't reproduce it on my devices):
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'void androidx.room.IMultiInstanceInvalidationService.broadcastInvalidation(int, java.lang.String[])' on a null object reference
at androidx.room.MultiInstanceInvalidationClient$6.onInvalidated + 182(MultiInstanceInvalidationClient.java:182)
at androidx.room.InvalidationTracker$ObserverWrapper.notifyByTableInvalidStatus + 636(InvalidationTracker.java:636)
at androidx.room.InvalidationTracker$1.run + 408(InvalidationTracker.java:408)
at java.util.concurrent.ThreadPoolExecutor.runWorker + 1167(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run + 641(ThreadPoolExecutor.java:641)
at java.lang.Thread.run + 764(Thread.java:764)