-
Notifications
You must be signed in to change notification settings - Fork 88
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
getwidth() null pointer exception #5
Comments
I also get Caused by java.lang.NullPointerException But only on a real device. The code works fine in the emulator. |
While adding the bitMap into imageView please use the below method : //Download image frorm url and make it blurry. |
I get it too.. Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference and this fix doesn't work. |
Getting image from API and set as background ...
Caused by java.lang.NullPointerException
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
arrow_right
com.vansuita.gaussianblur.GaussianBlur.scaleDown (GaussianBlur.java:101)
The text was updated successfully, but these errors were encountered: