Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing JDBC Driver for Informix + SQLException being thrown when NULL Value is encountered
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COYour question is unanswerable. You've not shown the table schema, or the query that you are trying to prepare and execute. The error message you cite has nothing to do with nulls; it says the query is referring to a non-existent column. That means there is a problem with the query; syntactically, it is valid, but semantically, it is not. To resolve that, you'll have to show the SQL and the table schema.
      singulars
    2. CO@JonathanLeffler: Your observation is correct, the error message does not point to a problem with a null value. That's the perplexing part. However, when a null value is encountered the exception is thrown. I was hoping someone had encountered this before. I'm a public servant, and I don't think I should post that detailed db info. The columns in my query are created in the schema. I can run the query against the database using dbaccess and rows are retrieved, but one column has a null value--colname2. When I remove it from the query and rerun the program the exception is not thrown. -TU
      singulars
    3. COCan you replicate it with a two column table like `CREATE TABLE x(y INTEGER, z INTEGER); INSERT INTO x(y,z) VALUES(0, 0); INSERT INTO x(y,z) VALUES(1, NULL);` and show the Java that generates the exception?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload