ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.StringIndexOutOfBoundsExce
2018-01-08 17:33
1861 查看
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in sqlmap/DataSync.xml.
--- The error occurred while preparing the mapped statement for execution.
--- Check the DataSync.saveVisitordata.
--- Check the parameter map.
--- Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeUpdate(MappedStatement.java:110)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:393)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
at org.springframework.orm.ibatis.SqlMapClientTemplate$8.doInSqlMapClient(SqlMapClientTemplate.java:366)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)
... 137 more
解决方法:
把iterate中的property去掉,修改成下图2
--- The error occurred in sqlmap/DataSync.xml.
--- The error occurred while preparing the mapped statement for execution.
--- Check the DataSync.saveVisitordata.
--- Check the parameter map.
--- Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeUpdate(MappedStatement.java:110)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:393)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
at org.springframework.orm.ibatis.SqlMapClientTemplate$8.doInSqlMapClient(SqlMapClientTemplate.java:366)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)
... 137 more
解决方法:
把iterate中的property去掉,修改成下图2
相关文章推荐
- list from JavaBean. Cause java.lang.StringIndexOutOfBoundsException: String index out of range: -1
- Ibaitis Caused by: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean.
- Hibernate query.list()查询发生java.lang.StringIndexOutOfBoundsException: String index out of range: 0错误
- Exception while getting block list java.lang.ArrayIndexOutOfBoundsException
- Hibernate query.list()查询发生java.lang.StringIndexOutOfBoundsException: String index out of range: 0错误
- java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-base
- spark将数据保存到elasticsearch,老是爆java.lang.StringIndexOutOfBoundsException: String index out of range: -1
- java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!
- java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based解决
- An internal error occurred during: "SVN 检出". java.lang.ArrayIndexOutOfBoundsException
- java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-base
- SpringMVC前台提交参数绑定list时大小超过256 java.lang.IndexOutOfBoundsException解决办法
- java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based
- java.lang.StringIndexOutOfBoundsException: String index out of range: 1这是怎么回事?
- Spring Boot 启动报错 Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 37
- java.lang.IndexOutOfBoundsException: fromIndex = -8
- Caused by: java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!
- java.lang.StringIndexOutOfBoundsException: String index out of range: 0
- 严重: Servlet /day18_3 threw load() exception java.lang.StringIndexOutOfBoundsException: String index
- java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-base