Skip to content

Instantly share code, notes, and snippets.

@greenrobot-team
Created March 14, 2016 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greenrobot-team/346d2aaa3f32dc8c7b8e to your computer and use it in GitHub Desktop.
Save greenrobot-team/346d2aaa3f32dc8c7b8e to your computer and use it in GitHub Desktop.
I/TestRunner: io.requery.PersistenceException:
java.sql.SQLException: unhandled type -6
at io.requery.sql.UpdateOperation$1.get(UpdateOperation.java:76)
at io.requery.sql.UpdateOperation$1.get(UpdateOperation.java:49)
at io.requery.query.SuppliedScalar.value(SuppliedScalar.java:51)
at io.requery.sql.EntityWriter.update(EntityWriter.java:481)
at io.requery.sql.EntityDataStore.update(EntityDataStore.java:236)
at de.greenrobot.performance.requery.PerfTestRequery.oneByOneCrudRun(PerfTestRequery.java:133)
at de.greenrobot.performance.requery.PerfTestRequery.doOneByOneAndBatchCrud(PerfTestRequery.java:111)
at de.greenrobot.performance.BasePerfTestCase.testSingleAndBatchCrud(BasePerfTestCase.java:62)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)
at junit.framework.TestResult.runProtected(TestResult.java:133)
at junit.framework.TestResult.run(TestResult.java:118)
at junit.framework.TestCase.run(TestCase.java:124)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853)
Caused by: java.sql.SQLException: unhandled type -6
at io.requery.android.sqlite.BasePreparedStatement.setObject(BasePreparedStatement.java:302)
at io.requery.sql.BaseType.write(BaseType.java:63)
at io.requery.sql.GenericMapping.write(GenericMapping.java:343)
at io.requery.sql.PreparedQueryOperation.mapParameters(PreparedQueryOperation.java:80)
at io.requery.sql.UpdateOperation$1.get(UpdateOperation.java:68)
at io.requery.sql.UpdateOperation$1.get(UpdateOperation.java:49) 
at io.requery.query.SuppliedScalar.value(SuppliedScalar.java:51) 
at io.requery.sql.EntityWriter.update(EntityWriter.java:481) 
at io.requery.sql.EntityDataStore.update(EntityDataStore.java:236) 
at de.greenrobot.performance.requery.PerfTestRequery.oneByOneCrudRun(PerfTestRequery.java:133) 
at de.greenrobot.performance.requery.PerfTestRequery.doOneByOneAndBatchCrud(PerfTestRequery.java:111) 
at de.greenrobot.performance.BasePerfTestCase.testSingleAndBatchCrud(BasePerfTestCase.java:62) 
at java.lang.reflect.Method.invoke(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:372) 
at junit.framework.TestCase.runTest(TestCase.java:168) 
at junit.framework.TestCase.runBare(TestCase.java:134) 
at junit.framework.TestResult$1.protect(TestResult.java:115) 
at junit.framework.TestResult.runProtected(TestResult.java:133) 
at junit.framework.TestResult.run(TestResult.java:118) 
at junit.framework.TestCase.run(TestCase.java:124) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment