I have a null pointer exception that I don't understand :
the java line :
statement.executeUpdate("SET TABLE tempo SOURCE \""+base+"/gene.txt;ignore_first=true;fs=\\t\"");
the error message :
java.sql.SQLException: S1000 General error java.lang.NullPointerException in statement [SET TABLE tempo SOURCE "test/gene.txt;ignore_first=true;fs=\t"]
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source)
at DBTools.AlterAddColumn(DBTools.java:138)
for me the DB name and the file path are good so I don't know what is null ...
If you can help me ^^
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello.
I have a null pointer exception that I don't understand :
the java line :
statement.executeUpdate("SET TABLE tempo SOURCE \""+base+"/gene.txt;ignore_first=true;fs=\\t\"");
the error message :
java.sql.SQLException: S1000 General error java.lang.NullPointerException in statement [SET TABLE tempo SOURCE "test/gene.txt;ignore_first=true;fs=\t"]
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source)
at DBTools.AlterAddColumn(DBTools.java:138)
for me the DB name and the file path are good so I don't know what is null ...
If you can help me ^^
... I have finally found the problem I think ...
the source file have not the good number of columns ...
it's a little disturbing a nullpointerexception if it's really that ...
Thanks, will note this and fix the NPE for the next update.