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

Replace Stetho with Flipper #11615

Open
maxme opened this issue Apr 8, 2020 · 0 comments
Open

Replace Stetho with Flipper #11615

maxme opened this issue Apr 8, 2020 · 0 comments

Comments

@maxme
Copy link
Contributor

maxme commented Apr 8, 2020

Stetho is not deprecated yet, but could be soon: https://github.com/facebook/flipper/blob/master/docs/stetho.md

Flipper offers better debugging tools and integration seems as easy as Stetho. There is a random crash happening regularly when Stetho is attached to Chrome which is very annoying when you test the app.

Note: we should do this in FluxC as well.

  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.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:739)

An issue has been open for a long time: facebook/stetho#652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant