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

random crash #37

Closed
triasbrata opened this issue Jul 9, 2016 · 2 comments
Closed

random crash #37

triasbrata opened this issue Jul 9, 2016 · 2 comments

Comments

@triasbrata
Copy link

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference at android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1281) at android.graphics.Canvas.drawBitmap(Canvas.java:1337) at com.gigamole.navigationtabbar.ntb.NavigationTabBar.onDraw(NavigationTabBar.java:1091)

I do not understand why the random error could happen when I use the Fragment on ViewPager. and I use Bitmap that I have downloaded the library ImageRequest of Volley then converted to a Drawable, sometimes can sometimes error as above, even when I replace the existing image on fixed Drawable error sometimes occurs and sometimes succeed

@GIGAMOLE
Copy link
Member

GIGAMOLE commented Jul 9, 2016

Hello. Thanks for bug report. This crash cause of low memory. Try to optimize your app cause my NTB need much resource to draw it. In new update i wiil try fix up, where it could get this crash. Thanks.

@GIGAMOLE
Copy link
Member

GIGAMOLE commented Jul 9, 2016

Update 1.2.4 is on the rails. Thanks.

@GIGAMOLE GIGAMOLE closed this as completed Jul 9, 2016
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

2 participants