-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting ArithmeticException: divide by zero #10
Comments
Hello @sudheeshmohan47, i will check it |
Thanks. |
I'm also facing the same issue. |
Getting same issue. |
Getting same issue. Please check. |
@brijhub @cognesoltech @kumarbhubnesh sorry for my very late response. |
A new version of the library has just been release, please check it out. |
Newer version has same issue, this is happening on Android 4.4.4 and on some android devices when random image is uploaded. Caused by java.lang.ArithmeticException: divide by zero |
Same problem. I am testing it on oreo 8.0 device |
Still same problem after 2 months. i mistakenly came to this library again |
Try running compression code using AsyncTask dude |
Hi I'm getting java.lang.ArithmeticException: divide by zero while compressing image on Android 4.4.2, but works on other Android versions.
Unable to decode stream: java.io.FileNotFoundException: /storage/sdcard0/Pictures/Screenshots/Screenshot_2017-05-28-13-01-55.png: open failed: ENOENT (No such file or directory)
java.lang.ArithmeticException: divide by zero
at com.iceteck.silicompressorr.SiliCompressor.compressImage(SiliCompressor.java:191)
at com.iceteck.silicompressorr.SiliCompressor.getCompressBitmap(SiliCompressor.java:151)
at com.xxxxx.Activities.EditImageActivity.setupImage(EditImageActivity.java:150)
at com.xxxxx.Activities.EditImageActivity.onCreate(EditImageActivity.java:88)
at android.app.Activity.performCreate(Activity.java:5238)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered: