java.sql.SQLException: Field \'parent_id\' is of data type null which can not be compared

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 ormlite by *anonymous
, 1 year ago
Field \'parent_id\' is of data type null which can not be compared
java.sql.SQLException: Field \'parent_id\' is of data type null which can not be compared
at com.j256.ormlite.stmt.query.BaseComparison.(BaseComparison.java:25)
at com.j256.ormlite.stmt.query.IsNull.(IsNull.java:19)
at com.example.ormlitetest.ORMLiteTestActivity.query(ORMLiteTestActivity.java:135)
at com.example.ormlitetest.ORMLiteTestActivity.loadDataCached(ORMLiteTestActivity.java:94)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at android.view.View$1.onClick(View.java:2067)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8816)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

Users with the same issue

131 times, 1 year ago

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