xfyang1989 opened a new issue #2427: Optional.get() cannot be called on an absent value" URL: https://github.com/apache/incubator-shardingsphere/issues/2427 Occasionally, the following error occurs when performing an update. Sometimes there are no errors, why? nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error updating database. Cause: java.lang.IllegalStateException: Optional.get() cannot be called on an absent value\n### The error may involve defaultParameterMap\n### The error occurred while setting parameters\n### SQL: update ic_test SET locked_num=locked_num + ?, update_time=now(), version = version + 1, update_person = ?, normal_locked_num=normal_locked_num + ? where 1=1 and inventory_num >= locked_num + ? and normal_inventory_num >= normal_locked_num + ? AND sku_code=? AND warehouse_code=? AND first_channel=? AND second_channel=? AND is_deleted = 0 \n### Cause: java.lang.IllegalStateException: Optional.get() cannot be called on an absent value",
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services