java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=65536, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/1422 (has extras) }} to activity {test.tcc/test.tcc.Activities.NewEstablishmentActivity}: java.lang.IllegalArgumentException: width and height must be > 0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web47422

  • Failure delivering result ResultInfo{who=null, request=65536, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/1422 (has extras) }} to activity {test.tcc/test.tcc.Activities.NewEstablishmentActivity}: java.lang.IllegalArgumentException: width and height must be > 0
  • Failure delivering result ResultInfo{who=null, request=1888, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/6658 (has extras) }} to activity {com.example.imageoverotherimage/com.example.imageoverotherimage.MainActivity}: java.lang.IllegalArgumentException: width and height must be > 0
  • Failure delivering result ResultInfo{who=null, request=3, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/286844 (has extras) }} to activity {com.mayur.demo/com.mayur.demo.ActivityRegistration}: java.lang.IllegalArgumentException: width and height must be > 0
  • Stack trace

    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65536, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/1422 (has extras) }} to activity {test.tcc/test.tcc.Activities.NewEstablishmentActivity}: java.lang.IllegalArgumentException: width and height must be > 0 at android.app.ActivityThread.deliverResults(ActivityThread.java:3977) at android.app.ActivityThread.handleSendResult(ActivityThread.java:4020) at android.app.ActivityThread.access$1400(ActivityThread.java:172) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5835) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) Caused by: java.lang.IllegalArgumentException: width and height must be > 0 at android.graphics.Bitmap.createBitmap(Bitmap.java:933) at android.graphics.Bitmap.createBitmap(Bitmap.java:912) at android.graphics.Bitmap.createBitmap(Bitmap.java:879) at test.tcc.Model.ImageCompression.compressImage(ImageCompression.java:92) at test.tcc.Fragments.NewEstablishment.FragmentNewEstablishment3.onActivityResult(FragmentNewEstablishment3.java:249) at android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:165) at android.app.Activity.dispatchActivityResult(Activity.java:6475) at android.app.ActivityThread.deliverResults(ActivityThread.java:3973) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 5 months ago
    4 times, 10 months ago
    22 times, 11 months ago
    Unknown user
    Once, 1 year ago
    2 times, 1 year ago
    12 more bugmates