-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
App crashes during work #652
Comments
I'm getting the same error while using Stetho 1.5.1.
|
I'm getting the same error ( Stetho version 1.5.1)
|
I get this issue often. Usually it happens when I have the stetho window open and a bloated fragment transaction happens
|
problem error |
Any update on this issue?
|
9th of April is the timestamp of the first message in the thread. It is half of the year already. What is the ETA of accepting the PR that plumbs the issue? At least comment if you don't agree with the solution. |
Could some contributor please help us with the issue? There are several pull request related to this null pointer exception crash. Or is this library unmaintained or deprecated? @mathroule @jasta |
Here's the fix:
and add jitpack to your repositories:
|
Hello, i'm trying to use the library and my browser shows me a list of my requests, but when i hide some fragments my app crashes.
My app takes the following steps. Open Activity and Fragment -> Open DialogFragment + send request -> Open nested DialogFragment(into childFragmentManager) -> Close nested DialogFragment -> Close DialogFragment(back to Activity) and i get an error message.
I'm trying to figure out why this doesn't work, but I don't know why one of the children of ElementInfo is null. And I see the same problem in the past, sorry if there is a solution, but I cannot find it.
java.lang.NullPointerException: Attempt to read from field 'java.lang.Object com.facebook.stetho.inspector.elements.ElementInfo.parentElement' on a null object reference at com.facebook.stetho.inspector.elements.ShadowDocument$Update.removeGarbageSubTree(ShadowDocument.java:378) at com.facebook.stetho.inspector.elements.ShadowDocument$Update.removeGarbageSubTree(ShadowDocument.java:386) at com.facebook.stetho.inspector.elements.ShadowDocument$Update.removeGarbageSubTree(ShadowDocument.java:386) at com.facebook.stetho.inspector.elements.ShadowDocument$Update.removeGarbageSubTree(ShadowDocument.java:386) at com.facebook.stetho.inspector.elements.ShadowDocument$Update.commit(ShadowDocument.java:360) at com.facebook.stetho.inspector.elements.Document.applyDocumentUpdate(Document.java:494) at com.facebook.stetho.inspector.elements.Document.updateTree(Document.java:346) at com.facebook.stetho.inspector.elements.Document.access$1200(Document.java:31) at com.facebook.stetho.inspector.elements.Document$ProviderListener.onPossiblyChanged(Document.java:720) at com.facebook.stetho.inspector.elements.android.AndroidDocumentProvider$1.run(AndroidDocumentProvider.java:71) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6119) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
The text was updated successfully, but these errors were encountered: