Caused by: java.lang.IllegalArgumentException: the bind value at index 1 is null
来源:互联网 发布:csgo cpu 优化 编辑:程序博客网 时间:2024/05/23 15:47
我再使用Sqlite数据的时候遇到的错误,字面解释就是第一个index绑定的value是null的,开始我理解成我存储的数据库是空的,害我拜拜忙活了好一会。后来我想是不是我传入的那个数据是null的呀,打日志,妈的,果然是空的。同志们切记啊,遍历获取查询Sqlite数据库的时候一定要记得判空,我真是太二了!下面是我的代码。
千万记得一定要记得判空!!
fmedia一定不能是空的!!!
阅读全文
1 0
- Caused by: java.lang.IllegalArgumentException: the bind value at index 1 is null
- Caused by: java.lang.IllegalArgumentException: the bind value at index 1 is null
- Caused by: java.lang.IllegalArgumentException: the bind value at index 1 is null
- java.lang.IllegalArgumentException: the bind value at index 1 is null or java.lang.IllegalArgumen
- java.lang.IllegalArgumentException: the bind value at index 1 is null
- java.lang.IllegalArgumentException: the bind value at index 1 is null
- 问题:java.lang.IllegalArgumentException:the bind value at index is null
- 问题:java.lang.IllegalArgumentException:the bind value at index is null
- Caused by: java.lang.IllegalArgumentException: Illegal character in scheme at index 0:
- Caused by: java.lang.UnsupportedOperationException: Can't convert value at index 75 to dimension
- Caused by: java.lang.IllegalArgumentException: Original must not be null
- Caused by: java.lang.IllegalArgumentException: Text may not be null
- java.lang.IllegalArgumentException: The observer is null.
- java.lang.IllegalArgumentException: The observer is null.
- Caused by: java.lang.IllegalArgumentException: The handle attribute is must refer to an existing chi
- springboot Caused by: java.lang.IllegalArgumentException: Property 'sessionFactory' is required
- Caused by: java.lang.IllegalArgumentException: 'dataSource' or 'jdbcTemplate' is required
- ClassPathXmlApplicationContext Caused by: java.lang.IllegalArgumentException
- GIT 学习 day01
- FreeRTOS代码剖析之3:内存管理Heap_3.c
- gnutls.h: No such file or directory 的解决方案
- Android如何高效的加载图片(1)---加载大尺寸图片
- Elasticsearch写入性能优化
- Caused by: java.lang.IllegalArgumentException: the bind value at index 1 is null
- NavigationView的头部的事件监听
- js的数组按日期排序
- dubbo 配置文件详解
- Python中用pip安装selenium提示:unknow or unsupported command install的解决办法
- NDK配置debug环境时:Error:FAILURE: Build failed with an exception
- mysql中的字符串函数和日期函数(常用的)小总
- vuex学习实践笔记
- 最佳日志实践(v2.0)