Some java versions causing strange errors

By aslakjohansen

We recently came across the following error message resulting from an ant-call:

/home/user/dabf/test/tuning/Indexes/Scan.xml:23: java.sql.SQLException: Error during query: Unexpected Exception: java.io.CharConversionException message given: null

Here, Scan.xml is the ant-file, which contains no java code at all. The line number gives no indication of the nature of the problem. After googling for a while we found this. The behaviour is being called very indeterministic and is caused by certain versions of java. We installed Sun Java 6 and everything worked out just fine. So much for portable code …

Leave a Reply