Menu

#2 Bug on executeCommandLineSQL java.lang.NullPointerException

open
nobody
None
5
2008-12-03
2008-12-03
Anonymous
No

invoking java -cp ".\shellRaptor.jar;.\mydriver.jar" com.gravitysoft.sqltuil.ShellRaptor --stdout=conf/stdout.xml i get that exception becouse in
SQLEditor.executeCommandLineSQL(..) stmt is null.
posible solution to modify
rset = stmt.executeQuery(clSQL);
with
rset = conn.createStatement().executeQuery(clSQL);

Discussion


Log in to post a comment.

MongoDB Logo MongoDB