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

Crash after adding image inside app #1652

Closed
MaSHiNiK opened this issue Feb 7, 2025 · 4 comments
Closed

Crash after adding image inside app #1652

MaSHiNiK opened this issue Feb 7, 2025 · 4 comments

Comments

@MaSHiNiK
Copy link

MaSHiNiK commented Feb 7, 2025

[Bug] App Crash: NullPointerException

Description: It happens every time you try to add an image inside the app. But if you send the image through the share menu, everything works fine.

Device: AGS2-L09 (HUAWEI - HWAGS2), SDK: 26 (8.0.0), App: 3.1.2 (163)

Error message java.lang.NullPointerException: Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4053) at android.view.View.draw(View.java:19317) at com.android.internal.policy.DecorView.draw(DecorView.java:915) at android.view.View.updateDisplayListIfDirty(View.java:18250) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:684) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:690) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:804) at android.view.ViewRootImpl.draw(ViewRootImpl.java:3206) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3004) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2533) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1522) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7292) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:981) at android.view.Choreographer.doCallbacks(Choreographer.java:790) at android.view.Choreographer.doFrame(Choreographer.java:721) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:967) at android.os.Handler.handleCallback(Handler.java:808) at android.os.Handler.dispatchMessage(Handler.java:101) at android.os.Looper.loop(Looper.java:166) at android.app.ActivityThread.main(ActivityThread.java:7529) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
@T8RIN
Copy link
Owner

T8RIN commented Feb 7, 2025

Try the last beta version, maybe it helps

@JiangLongLiu
Copy link

JiangLongLiu commented Feb 8, 2025

I had a similar problem when I installed Image Toolbox: selecting images in other apps and flashing back. Normal after uninstalling the ImageToolbox.

Other apps such as long press the home button to select a picture in Google Gemini, or in inventory Select a picture. But the strange thing is that I chose images when I chose image search in the Taobao app, and it did not cause the Taobao app to crash.Screenshot_2025-02-08-19-38-14-394_com.mi.android.globallauncher-edit.jpg

@T8RIN
Copy link
Owner

T8RIN commented Feb 8, 2025

Interesting, reproductive on latest rc?

@T8RIN
Copy link
Owner

T8RIN commented Feb 9, 2025

can't reproduce in emulator

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

3 participants