NSInvalidArgumentException in select data from sqlite file
<p>I am storing data in following format </p>

<pre><code>             05/03/2012 10:11PM : &lt;0818aaaa aaaaaaaa aaaa454d 554c4154 4f520000 00000000 0000&gt;
</code></pre>

<p>but when retrieve data i get using following method</p>

<pre><code>    sqlite3 *database;

if(sqlite3_open([dbPath UTF8String], &amp;database) == SQLITE_OK) {

    // Setup the SQL Statement and compile it for faster access
    const char *sqlStatement = "select logText from logTable";

    sqlite3_stmt *compiledStatement;


    if(sqlite3_prepare_v2(database, sqlStatement, -1, &amp;compiledStatement, NULL) == SQLITE_OK) {



        while(sqlite3_step(compiledStatement) == SQLITE_ROW) {              

            NSString *addressField = [[NSString alloc] initWithUTF8String:(const char *) sqlite3_column_text(compiledStatement, 0)];

            // Read the data from the result row

            fullLog=[NSString stringWithFormat:@"%@%@",fullLog,addressField];

        } // end of the while

    }
    sqlite3_finalize(compiledStatement);
}
sqlite3_close(database);
</code></pre>

<p>I receive follwing error ,</p>

<pre><code>    Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSPlaceholderString initWithUTF8String:]: NULL cString'
</code></pre>

<p><em>*</em> Call stack at first throw:</p>

<p>please help why thia issue is occuring</p>
