Coder Social home page Coder Social logo

FATAL Exception: Sqflite about sqflite HOT 3 CLOSED

tekartik avatar tekartik commented on September 5, 2024
FATAL Exception: Sqflite

from sqflite.

Comments (3)

alextekartik avatar alextekartik commented on September 5, 2024

I will take a look. As the error said java.lang.IllegalArgumentException: the bind value at index 1 is null, it seems that you have a null value in your map. SQLite does not support that (yes it is a pain) so you have to explicitely use the new keyword in your update raw query. I will try to reproduce the issue and see whether I can find a solution tomorrow

from sqflite.

alextekartik avatar alextekartik commented on September 5, 2024

Well looking more at your issue, it seems as reported that rezept.id is null....you cannot bind a null value in a query (and anywhere). For a where clause you need to use 'id IS NULL". However in your case should handle the case where the id is null (you need to get the id from somewhere first)

from sqflite.

stnieder avatar stnieder commented on September 5, 2024

Thanks for the solution, that worked out for me.

from sqflite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.