java.sql.SQLException

Unable to run stmt on object com.zoomabug.flashcards.item_and_category.ItemLearningData@303bc257: INSERT INTO `ItemLearningData` (`date_learn` ,`interval` ,`grade` ,`easiness` ,`acq_reps` ,`ret_reps` ,`lapses` ,`acq_reps_since_lapse` ,`ret_reps_since_lapse` ) VALUES (?,?,?,?,?,?,?,?,?)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5269

  • Unable to run stmt on object com.zoomabug.flashcards.item_and_category.ItemLearningData@303bc257: INSERT INTO `ItemLearningData` (`date_learn` ,`interval` ,`grade` ,`easiness` ,`acq_reps` ,`ret_reps` ,`lapses` ,`acq_reps_since_lapse` ,`ret_reps_since_lapse` ) VALUES (?,?,?,?,?,?,?,?,?)
  • via GitHub by 51mon
    , 1 year ago
    Unable to run insert stmt on object flowMap.model.TestInsert@7eb366: INSERT INTO "TEST" ("some_boolean" ) VALUES (?)
  • via YouTrack by Unknown author, 1 year ago
    Unable to run insert stmt on object com.jetbrains.upsource.backend.server.comments.db.Review@0: INSERT INTO `review` (`state` ,`title` ,`projectId` ) VALUES (?,?,?)
  • Stack trace

    • java.sql.SQLException: Unable to run stmt on object com.zoomabug.flashcards.item_and_category.ItemLearningData@303bc257: INSERT INTO `ItemLearningData` (`date_learn` ,`interval` ,`grade` ,`easiness` ,`acq_reps` ,`ret_reps` ,`lapses` ,`acq_reps_since_lapse` ,`ret_reps_since_lapse` ) VALUES (?,?,?,?,?,?,?,?,?) at com.j256.ormlite.misc.SqlExceptionUtil.create(SqlExceptionUtil.java:22) at com.j256.ormlite.stmt.mapped.MappedCreate.createWithGeneratedId(MappedCreate.java:136) at com.j256.ormlite.stmt.mapped.MappedCreate.insert(MappedCreate.java:42) at com.j256.ormlite.stmt.StatementExecutor.create(StatementExecutor.java:293) at com.j256.ormlite.dao.BaseDaoImpl.create(BaseDaoImpl.java:206) at test.DatabaseItemTest.testPersistItem(DatabaseItemTest.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.sql.SQLException: NYI at org.sqlite.Conn.prepareStatement(Conn.java:217) at com.j256.ormlite.jdbc.JdbcDatabaseConnection.insert(JdbcDatabaseConnection.java:101) at com.j256.ormlite.stmt.mapped.MappedCreate.createWithGeneratedId(MappedCreate.java:109) ... 28 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    36 times, 7 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago