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

Call to public SqliteConnection() in Xamarin.Forms UWP app causes unhandled exception #26882

Closed
dmsi-leonidl opened this issue Dec 2, 2021 · 1 comment

Comments

@dmsi-leonidl
Copy link

File a bug

Application type: Xamarin.Forms

Call to public SqliteConnection() from Xamarin.Forms UWP app causes unhandled exception.
The same call works fine on iOS and Android.

Stack trace

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Data.Sqlite.Utilities.ApplicationDataHelper.GetFolderPath(String propertyName) in /_/src/Microsoft.Data.Sqlite.Core/Utilities/ApplicationDataHelper.cs:line 42


### Version information

Microsoft.Data.Sqlite version: 6.0.0
Microsoft.NETCore.UniversalWindowsPlatform version: 6.2.13
Xamarin.Forms version: 5.0.0.2244
Xamarin.Forms.UWP: Target version: Windows 10, version 1903 (Build 18362)
Microsoft Visual Studio Enterprise 2019 Version 16.11.7
Target framework: Microsoft .NET Framework Version 4.8.04084
Operating system: Windows 10 Enterprise Version: 10.0.19043 Build 19043
@ajcvickers
Copy link
Contributor

Duplicate of #26574.

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants