I am getting the below error very regularly when I build in IntelliJ with Kotlin 1.4.31 and Compose for desktop 0.4.0-build171. The only way I have found to fix it is to do a gradle clean and build. Is there a way I can get it to go away permanently? It seems to happen only when I edit my composable functions.
u
udalov
03/08/2021, 11:25 AM
The interesting part of the stacktrace is actually below and is not visible on the screenshot
g
gbaldeck
03/08/2021, 1:57 PM
@udalov, Here's the full stack trace. To reproduce I added a remember { ... } to one of my composable functions then rebuilt.
https://pastebin.com/Jyv39sNB
u
udalov
03/09/2021, 8:43 PM
Interesting. Thanks for sharing. However I haven’t since such error and can’t figure out how to reproduce it without sources. It would be awesome if you could create an issue at YouTrack with a sample project (in case it’s not open source, there’s an option to attach it so that it’s only visible to JetBrains)