codeandtheory/YCharts

Parameter specified as non-null is null: method

Closed this issue · 3 comments

Hello!

Hope you might be able to help - this has suddenly started happening to me, and I'm not sure why. I don't think i've changed any dependencies

java.lang.NullPointerException: Parameter specified as non-null is null: method androidx.compose.material.ModalBottomSheetKt.rememberModalBottomSheetState, parameter confirmStateChange at androidx.compose.material.ModalBottomSheetKt.rememberModalBottomSheetState(Unknown Source:9) at co.yml.charts.ui.linechart.LineChartKt.LineChart(LineChart.kt:59)

Any thoughts gratefully received.

Best Wishes

Pete

Hi @petehellyer , could you provide a bit more details on this?
such as AGP version, kotlin-gradle plugin version of the project, and material ui version for the application ?

Hi, Sorry, Meant to out put that, but missed it out completely!

kotlin.version=1.8.20
agp.version=7.4.2
composeUI.version=1.4.2
material=1.3.1

kikoso commented

@petehellyer , do you still experience this with the latest issue?