Problem with Insert SQLite

Discussion in 'Plugin Development' started by instipod, Jul 1, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    instipod

    I am getting a NullPointerException from the command:
    Code:
    dbm.insert("INSERT INTO towers (name, awesomeness) VALUES (" + b.getLocation().getBlockX() + ", " + b.getLocation().getBlockX() + ")");
    Is it a problem with my Java code or SQL Syntax?
    (BTW: I'm using Template)

    [​IMG]
     
Thread Status:
Not open for further replies.

Share This Page