java.lang.IllegalArgumentException: Source must not be null
2018-02-26 16:22
1301 查看
报错的地方所需参数为空或者不存在:
比如说获得的id已经被删除了。。。。
for (ProductSpecPromotion promotion : list) {
if(specificationService.get(promotion.getRelateSpecId())==null){
continue;
}
比如说获得的id已经被删除了。。。。
for (ProductSpecPromotion promotion : list) {
if(specificationService.get(promotion.getRelateSpecId())==null){
continue;
}
}
相关文章推荐
- java.lang.IllegalArgumentException: 'name' must not be null
- java.lang.IllegalArgumentException: FacesContext must not be null 错误分析及解决
- geotools学习之一:java.lang.IllegalArgumentException: Argument "sourceCRS" should not be null.(未完)
- 【Caused by: java.lang.IllegalArgumentException: Original must not be null 】
- Caused by: java.lang.IllegalArgumentException: Original must not be null
- 解决 java.lang.IllegalArgumentException: Repository interface must not be null on initialization!
- [异常整理]java.lang.IllegalArgumentException: Attribute value must not be null
- Android java.lang.IllegalArgumentException: Object returned from onCreateLoader must not be a non-static inn
- java.lang.IllegalArgumentException: Object returned from onCreateLoader must not be a non-static inn
- struts2 报错:java.lang.NullPointerException: Source must not be null
- Caused by: java.lang.IllegalArgumentException: Text may not be null
- 关于网络请求的一个异常bug(java.lang.IllegalArgumentException: Host name may not be null)
- java.lang.IllegalArgumentException: name MUST NOT NULL! at org.nutz.dao.impl.NutDao.fetch
- java.lang.IllegalArgumentException: Object returned from onCreateLoader must not be a non-static inn
- java.lang.IllegalArgumentException: name MUST NOT NULL! at org.nutz.dao.impl.NutDao.fetch
- Bean 'shiroFilter'; nested exception is java.lang.IllegalArgumentException: Bean name must not be em
- java.lang.IllegalArgumentException: Host name may not be null
- java.lang.IllegalArgumentException: Host name may not be null:
- java.lang.IllegalArgumentException: Service Intent must be explicit解决方法
- Android报错:Caused by: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent