java.lang.ExceptionInInitializerError

Exception #2563962

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

Stack trace

  • java.lang.ExceptionInInitializerError at tesseractjar.MainActivity.onCreate(MainActivity.java:19) at android.app.Activity.performCreate(Activity.java:5231) 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:795) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.TypeNotPresentException: Type org/bytedeco/javacpp/presets/lept not present at java.lang.Class.getDeclaredAnnotation(Native Method) at java.lang.Class.getAnnotation(Class.java:290) at org.bytedeco.javacpp.ClassProperties.load(ClassProperties.java:143) at org.bytedeco.javacpp.Loader.loadProperties(Loader.java:235) at org.bytedeco.javacpp.Loader.load(Loader.java:447) at org.bytedeco.javacpp.Loader.load(Loader.java:409) at org.bytedeco.javacpp.tesseract$TessBaseAPI.<clinit>(tesseract.java:3648)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.