Coder Social home page Coder Social logo

Comments (4)

BlackDizel avatar BlackDizel commented on May 20, 2024

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.

osamamohsen avatar osamamohsen commented on May 20, 2024

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.

DeepakPanchariya avatar DeepakPanchariya commented on May 20, 2024

cropView.setImageUri(imageUri)
setImageUri first and then run the code it will work

from cropiwa.

FelipeGAlmeida avatar FelipeGAlmeida commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.