igreenwood/SimpleCropView

Loading Uri to CropImageView throws Exception

akinsete opened this issue · 3 comments

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()'

 cropImageView.load(Uri.parse(sourceUri)).execute(new LoadCallback() {
        @Override
        public void onError(Throwable e) {
            Log.e("::xxx::",e.toString());
            e.printStackTrace();
        }

        @Override
        public void onSuccess() {
        }
});

Me too, Did you got a solution ??

Me too, Did you got a solution ??

Have a look at this answer, it also worked for me:

#68 (comment)