You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing #5154 I have noticed crash on Android 5.1 device only when trying to Configure project with QR. This issue occurs both on master and #5154 on store version everything works fine.
It's a little bit strange issue, because yesterday I scanned qr codes multiple times both on master and #5154 branch and everything works well. The second possible crash is after clicking on the Get Blank form.
Issues does not occurs on all other devices.
Steps to reproduce the problem with QR code
Install ODK application;
Click on the "Configure with QR code" button;
Scan any valid QR code.
Steps to reproduce the problem with Get Blank Form
Install ODK application;
Click on the "Try a demo" button;
Click on the "Get Blank Form" button;
Connecting to server dialog will show and after few seconds the application will crash or user will be redirected to the Main menu.
Expected behavior
Collect should not crash or redirect user to the main menu.
Other information
When trying to import QR code from drive nothing happens and QR code is not imported.
Logs from Android studio:
--------- beginning of crash
2022-07-07 14:16:14.461 14893-14893/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.odk.collect.android, PID: 14893
java.lang.NoClassDefFoundError: j$.util.function.Supplier$Wrapper
at org.apache.commons.io.IOUtils$$ExternalSyntheticAPIConversion0.m(R8$$SyntheticClass)
at org.apache.commons.io.IOUtils.(IOUtils.java:183)
at org.apache.commons.io.output.AbstractByteArrayOutputStream.needNewBuffer(AbstractByteArrayOutputStream.java:104)
at org.apache.commons.io.output.ByteArrayOutputStream.(ByteArrayOutputStream.java:50)
at org.odk.collect.android.utilities.CompressionUtils.decompress(CompressionUtils.java:80)
at org.odk.collect.android.projects.QrCodeProjectCreatorDialog.startScanning$lambda-4(QrCodeProjectCreatorDialog.kt:242)
at org.odk.collect.android.projects.QrCodeProjectCreatorDialog.$r8$lambda$ByUYamdCK4t6CK6Mnx3PLcICPnE(QrCodeProjectCreatorDialog.kt)
at org.odk.collect.android.projects.QrCodeProjectCreatorDialog$$ExternalSyntheticLambda4.onChanged(R8$$SyntheticClass)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:151)
at androidx.lifecycle.LiveData.setValue(LiveData.java:309)
at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50)
at org.odk.collect.android.views.BarcodeViewDecoder$1.barcodeResult(BarcodeViewDecoder.java:21)
at com.journeyapps.barcodescanner.DecoratedBarcodeView$WrappedCallback.barcodeResult(DecoratedBarcodeView.java:50)
at com.journeyapps.barcodescanner.BarcodeView$1.handleMessage(BarcodeView.java:52)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5298)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:911)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:706)
The text was updated successfully, but these errors were encountered:
srujner
changed the title
Collect crashes when trying to Configure project with QR code on Android 5.1.
Collect crashes when trying to Configure project with QR code or Entering Get Blank Form on Android 5.1.
Jul 8, 2022
Software and hardware versions
Collect v current master Android v 5.1,
Problem description
When testing #5154 I have noticed crash on Android 5.1 device only when trying to Configure project with QR. This issue occurs both on master and #5154 on store version everything works fine.
It's a little bit strange issue, because yesterday I scanned qr codes multiple times both on master and #5154 branch and everything works well. The second possible crash is after clicking on the Get Blank form.
Issues does not occurs on all other devices.
Steps to reproduce the problem with QR code
Steps to reproduce the problem with Get Blank Form
Expected behavior
Collect should not crash or redirect user to the main menu.
Other information
When trying to import QR code from drive nothing happens and QR code is not imported.
Logs from Android studio:
--------- beginning of crash
2022-07-07 14:16:14.461 14893-14893/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.odk.collect.android, PID: 14893
java.lang.NoClassDefFoundError: j$.util.function.Supplier$Wrapper
at org.apache.commons.io.IOUtils$$ExternalSyntheticAPIConversion0.m(R8$$SyntheticClass)
at org.apache.commons.io.IOUtils.(IOUtils.java:183)
at org.apache.commons.io.output.AbstractByteArrayOutputStream.needNewBuffer(AbstractByteArrayOutputStream.java:104)
at org.apache.commons.io.output.ByteArrayOutputStream.(ByteArrayOutputStream.java:50)
at org.odk.collect.android.utilities.CompressionUtils.decompress(CompressionUtils.java:80)
at org.odk.collect.android.projects.QrCodeProjectCreatorDialog.startScanning$lambda-4(QrCodeProjectCreatorDialog.kt:242)
at org.odk.collect.android.projects.QrCodeProjectCreatorDialog.$r8$lambda$ByUYamdCK4t6CK6Mnx3PLcICPnE(QrCodeProjectCreatorDialog.kt)
at org.odk.collect.android.projects.QrCodeProjectCreatorDialog$$ExternalSyntheticLambda4.onChanged(R8$$SyntheticClass)
at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:151)
at androidx.lifecycle.LiveData.setValue(LiveData.java:309)
at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:50)
at org.odk.collect.android.views.BarcodeViewDecoder$1.barcodeResult(BarcodeViewDecoder.java:21)
at com.journeyapps.barcodescanner.DecoratedBarcodeView$WrappedCallback.barcodeResult(DecoratedBarcodeView.java:50)
at com.journeyapps.barcodescanner.BarcodeView$1.handleMessage(BarcodeView.java:52)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5298)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:911)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:706)
The text was updated successfully, but these errors were encountered: