majian-spc opened a new issue #13772:
URL: https://github.com/apache/shardingsphere/issues/13772
## Question
`### Error querying database. Cause: java.lang.NullPointerException
### The error may exist in
cn/ca/matrix/lra/server/dao/mapper/cert/BaseCertificateMapper.java (best guess)
### The error may involve
cn.ca.matrix.lra.server.dao.mapper.cert.BaseCertificateMapper.selectByExample_COUNT
### The error occurred while handling results
### SQL: SELECT count(0) FROM T_OPS_CA_CERTIFICATE WHERE (operate_month
BETWEEN ? AND ?)
### Cause: java.lang.NullPointerException
org.mybatis.spring.MyBatisSystemException: nested exception is
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.NullPointerException
### The error may exist in
cn/ca/matrix/lra/server/dao/mapper/cert/BaseCertificateMapper.java (best guess)
### The error may involve
cn.ca.matrix.lra.server.dao.mapper.cert.BaseCertificateMapper.selectByExample_COUNT
### The error occurred while handling results
### SQL: SELECT count(0) FROM T_OPS_CA_CERTIFICATE WHERE (operate_month
BETWEEN ? AND ?)
### Cause: java.lang.NullPointerException
`
`Caused by: org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.NullPointerException
### The error may exist in
cn/ca/matrix/lra/server/dao/mapper/cert/BaseCertificateMapper.java (best guess)
### The error may involve
cn.ca.matrix.lra.server.dao.mapper.cert.BaseCertificateMapper.selectByExample_COUNT
### The error occurred while handling results
### SQL: SELECT count(0) FROM T_OPS_CA_CERTIFICATE WHERE (operate_month
BETWEEN ? AND ?)
### Cause: java.lang.NullPointerException
at
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:150)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433)
... 98 common frames omitted
Caused by: java.lang.NullPointerException: null`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]