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

IllegalArgumentException in BaseWidget.getBitmapFromView #966

Closed
2 tasks done
iSoron opened this issue Jun 5, 2021 · 1 comment
Closed
2 tasks done

IllegalArgumentException in BaseWidget.getBitmapFromView #966

iSoron opened this issue Jun 5, 2021 · 1 comment
Labels
bug Something is not behaving as the developers expected cant-reproduce The developers cannot replicate the issue on their own devices high-severity
Milestone

Comments

@iSoron
Copy link
Owner

iSoron commented Jun 5, 2021

Pre-submission checklist

  • I am submitting a bug report, not a feature request.
  • I have searched for similar issues, but did not find any matches.

Description

From Google Play Console:

java.lang.IllegalArgumentException: 
  at android.graphics.Bitmap.createBitmap (Bitmap.java:1060)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:1027)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:977)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:938)
  at org.isoron.uhabits.widgets.BaseWidget.getBitmapFromView (BaseWidget.kt:108)
  at org.isoron.uhabits.widgets.BaseWidget.buildRemoteViews (BaseWidget.kt:86)
  at org.isoron.uhabits.widgets.BaseWidget.getRemoteViews (BaseWidget.kt:120)
  at org.isoron.uhabits.widgets.BaseWidget.getLandscapeRemoteViews (BaseWidget.kt:48)
  at org.isoron.uhabits.widgets.StackRemoteViewsFactory.onDataSetChanged (StackRemoteViewsFactory.kt:145)
  at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.onDataSetChanged (RemoteViewsService.java:142)
  at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact (IRemoteViewsFactory.java:50)
  at android.os.Binder.execTransact (Binder.java:735)

Steps to reproduce

Unknown

System information

  • Phone: Multiple (Xiaomi, OnePlus, Motorola)
  • Phone Operating System: Multiple (Android 9, 10, 11)
  • App version: 2.0.2
@iSoron iSoron added bug Something is not behaving as the developers expected cant-reproduce The developers cannot replicate the issue on their own devices high-severity labels Jun 5, 2021
@iSoron iSoron added this to the Loop 2.0.3 milestone Jun 5, 2021
iSoron added a commit that referenced this issue Jul 31, 2021
@iSoron
Copy link
Owner Author

iSoron commented Jul 31, 2021

Fixed in hotfix/2.0.3

@iSoron iSoron closed this as completed Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not behaving as the developers expected cant-reproduce The developers cannot replicate the issue on their own devices high-severity
Projects
None yet
Development

No branches or pull requests

1 participant