Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

iOS: Update from {N} 8.0 to 8.1 creates toString from null error #173

@teha-at

Description

@teha-at

I updated my App from NativeScript 8.0 to 8.1 and on iOS I wasn't able to load data from the sqlite db. The console give me

CONSOLE ERROR: ERROR TypeError: Cannot read property 'toString' of null

I don't no why the error appears, but in this line he occurred
https://github.com/NathanaelA/nativescript-sqlite/blob/master/src/sqlite-internal.ios.js#L713
The NSString.stringWithUTF8String method returns null.

I have not yet been able to identify the query that triggers the error. How can I decode the statement to get the query? Should there be a check if the result null?

I use the version 2.8.4 from nativescript-sqlite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions