java.sql.SQLException: Query can not be null or empty
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Oracle Community by 807587, 1 year ago
via Google Groups by Christian Robert, 6 months ago
java.sql.SQLException: Query can not be null or empty
at com.mysql.jdbc.Connection.execSQL(Connection.java:2206)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2181)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1158)
at PeptId.Connect.dbRead(Connect.java:66)
at PeptId.CorrTableModel.
(CorrTableModel.java:28) at PeptId.ViewRes.initGUI(ViewRes.java:65)
at PeptId.ViewRes.
(ViewRes.java:31) at PeptId.ViewRes.showGUI(ViewRes.java:207)