You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Annotated code: @eApplication
public class XXXXX extends SharedApplication {
..... @PREF
SharedPrefs_ sharedPrefs;
....
}
Expected generated code:
sharedPrefs should be created
Actual generated code:
sharedPrefs null
Stacktrace in case of AA crash:
java.lang.RuntimeException: Unable to create application xxx.xxx.xxx.xxxApplication_: java.lang.NullPointerException: Attempt to invoke virtual method 'xxx.xxx.xxx.xxx.SharedPrefs_$SharedPrefsEditor_ xxx.xxx.xxx.xxx.SharedPrefs_.edit()' on a null object reference
**Android gradle plagin version 4.1.0
** Gradle version 6.5
AndroidAnnotations version: 4.8.0
Android compile SDK version:29
Annotated code:
@eApplication
public class XXXXX extends SharedApplication {
.....
@PREF
SharedPrefs_ sharedPrefs;
....
}
Expected generated code:
sharedPrefs should be created
Actual generated code:
sharedPrefs null
Stacktrace in case of AA crash:
java.lang.RuntimeException: Unable to create application xxx.xxx.xxx.xxxApplication_: java.lang.NullPointerException: Attempt to invoke virtual method 'xxx.xxx.xxx.xxx.SharedPrefs_$SharedPrefsEditor_ xxx.xxx.xxx.xxx.SharedPrefs_.edit()' on a null object reference
**Android gradle plagin version 4.1.0
** Gradle version 6.5