Comments (4)
same crash. cropiwa settings
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
app:ci_aspect_ratio_h="4"
app:ci_aspect_ratio_w="3"
app:ci_border_color="@color/colorAccentGreen"
app:ci_border_width="4dp"
app:ci_crop_scale="0.85"
app:ci_crop_shape="rectangle"
app:ci_draw_grid="false"
app:ci_dynamic_aspect_ratio="false"
app:ci_scale_enabled="true"
app:ci_translation_enabled="true"
reproducing by swipe image out of crop rectangle and press crop button by other finger at same time
from cropiwa.
3274-4121 E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
Process: grand.app.moonshop, PID: 3274
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:309)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
from cropiwa.
cropView.setImageUri(imageUri)
setImageUri first and then run the code it will work
from cropiwa.
I run into the same issue.
Also reproducing by swiping image out of crop circle and press crop button by other finger at same time.
Any updates about this?
from cropiwa.
Related Issues (20)
- How to set background color of CropIwaView?
- Build tool version and dependency support library HOT 1
- crop size more than screen width
- crash when the image not positioned on overlay HOT 2
- How to get x and y position of grid? HOT 1
- How to use this library for camera HOT 1
- setsize height and width for output not working
- Set Crop View position
- Warning: CropIwaOvalShape: can't find referenced method 'int save(int)'
- Get Black sreen after I save image and dispay on content Page in xamarin.
- How to make crop shape without margin HOT 1
- reset zoom level while loading multiple images in same cropview
- When attempting to run sample, following error occurs. HOT 1
- Custom touch listener | Ability to add custom gestures
- Crash when the Uri has "content://" scheme
- Center the crop window in the frame
- After cropping croppedUri gives original image not cropped how to fix that?
- How to set image set ScaleType ? HOT 1
- An error occured while executing doInBackground()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cropiwa.