SimpleCropView icon indicating copy to clipboard operation
SimpleCropView copied to clipboard

Loading Uri to CropImageView throws Exception

Open akinsete opened this issue 6 years ago • 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() {
        }
});

akinsete avatar Dec 29 '17 05:12 akinsete

Me too, Did you got a solution ??

waelalameen avatar Jan 21 '18 17:01 waelalameen

Me too, Did you got a solution ??

TopTime1 avatar Feb 26 '18 10:02 TopTime1

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

https://github.com/igreenwood/SimpleCropView/issues/68#issuecomment-228911888

VivekThummar52 avatar Nov 02 '20 14:11 VivekThummar52