java.sql.SQLException: Wrong data type: For input string: "true"

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Apache's JIRA Issue Tracker by Kurt Rheaume, 1 year ago
Wrong data type: For input string: "true"
via hsqldb by nobody
, 1 year ago
Wrong data type: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
via sourceforge.net by Unknown author, 2 years ago
Wrong data type: For input string: "org.jboss.invocation.InvocationResponse@..."
via sourceforge.net by Unknown author, 1 year ago
Wrong data type: For input string: "org.jboss.invocation.InvocationResponse@..."
via hsqldb by jawahar_m2003
, 1 year ago
File input/output error: ../Database/FDMDB.backup
via hsqldb by nobody
, 1 year ago
File input/output error: reading: java.io.EOFException
java.sql.SQLException: Wrong data type: For input string: "true"
at org.hsqldb.Trace.getError(Unknown Source)
at org.hsqldb.Trace.error(Unknown Source)
at org.hsqldb.Column.convertObject(Unknown Source)
at org.objectstyle.cayenne.access.types.AbstractType.setJdbcObject(AbstractType.java:78)
at org.objectstyle.cayenne.dba.JdbcAdapter.bindParameter(JdbcAdapter.java:549)
at org.objectstyle.cayenne.access.trans.BatchQueryBuilder.bindParameters(BatchQueryBuilder.java:143)
at org.objectstyle.cayenne.access.DataNode.runBatchUpdateAsIndividualQueries(DataNode.java:594)
at org.objectstyle.cayenne.access.DataNode.runBatchUpdate(DataNode.java:495)
at org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:353)
at org.objectstyle.cayenne.access.ContextCommit.commit(ContextCommit.java:192)
at org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:1266)
at org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:1236)
at org.objectstyle.cayenne.pref.Domain.getDetail(Domain.java:265)
at org.objectstyle.cayenne.modeler.ProjectController.getDataMapPreferences(ProjectController.java:230)
at org.objectstyle.cayenne.modeler.dialog.classgen.ClassGeneratorController.prepareModel(ClassGeneratorController.java:99)
at org.objectstyle.cayenne.modeler.dialog.classgen.ClassGeneratorController.(ClassGeneratorController.java:93)
at org.objectstyle.cayenne.modeler.action.GenerateClassesAction.generateClasses(GenerateClassesAction.java:90)
at org.objectstyle.cayenne.modeler.action.GenerateClassesAction.performAction(GenerateClassesAction.java:86)
at org.objectstyle.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:188)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at java.awt.Component.processMouseEvent(Component.java:5166)
at java.awt.Component.processEvent(Component.java:4963)
at java.awt.Container.processEvent(Container.java:1613)
at java.awt.Component.dispatchEventImpl(Component.java:3681)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
at java.awt.Container.dispatchEventImpl(Container.java:1657)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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