j256 / ormlite-android

ORMLite Android functionality used in conjunction with ormlite-core
http://ormlite.com/
ISC License
1.59k stars 367 forks source link

java.lang.IllegalAccessError Class ref in pre-verified class resolved to unexpected implementation #68

Closed yunfengsa closed 1 year ago

yunfengsa commented 8 years ago

java.lang.IllegalAccessError Class ref in pre-verified class resolved to unexpected implementation java.lang.RuntimeException:An error occured while executing doInBackground() android.os.AsyncTask$3.done(AsyncTask.java:300) ...... java.lang.IllegalAccessError:Class ref in pre-verified class resolved to unexpected implementation java.lang.reflect.Method.getDefaultValue(Native Method) java.lang.reflect.Method.getDefaultValue(Method.java:353) libcore.reflect.AnnotationFactory.getElementsDescription(AnnotationFactory.java:75) libcore.reflect.AnnotationFactory.(AnnotationFactory.java:112) libcore.reflect.AnnotationFactory.createAnnotation(AnnotationFactory.java:94) java.lang.reflect.Field.getAnnotation(Native Method) java.lang.reflect.Field.getAnnotation(Field.java:209) com.j256.ormlite.field.DatabaseFieldConfig.com.j256.ormlite.field.DatabaseFieldConfig fromField(com.j256.ormlite.db.DatabaseType,java.lang.String,java.lang.reflect.Field)(DatabaseFieldConfig.java:503)

Some machines has throw that exeption,although I have keep the thread safe,waiting for help

yunfengsa commented 8 years ago

@j256 It really troubles me

xudjx commented 5 years ago

java.lang.IllegalAccessError Class ref in pre-verified class resolved to unexpected implementation java.lang.RuntimeException:An error occured while executing doInBackground() android.os.AsyncTask$3.done(AsyncTask.java:300) ...... java.lang.IllegalAccessError:Class ref in pre-verified class resolved to unexpected implementation java.lang.reflect.Method.getDefaultValue(Native Method) java.lang.reflect.Method.getDefaultValue(Method.java:353) libcore.reflect.AnnotationFactory.getElementsDescription(AnnotationFactory.java:75) libcore.reflect.AnnotationFactory.(AnnotationFactory.java:112) libcore.reflect.AnnotationFactory.createAnnotation(AnnotationFactory.java:94) java.lang.reflect.Field.getAnnotation(Native Method) java.lang.reflect.Field.getAnnotation(Field.java:209) com.j256.ormlite.field.DatabaseFieldConfig.com.j256.ormlite.field.DatabaseFieldConfig fromField(com.j256.ormlite.db.DatabaseType,java.lang.String,java.lang.reflect.Field)(DatabaseFieldConfig.java:503)

Some machines has throw that exeption,although I have keep the thread safe,waiting for help

How this bug going? did you fix it?

j256 commented 1 year ago

Sorry to not respond to this @yunfengsa . Did you resolve the issue.

yunfengsa commented 1 year ago

Sorry to not respond to this @yunfengsa . Did you resolve the issue.

sorry about that. this is not trouble me now.