Do I miss something? Any idea where I can get further details or what might be wrong here?
UPDATE
I was just watching your video regarding Dart and there you say .NET 5 is requied. My servers run on .NETCore 3.1 as docker containers. May this cause the problem??
I also tried the Android Studio Plugin. There I get a different strange error message:
Hi @mythz
Found it, fully my fault, sorry for making noise here…
Some time ago I added a GlobalRequestFilter which writes some statistic data to a database. It was assuming that the session is authenticatd and ended in a NPE when I did int.Parse(session.UserAuthId). If the session is not authenticated Session.UserAuthId is of course NULL which caused the above described error…
But this leads me to another question: How can I disable this in production? I was just reading through Restricting services but I currently don’t see how I can deny all those x tools code generators ?
And regarding NPE: I saw an other problem with the generated Dart code: It seems NOT support NULL safety. That was a breaking change introduced with Dart SDK 2.12. I know that I can set the SDK version in my pubspec.yaml file to 2.11, but that may have other impacts. The current Dart SDK version is 2.14.1.
UPDATE
Ohh, just read this. I am still on 5.11 and will quickly update to 5.12, assuming it is built in there (NuGet and not MyGet).