java.lang.IllegalArgumentException: bitmap size exceeds 32 bits

Stack Overflow | Ozuf | 5 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

    How to fix this weird "IllegalArgumentException: bitmap size exceeds 32 bits"

    Stack Overflow | 5 months ago | Ozuf
    java.lang.IllegalArgumentException: bitmap size exceeds 32 bits
  2. 0

    Android get image path

    Stack Overflow | 2 years ago | zxc123qwe098qqq
    java.lang.IllegalArgumentException: Not a document: content://media/external/images/media/32257 at android.provider.DocumentsContract.getDocumentId(DocumentsContract.java:629) at com.example.murager.httpclientapp.classes.RealPathUtil.getRealPathFromURI_API19(RealPathUtil.java:19) at com.example.murager.httpclientapp.activities.MainActivity.onActivityResult(MainActivity.java:98) at android.app.Activity.dispatchActivityResult(Activity.java:5456) at android.app.ActivityThread.deliverResults(ActivityThread.java:3549)
  3. 0

    Annoying Keyboard bug, Fatal Exception: IllegalArgumentException parameter must be a descendant of this view

    Stack Overflow | 1 year ago | AndyRoid
    java.lang.IllegalArgumentException: parameter must be a descendant of this view
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Recycled Bitmap Method Stack

    GitHub | 4 years ago | Glurt
    java.lang.IllegalArgumentException: Cannot draw recycled bitmaps 06-22 16:44:57.261: W/System.err(25969): at android.view.GLES20Canvas.drawBitmap(GLES20Canvas.java:778) 06-22 16:44:57.261: W/System.err(25969): at android.view.GLES20RecordingCanvas.drawBitmap(GLES20RecordingCanvas.java:117) 06-22 16:44:57.269: W/System.err(25969): at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:393) 06-22 16:44:57.269: W/System.err(25969): at uk.co.senab.bitmapcache.CacheableBitmapDrawable.draw(CacheableBitmapDrawable.java:70) 06-22 16:44:57.269: W/System.err(25969): at android.widget.ImageView.onDraw(ImageView.java:979) 06-22 16:44:57.269: W/System.err(25969): at android.view.View.draw(View.java:13765) 06-22 16:44:57.269: W/System.err(25969): at android.view.View.getDisplayList(View.java:12716) 06-22 16:44:57.277: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.277: W/System.err(25969): at android.view.View.draw(View.java:13489) 06-22 16:44:57.277: W/System.err(25969): at android.view.ViewGroup.drawChild(ViewGroup.java:2938) 06-22 16:44:57.277: W/System.err(25969): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2808) 06-22 16:44:57.277: W/System.err(25969): at android.view.View.getDisplayList(View.java:12714) 06-22 16:44:57.277: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.284: W/System.err(25969): at android.view.View.draw(View.java:13489) 06-22 16:44:57.284: W/System.err(25969): at android.view.ViewGroup.drawChild(ViewGroup.java:2938) 06-22 16:44:57.284: W/System.err(25969): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2808) 06-22 16:44:57.284: W/System.err(25969): at android.view.View.getDisplayList(View.java:12714) 06-22 16:44:57.284: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.284: W/System.err(25969): at android.view.View.draw(View.java:13489) 06-22 16:44:57.292: W/System.err(25969): at android.view.ViewGroup.drawChild(ViewGroup.java:2938) 06-22 16:44:57.292: W/System.err(25969): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2808) 06-22 16:44:57.292: W/System.err(25969): at android.view.View.draw(View.java:13768) 06-22 16:44:57.292: W/System.err(25969): at android.support.v4.view.ViewPager.draw(ViewPager.java:2153) 06-22 16:44:57.292: W/System.err(25969): at android.view.View.getDisplayList(View.java:12716) 06-22 16:44:57.300: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.300: W/System.err(25969): at android.view.View.draw(View.java:13489) 06-22 16:44:57.300: W/System.err(25969): at android.view.ViewGroup.drawChild(ViewGroup.java:2938) 06-22 16:44:57.300: W/System.err(25969): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2808) 06-22 16:44:57.300: W/System.err(25969): at android.view.View.getDisplayList(View.java:12714) 06-22 16:44:57.300: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.308: W/System.err(25969): at android.view.View.draw(View.java:13489) 06-22 16:44:57.308: W/System.err(25969): at android.view.ViewGroup.drawChild(ViewGroup.java:2938) 06-22 16:44:57.308: W/System.err(25969): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2808) 06-22 16:44:57.308: W/System.err(25969): at android.view.View.draw(View.java:13768) 06-22 16:44:57.308: W/System.err(25969): at android.widget.FrameLayout.draw(FrameLayout.java:467) 06-22 16:44:57.316: W/System.err(25969): at android.view.View.getDisplayList(View.java:12716) 06-22 16:44:57.316: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.323: W/System.err(25969): at android.view.View.draw(View.java:13489) 06-22 16:44:57.323: W/System.err(25969): at android.view.ViewGroup.drawChild(ViewGroup.java:2938) 06-22 16:44:57.323: W/System.err(25969): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2808) 06-22 16:44:57.323: W/System.err(25969): at android.view.View.getDisplayList(View.java:12714) 06-22 16:44:57.323: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.331: W/System.err(25969): at android.view.View.draw(View.java:13489) 06-22 16:44:57.331: W/System.err(25969): at android.view.ViewGroup.drawChild(ViewGroup.java:2938) 06-22 16:44:57.331: W/System.err(25969): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2808) 06-22 16:44:57.331: W/System.err(25969): at android.view.View.draw(View.java:13768) 06-22 16:44:57.331: W/System.err(25969): at android.widget.FrameLayout.draw(FrameLayout.java:467) 06-22 16:44:57.331: W/System.err(25969): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2394) 06-22 16:44:57.339: W/System.err(25969): at android.view.View.getDisplayList(View.java:12716) 06-22 16:44:57.339: W/System.err(25969): at android.view.View.getDisplayList(View.java:12760) 06-22 16:44:57.339: W/System.err(25969): at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1144) 06-22 16:44:57.339: W/System.err(25969): at android.view.ViewRootImpl.draw(ViewRootImpl.java:2265) 06-22 16:44:57.339: W/System.err(25969): at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2137) 06-22 16:44:57.339: W/System.err(25969): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1948) 06-22 16:44:57.347: W/System.err(25969): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1105) 06-22 16:44:57.347: W/System.err(25969): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4462) 06-22 16:44:57.347: W/System.err(25969): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725) 06-22 16:44:57.347: W/System.err(25969): at android.view.Choreographer.doCallbacks(Choreographer.java:555) 06-22 16:44:57.347: W/System.err(25969): at android.view.Choreographer.doFrame(Choreographer.java:525) 06-22 16:44:57.347: W/System.err(25969): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711) 06-22 16:44:57.347: W/System.err(25969): at android.os.Handler.handleCallback(Handler.java:615)
  6. 0

    Test

    GitHub | 2 years ago | door43app
    java.lang.IllegalArgumentException: View not attached to window manager

  1. 0x60 2 times, last 5 months ago
  2. mukky 4 times, last 7 months ago
  3. jk 1 times, last 8 months ago
  4. brunosatriani 9 times, last 8 months ago
  5. Riyaz 2 times, last 8 months ago
4 more registered users
18 unregistered visitors
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. java.lang.IllegalArgumentException

    bitmap size exceeds 32 bits

    at android.graphics.Bitmap.nativeCreate()
  2. Android Platform
    ActivityThread.main
    1. android.graphics.Bitmap.nativeCreate(Native Method)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:908)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:879)
    4. android.graphics.Bitmap.createBitmap(Bitmap.java:846)
    5. android.graphics.drawable.RippleDrawable.updateMaskShaderIfNeeded(RippleDrawable.java:691)
    6. android.graphics.drawable.RippleDrawable.drawBackgroundAndRipples(RippleDrawable.java:803)
    7. android.graphics.drawable.RippleDrawable.draw(RippleDrawable.java:641)
    8. android.view.View.getDrawableRenderNode(View.java:15867)
    9. android.view.View.drawBackground(View.java:15816)
    10. android.view.View.draw(View.java:15626)
    11. android.view.View.updateDisplayListIfDirty(View.java:14568)
    12. android.view.View.getDisplayList(View.java:14590)
    13. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3588)
    14. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3567)
    15. android.view.View.updateDisplayListIfDirty(View.java:14528)
    16. android.view.View.getDisplayList(View.java:14590)
    17. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3588)
    18. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3567)
    19. android.view.View.updateDisplayListIfDirty(View.java:14528)
    20. android.view.View.getDisplayList(View.java:14590)
    21. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3588)
    22. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3567)
    23. android.view.View.updateDisplayListIfDirty(View.java:14528)
    24. android.view.View.getDisplayList(View.java:14590)
    25. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3588)
    26. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3567)
    27. android.view.View.updateDisplayListIfDirty(View.java:14528)
    28. android.view.View.getDisplayList(View.java:14590)
    29. android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:273)
    30. android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:279)
    31. android.view.ThreadedRenderer.draw(ThreadedRenderer.java:318)
    32. android.view.ViewRootImpl.draw(ViewRootImpl.java:2575)
    33. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2385)
    34. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2012)
    35. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1073)
    36. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5988)
    37. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    38. android.view.Choreographer.doCallbacks(Choreographer.java:580)
    39. android.view.Choreographer.doFrame(Choreographer.java:550)
    40. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    41. android.os.Handler.handleCallback(Handler.java:739)
    42. android.os.Handler.dispatchMessage(Handler.java:95)
    43. android.os.Looper.loop(Looper.java:135)
    44. android.app.ActivityThread.main(ActivityThread.java:5910)
    44 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
    2 frames