Pkmmte / CircularImageView

Custom view for circular images in Android while maintaining the best draw performance
MIT License
1.18k stars 231 forks source link

Error while replacing with new image #54

Open prataplalit90 opened 8 years ago

prataplalit90 commented 8 years ago

java.lang.NullPointerException at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:597) at com.pkmmte.view.CircularImageView.refreshBitmapShader(CircularImageView.java:341) at com.pkmmte.view.CircularImageView.invalidate(CircularImageView.java:262) at android.widget.ImageView.setImageDrawable(ImageView.java:426) at com.squareup.picasso.PicassoDrawable.setPlaceholder(PicassoDrawable.java:61) at com.squareup.picasso.RequestCreator.into(RequestCreator.java:664) at com.squareup.picasso.RequestCreator.into(RequestCreator.java:601) at com.king.s2m.ui.activityUtil.OwnProfileController.showUserProfileData(OwnProfileController.java:115) at com.king.s2m.ui.activityUtil.OwnProfileController$2.success(OwnProfileController.java:344) at com.king.s2m.api.Callback.success(Callback.java:14) at retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45) at android.os.Handler.handleCallback(Handler.java:808) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loop(Looper.java:193)