enioka-Haute-Couture / enioka_scan

Integration library for all your Android hardware barcode scanner integration needs
Apache License 2.0
52 stars 4 forks source link

Crash on the demo-app when switching between Zxing / Zbar #195

Closed VincentKobz closed 5 months ago

VincentKobz commented 5 months ago

When quickly switching between Zxing / Zbar reader mode on scanner camera preview, a null pointer exception may occur.

java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.zxing.MultiFormatReader.setHints(java.util.Map)' on a null object reference

DaSpood commented 5 months ago

Resolved by #196