java.sql.SQLException: Unexpected token: 1 in statement \[1\]

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 hsqldb by archvile18
, 1 year ago
Unexpected token: 1 in statement \[1\]
via hsqldb by sush2528in
, 1 year ago
Unexpected token Begin:  in statement \[Begin\]
via GitHub by sztankatt
, 2 years ago
Unexpected token: SEARCHNAME in statement [CREATE TABLE savedsearches ( id INTEGER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY searchName]
via Stack Overflow by Gleeb
, 2 years ago
Table already exists: DATABASECHANGELOGLOCK in statement [CREATE TABLE PUBLIC.DATABASECHANGELOGLOCK]
via hsqldb by ladykrystana
, 1 year ago
S1000 General error java.lang.NullPointerException in statement \[SET TABLE tempo SOURCE "test/gene.txt;ignore\_first=true;fs=\t"\]
via hsqldb by lakuhns
, 1 year ago
bad TEXT table source file - line number: 0 Invalid TEXT table source string: no value for:   in statement \[set table Import source "c:/Apps/names.txt;fs=:;" \]
java.sql.SQLException: Unexpected token: 1 in statement \[1\]
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 org.hsqldb.util.DatabaseManagerSwing.executeSQL(Unknown Source)
at org.hsqldb.util.DatabaseManagerSwing.access$300(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
11 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.