Hi has anyone had issues with the androidview thro...
# compose
n
Hi has anyone had issues with the androidview throwing an exception from the semantics modifier Reproducible on Pixel 3XL but not on workmates samsung? (More details in thread)
So the AndroidView wraps up an exoplayer so admittedly its not a trivial android view however the exception thrown points to the semantics modifier which is being set internally by the android view. (Exception below)
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.vitruvian, PID: 7634 java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter <this> at androidx.compose.ui.semantics.SemanticsModifierKt.semantics(Unknown Source:2) at androidx.compose.ui.viewinterop.AndroidView_androidKt.AndroidView(AndroidView.android.kt:72) at com.vitruvian.ui.components.VideoPlayerKt.VideoPlayer(VideoPlayer.kt:87) at com.vitruvian.ui.components.VideoPlayerKt$VideoPlayer$7.invoke(Unknown Source:23) at com.vitruvian.ui.components.VideoPlayerKt$VideoPlayer$7.invoke(Unknown Source:10) at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:97) at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2117) at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2375) at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:2517) at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:2488) at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:546) at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:733) at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:102) at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:443) at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:415) at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:34) at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109) at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41) at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:970) at android.view.Choreographer.doCallbacks(Choreographer.java:796) at android.view.Choreographer.doFrame(Choreographer.java:727) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7660) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)