Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 12 targetSdkversion 30 shows java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String io.liteglue.SQLDatabaseHandle.getLastErrorMessage()' on a null object reference #995

Open
nadirabanu opened this issue Dec 1, 2021 · 3 comments

Comments

@nadirabanu
Copy link

we have updated Android sdkversions as below and have an issue when we run it on android 12. Any help is appreciated.
defaultTargetSdkVersion= 30
defaultCompileSdkVersion=30

java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String io.liteglue.SQLDatabaseHandle.getLastErrorMessage()' on a null object reference
at io.liteglue.SQLiteGlueConnection.(SQLiteGlueConnection.java:12)

@bilalsaeed
Copy link

Hi @nadirabanu

did you manage to resolve it?

@nadirabanu
Copy link
Author

yes @bilalsaeed I followed the recommendation given below and mentioned in the link provided below. Now it works fine on all devices.

The this.oldImpl = true is the same result of using the mentioned workaround androidDatabaseProvider: 'system'.

OutSystems#7

@bilalsaeed
Copy link

I upgraded the plugin on latest and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants