Real User Monitoring
User session monitoring, key user actions - everything RUM.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compose 1.11.+ Checkbox crash due to dynatrace wrapper

JKilcoyne
Newcomer

Hey all, 

We noticed that after updating to Compose BOM we're getting a crash on a valid code path:

Process: X, PID: 27106
java.lang.NullPointerException: Parameter specified as non-null is null: method com.dynatrace.android.internal.api.compose17.callback.WrappingCheckbox_Function1_ComposeCallback.<init>, parameter onValueChange
at com.dynatrace.android.internal.api.compose17.callback.WrappingCheckbox_Function1_ComposeCallback.<init>(WrappingCheckbox_Function1_ComposeCallback.kt:3)
at androidx.compose.material3.CheckboxKt.Checkbox(Checkbox.kt:90)

                Row(
                    modifier = Modifier
                        .fillMaxWidth(),
                    verticalAlignment = Alignment.CenterVertically,
                    content = {
                        Checkbox(
                            checked = isChecked,
                            enabled = isEnabled,
                            onCheckedChange = null
                        )
}
)

 

adding a checkbox this way should be valid, seems related to the BOM version update and the latest Dyna version `8.345.1.1003`

Let me know what y'all think, thanks!

 

1 REPLY 1

Patrick_H
Dynatrace Leader
Dynatrace Leader

For crashes please create a Support Ticket.

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Featured Posts