dlazaro66 / QRCodeReaderView

Modification of ZXING Barcode Scanner project for easy Android QR-Code detection and AR purposes
1.9k stars 491 forks source link

An error occurred while executing doInBackground() #162

Open Robotdako opened 6 years ago

Robotdako commented 6 years ago

FATAL EXCEPTION: AsyncTask #1 Process:packagename, PID: 9972 java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:318) 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:243) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:762) Caused by: java.lang.AssertionError: impossible at java.lang.Enum$1.create(Enum.java:269) at java.lang.Enum$1.create(Enum.java:260) at libcore.util.BasicLruCache.get(BasicLruCache.java:58) at java.lang.Enum.getSharedConstants(Enum.java:286) at java.lang.Class.getEnumConstantsShared(Class.java:2291) at java.lang.JavaLangAccess.getEnumConstantsShared(JavaLangAccess.java:40) at java.util.EnumMap.getKeyUniverse(EnumMap.java:752) at java.util.EnumMap.<init>(EnumMap.java:137) at com.google.b.k.a(SourceFile:97) at com.google.b.c.a.a(SourceFile:90) at com.dlazaro66.qrcodereaderview.b.a(SourceFile:355) at com.dlazaro66.qrcodereaderview.b.doInBackground(SourceFile:329) at android.os.AsyncTask$2.call(AsyncTask.java:304) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:762)  Caused by: java.lang.NoSuchMethodException: values [] at java.lang.Class.getMethod(Class.java:1981) at java.lang.Class.getDeclaredMethod(Class.java:1960) at java.lang.Enum$1.create(Enum.java:265) at java.lang.Enum$1.create(Enum.java:260)  at libcore.util.BasicLruCache.get(BasicLruCache.java:58)  at java.lang.Enum.getSharedConstants(Enum.java:286)  at java.lang.Class.getEnumConstantsShared(Class.java:2291)  at java.lang.JavaLangAccess.getEnumConstantsShared(JavaLangAccess.java:40)  at java.util.EnumMap.getKeyUniverse(EnumMap.java:752)  at java.util.EnumMap.<init>(EnumMap.java:137)  at com.google.b.k.a(SourceFile:97)  at com.google.b.c.a.a(SourceFile:90)  at com.dlazaro66.qrcodereaderview.b.a(SourceFile:355)  at com.dlazaro66.qrcodereaderview.b.doInBackground(SourceFile:329)  at android.os.AsyncTask$2.call(AsyncTask.java:304)  at java.util.concurrent.FutureTask.run(FutureTask.java:237)  at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)  at java.lang.Thread.run(Thread.java:762)