gbaldeck

    gbaldeck

    1 year ago
    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.
    udalov

    udalov

    1 year ago
    The interesting part of the stacktrace is actually below and is not visible on the screenshot
    gbaldeck

    gbaldeck

    1 year ago
    @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
    udalov

    udalov

    1 year ago
    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)
    gbaldeck

    gbaldeck

    1 year ago
    @udalov I have created the youtrack issue here: https://youtrack.jetbrains.com/issue/IDEA-264249