Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes detected and show only white page, caused by divider #198

Closed
JosephSanjaya opened this issue Dec 16, 2022 · 2 comments · Fixed by #228
Closed

Crashes detected and show only white page, caused by divider #198

JosephSanjaya opened this issue Dec 16, 2022 · 2 comments · Fixed by #228
Labels
bug Something isn't working

Comments

@JosephSanjaya
Copy link

JosephSanjaya commented Dec 16, 2022

Describe the bug
Crashes happens when we access datastore preferences menu, it only showing white pages. Does it had relation with material3 implementation?

To Reproduce
Steps to reproduce the behavior:

  1. Implement Material3, and pluto
  2. Click on DataStore Preferences menu
  3. Crash occured and showing blank pages

Expected behavior
It should shown the datastore debug menu.

Screenshots
image

Smartphone (please complete the following information):

  • Device: Emulator and Windows Subsystem
  • OS: Android 13
  • Browser: Chrome
  • Library Version: 2.0.6

Additional context
Stack trace

EXCEPTION : 
java.lang.NoSuchMethodError: No static method Divider-oMI9zvI(Landroidx/compose/ui/Modifier;JFFLandroidx/compose/runtime/Composer;II)V in class Landroidx/compose/material3/DividerKt; or its super classes (declaration of 'androidx.compose.material3.DividerKt' appears in /data/app/~~WT1lt4pFbbsxQ0RLe_6jSQ==/com.awantunai.app-DWvJmNn8NEttl4xm6R_veQ==/base.apk)
	 at com.pluto.plugins.datastore.pref.internal.compose.MainComposableKt.MainComposable(MainComposable.kt:54)
	 at com.pluto.plugins.datastore.pref.internal.BaseFragment$onCreateView$1$1$1.invoke(BaseFragment.kt:46)
	 at com.pluto.plugins.datastore.pref.internal.BaseFragment$onCreateView$1$1$1.invoke(BaseFragment.kt:38)
	 at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	 at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	 at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:145)
	 at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2375)
	 at androidx.compose.runtime.ComposerImpl.skipToGroupEnd(Composer.kt:2666)
	 at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:250)
	 at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:249)
	 at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	 at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	 at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
	 at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:177)
	 at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:123)
	 at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:122)
	 at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	 at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	 at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
	 at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:114)
	 at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$4.invoke(null:8)
	 at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$4.invoke(null:10)
	 at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:145)
	 at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2375)
	 at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2643)
	 + 27 more lines



==================

Thread : MAIN (id : 2,  priority : Normal,  is_Daemon : false,  state : RUNNABLE)

==================

APP STATE : 
App Version : 4.17.2-alpha (216)
Android  (OS : 12, API_Level : 32)
Orientation : landscape
is_Rooted : false

==================

DEVICE INFO : 
Model : Windows Subsystem for Android(TM)
Screen : { height : 1080px, width : 1920px, density :  160, size :  14.0 inches }

-------------------------------------
report generated by Pluto (https://plutolib.com)
@JosephSanjaya JosephSanjaya added the bug Something isn't working label Dec 16, 2022
@srtvprateek
Copy link
Member

hey @JosephSanjaya,
can you share the code snippet on how you are integrating the plugin.

@rishabh-cred
Copy link

The divider used is from material3 package. Can you share the material package your app is using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants