重试记录手动新增报错

Viewed 12

版本:1.6.0
部署:docker
入口:image.png
日志:

snail-job-server-mysql  | org.springframework.dao.DataIntegrityViolationException:
snail-job-server-mysql  | ### Error updating database.  Cause: java.sql.SQLIntegrityConstraintViolationException: Column 'group_id' cannot be null
snail-job-server-mysql  | ### The error may exist in URL [jar:nested:/snailjob/server/app.jar/!BOOT-INF/lib/snail-job-mysql-datasource-1.6.0.jar!/mysql/mapper/RetryMapper.xml]
snail-job-server-mysql  | ### The error may involve com.aizuda.snailjob.template.datasource.persistence.mapper.RetryMapper.insertBatch-Inline
snail-job-server-mysql  | ### The error occurred while setting parameters
snail-job-server-mysql  | ### SQL: INSERT INTO sj_retry (namespace_id, group_name, group_id, scene_name, scene_id, idempotent_id, biz_no,                                    executor_name, args_str, serializer_name, ext_attrs, next_trigger_at, task_type, retry_status,                                    create_dt, bucket_index, parent_id, deleted)         VALUES                        (                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?,                  ?             )
snail-job-server-mysql  | ### Cause: java.sql.SQLIntegrityConstraintViolationException: Column 'group_id' cannot be null
snail-job-server-mysql  | ; Column 'group_id' cannot be null
1 Answers