There is a pretty big debate about what to do with null values…should we store them…should we ignore them, etc. None of them involve an exception though, that’s not good design. LiteCoreException is a pretty good indicator of a cross platform behavior (in this case, an incorrect one). Please file an issue here and I’ll look into it for DB016 (DB015’s deadline is today so it won’t make it into that one unfortunately, unless I somehow fixed it by accident)
Sorry, I forgot to specify the query.
And yes, any query requesting the actual null value (via select result) will show the error.
I submitted an issue as suggested on github
Good luck in resolving the debate