Caused by: rx.exceptions.OnErrorNotImplementedException: Index: 0, Size: 0
错误原因,接收List集合,List集合为空
当对集合数据get操作时,就会出现该问题
代码如下:
List<CusInvt> cusInvts = invtCusService.getCusInvtByCusName(CusName);
CusInvt invt = cusInvts.get(0);
Caused by: rx.exceptions.OnErrorNotImplementedException: Index: 0, Size: 0
错误原因,接收List集合,List集合为空
当对集合数据get操作时,就会出现该问题
代码如下:
List<CusInvt> cusInvts = invtCusService.getCusInvtByCusName(CusName);
CusInvt invt = cusInvts.get(0);