android.view.WindowLeaked: Activity com.wordpress.priyankvex.easyocrscannerdemo.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{a00872a V.E...... R......D 0,0-1002,348} that was originally added here

GitHub | AbodAndroid | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hello please help me in this error when progress dialog appear app crashed

    GitHub | 7 months ago | AbodAndroid
    android.view.WindowLeaked: Activity com.wordpress.priyankvex.easyocrscannerdemo.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{a00872a V.E...... R......D 0,0-1002,348} that was originally added here
  2. 0

    GitHub comment 1#241363618

    GitHub | 7 months ago | akki10
    android.view.WindowLeaked: Activity com.wordpress.priyankvex.easyocrscannerdemo.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{7e5d8de V.E...... R......D 0,0-1026,348} that was originally added here
  3. 0

    GitHub comment 1#226866971

    GitHub | 9 months ago | eSigTech
    android.view.WindowLeaked: Activity com.wordpress.priyankvex.easyocrscannerdemo.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{41f8c370 V.E..... R......D 0,0-304,96} that was originally added here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash when returning result from image

    GitHub | 11 months ago | jgadsby
    android.view.WindowLeaked: Activity com.wordpress.priyankvex.easyocrscannerdemo.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{285963da V.E..... R......D 0,0-1368,464} that was originally added here
  6. 0

    Call Async task from start of activity in android

    Stack Overflow | 7 months ago | Sanjeewa
    android.view.WindowLeaked: Activity softlogic.computers.softlogicsalesreward.DashboardActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{5329b90 V.E...... R......D 0,0-1002,348} that was originally added here
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.view.WindowLeaked

    Activity com.wordpress.priyankvex.easyocrscannerdemo.MainActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{a00872a V.E...... R......D 0,0-1002,348} that was originally added here

    at android.view.ViewRootImpl.<init>()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.<init>(ViewRootImpl.java:603)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:326)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:109)
    4. android.app.Dialog.show(Dialog.java:505)
    4 frames
  3. com.wordpress.priyankvex
    ImageProcessingThread.onPreExecute
    1. com.wordpress.priyankvex.easyocrscannerdemo.MainActivity.onOcrScanStarted(MainActivity.java:59)
    2. com.wordpress.priyankvex.easyocrscannerdemo.ImageProcessingThread.onPreExecute(ImageProcessingThread.java:51)
    2 frames
  4. Android Platform
    AsyncTask.execute
    1. android.os.AsyncTask.executeOnExecutor(AsyncTask.java:604)
    2. android.os.AsyncTask.execute(AsyncTask.java:551)
    2 frames
  5. com.wordpress.priyankvex
    MainActivity.onActivityResult
    1. com.wordpress.priyankvex.easyocrscannerdemo.EasyOcrScanner.onImageTaken(EasyOcrScanner.java:44)
    2. com.wordpress.priyankvex.easyocrscannerdemo.MainActivity.onActivityResult(MainActivity.java:46)
    2 frames
  6. Android Platform
    ActivityThread.main
    1. android.app.Activity.dispatchActivityResult(Activity.java:7165)
    2. android.app.ActivityThread.deliverResults(ActivityThread.java:4994)
    3. android.app.ActivityThread.handleSendResult(ActivityThread.java:5041)
    4. android.app.ActivityThread.access$1600(ActivityThread.java:229)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1875)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:148)
    8. android.app.ActivityThread.main(ActivityThread.java:7325)
    8 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames