SAMARITAN2046 opened a new issue #3132: When I update my data encrypt with 
assisted-query-column,it happens exception
URL: https://github.com/apache/incubator-shardingsphere/issues/3132
 
 
   ## Bug Report
   
   
   ### ShardingSphere  version is 4.0.0-RC3-SNAPSHOT
   
   ### Sharding-encrypt
   
   ### update  the data what I wanted,it happens NPE 
   
   ### I encrypt my data when I update he data with assisted-query-column,it 
happens exception
   
   ### Cause: java.lang.NullPointerException
        at 
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:172)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:386)
        ... 18 more
   Caused by: java.lang.NullPointerException
        at 
org.apache.shardingsphere.shardingjdbc.jdbc.adapter.AbstractStatementAdapter$1.execute(AbstractStatementAdapter.java:59)
        at 
org.apache.shardingsphere.shardingjdbc.jdbc.adapter.AbstractStatementAdapter$1.execute(AbstractStatementAdapter.java:55)
        at 
org.apache.shardingsphere.shardingjdbc.jdbc.adapter.executor.ForceExecuteTemplate.execute(ForceExecuteTemplate.java:44)
        at 
org.apache.shardingsphere.shardingjdbc.jdbc.adapter.AbstractStatementAdapter.close(AbstractStatementAdapter.java:55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:78)
        at 
org.apache.ibatis.executor.BaseExecutor.closeStatement(BaseExecutor.java:275)
        at 
org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:51)
        at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
   ### when the action is update,it happen exception
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to