2.18.1.0 (f-droid.org) crash when trying to scan qr-code (Android 5) #255

Closed
opened 3 months ago by kjh · 3 comments
kjh commented 3 months ago

When trying to scan new certificate,shortly after camera preview appears, the app just closes.
Had to go back to older release.
Samsung Galaxy J3, Android 5
Since it says on f-droid.org Android 5 or higher, this should not happen....?

When trying to scan new certificate,shortly after camera preview appears, the app just closes. Had to go back to older release. Samsung Galaxy J3, Android 5 Since it says on f-droid.org Android 5 or higher, this should not happen....?
kjh closed this issue 3 months ago
kjh reopened this issue 3 months ago
fynngodau added the
lollipop
label 3 months ago
Owner

Thanks, I'll investigate.

Thanks, I'll investigate.
Owner

Exception:

E/pool-4-thread-2( 2876): java.lang.NoClassDefFoundError: boofcv.alg.filter.binary.ThresholdBlock_MT$$ExternalSyntheticLambda0
E/pool-4-thread-2( 2876):       at boofcv.alg.filter.binary.ThresholdBlock_MT.computeStatistics(ThresholdBlock_MT.java:54)
E/pool-4-thread-2( 2876):       at boofcv.alg.filter.binary.ThresholdBlock.process(ThresholdBlock.java:106)
E/pool-4-thread-2( 2876):       at boofcv.alg.filter.binary.ThresholdBlock.process(ThresholdBlock.java:46)
E/pool-4-thread-2( 2876):       at boofcv.abst.filter.binary.InputToBinarySwitch.process(InputToBinarySwitch.java:55)
E/pool-4-thread-2( 2876):       at boofcv.abst.filter.binary.InputToBinarySwitch.process(InputToBinarySwitch.java:33)
E/pool-4-thread-2( 2876):       at boofcv.abst.fiducial.QrCodePreciseDetector.process(QrCodePreciseDetector.java:68)
E/pool-4-thread-2( 2876):       at de.rki.coronawarnapp.qrcode.parser.QrCodeBoofCVParser.parse(QrCodeBoofCVParser.kt:49)
E/pool-4-thread-2( 2876):       at de.rki.coronawarnapp.qrcode.parser.QrCodeBoofCVParser.parseQrCode(QrCodeBoofCVParser.kt:33)
E/pool-4-thread-2( 2876):       at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView.handleImage(QrCodeScannerPreviewView.kt:149)
E/pool-4-thread-2( 2876):       at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView.bindUseCases$lambda-3$lambda-2(QrCodeScannerPreviewView.kt:132)
E/pool-4-thread-2( 2876):       at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView.$r8$lambda$BOHBTZEf9qDIEnoRRsmNzFd9aes(QrCodeScannerPreviewView.kt)
E/pool-4-thread-2( 2876):       at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView$$ExternalSyntheticLambda0.analyze(Unknown Source)
E/pool-4-thread-2( 2876):       at androidx.camera.core.ImageAnalysis.lambda$setAnalyzer$2(ImageAnalysis.java:463)
E/pool-4-thread-2( 2876):       at androidx.camera.core.ImageAnalysis$$ExternalSyntheticLambda0.analyze(Unknown Source)
E/pool-4-thread-2( 2876):       at androidx.camera.core.ImageAnalysisAbstractAnalyzer.lambda$analyzeImage$0$ImageAnalysisAbstractAnalyzer(ImageAnalysisAbstractAnalyzer.java:283)
E/pool-4-thread-2( 2876):       at androidx.camera.core.ImageAnalysisAbstractAnalyzer$$ExternalSyntheticLambda1.run(Unknown Source)
E/pool-4-thread-2( 2876):       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/pool-4-thread-2( 2876):       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/pool-4-thread-2( 2876):       at java.lang.Thread.run(Thread.java:818)
Exception: ``` E/pool-4-thread-2( 2876): java.lang.NoClassDefFoundError: boofcv.alg.filter.binary.ThresholdBlock_MT$$ExternalSyntheticLambda0 E/pool-4-thread-2( 2876): at boofcv.alg.filter.binary.ThresholdBlock_MT.computeStatistics(ThresholdBlock_MT.java:54) E/pool-4-thread-2( 2876): at boofcv.alg.filter.binary.ThresholdBlock.process(ThresholdBlock.java:106) E/pool-4-thread-2( 2876): at boofcv.alg.filter.binary.ThresholdBlock.process(ThresholdBlock.java:46) E/pool-4-thread-2( 2876): at boofcv.abst.filter.binary.InputToBinarySwitch.process(InputToBinarySwitch.java:55) E/pool-4-thread-2( 2876): at boofcv.abst.filter.binary.InputToBinarySwitch.process(InputToBinarySwitch.java:33) E/pool-4-thread-2( 2876): at boofcv.abst.fiducial.QrCodePreciseDetector.process(QrCodePreciseDetector.java:68) E/pool-4-thread-2( 2876): at de.rki.coronawarnapp.qrcode.parser.QrCodeBoofCVParser.parse(QrCodeBoofCVParser.kt:49) E/pool-4-thread-2( 2876): at de.rki.coronawarnapp.qrcode.parser.QrCodeBoofCVParser.parseQrCode(QrCodeBoofCVParser.kt:33) E/pool-4-thread-2( 2876): at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView.handleImage(QrCodeScannerPreviewView.kt:149) E/pool-4-thread-2( 2876): at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView.bindUseCases$lambda-3$lambda-2(QrCodeScannerPreviewView.kt:132) E/pool-4-thread-2( 2876): at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView.$r8$lambda$BOHBTZEf9qDIEnoRRsmNzFd9aes(QrCodeScannerPreviewView.kt) E/pool-4-thread-2( 2876): at de.rki.coronawarnapp.qrcode.ui.QrCodeScannerPreviewView$$ExternalSyntheticLambda0.analyze(Unknown Source) E/pool-4-thread-2( 2876): at androidx.camera.core.ImageAnalysis.lambda$setAnalyzer$2(ImageAnalysis.java:463) E/pool-4-thread-2( 2876): at androidx.camera.core.ImageAnalysis$$ExternalSyntheticLambda0.analyze(Unknown Source) E/pool-4-thread-2( 2876): at androidx.camera.core.ImageAnalysisAbstractAnalyzer.lambda$analyzeImage$0$ImageAnalysisAbstractAnalyzer(ImageAnalysisAbstractAnalyzer.java:283) E/pool-4-thread-2( 2876): at androidx.camera.core.ImageAnalysisAbstractAnalyzer$$ExternalSyntheticLambda1.run(Unknown Source) E/pool-4-thread-2( 2876): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) E/pool-4-thread-2( 2876): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) E/pool-4-thread-2( 2876): at java.lang.Thread.run(Thread.java:818) ```
fynngodau referenced this issue from a commit 2 months ago
Owner

I've fixed this for the next version by switching to the ZXing parser for Android 5.

I've fixed this for the next version by switching to the ZXing parser for Android 5.
fynngodau closed this issue 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.