Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Alert] batchInsert execption #14675

Closed
2 of 3 tasks
Gallardot opened this issue Aug 1, 2023 · 0 comments · Fixed by #14676
Closed
2 of 3 tasks

[Bug] [Alert] batchInsert execption #14675

Gallardot opened this issue Aug 1, 2023 · 0 comments · Fixed by #14676
Assignees
Labels
backend bug Something isn't working

Comments

@Gallardot
Copy link
Member

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

  1. Configure an alert instance on the UI, select the Feishu type, and configure the alert instance.
  2. Configure an alert group and select the above alert instance.
  3. Configure a scheduled task, select to send notifications for both success and failure in the notification strategy, and select the above configured alert group.

Error message: When waiting for the scheduled task to execute, the following error message will be displayed on the alert server:

[ERROR] 2023-07-31 19:54:09.360 +0800 org.apache.dolphinscheduler.alert.service.AlertBootstrapService:[90] - Alert sender thread meet an exception
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'alertSendStatuses' not found. Available parameters are [arg0, collection, list]
	at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
	at com.sun.proxy.$Proxy133.insert(Unknown Source)
	at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272)
	at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59)
	at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
	at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
	at com.sun.proxy.$Proxy137.batchInsert(Unknown Source)
	at org.apache.dolphinscheduler.dao.AlertDao.insertAlertSendStatus(AlertDao.java:156)
	at org.apache.dolphinscheduler.alert.service.AlertBootstrapService.send(AlertBootstrapService.java:156)
	at org.apache.dolphinscheduler.alert.service.AlertBootstrapService.run(AlertBootstrapService.java:88)
Caused by: org.apache.ibatis.binding.BindingException: Parameter 'alertSendStatuses' not found. Available parameters are [arg0, collection, list]
	at org.apache.ibatis.binding.MapperMethod$ParamMap.get(MapperMethod.java:212)
	at org.apache.ibatis.scripting.xmltags.DynamicContext$ContextAccessor.getProperty(DynamicContext.java:120)
	at org.apache.ibatis.ognl.OgnlRuntime.getProperty(OgnlRuntime.java:3341)
	at org.apache.ibatis.ognl.ASTProperty.getValueBody(ASTProperty.java:121)
	at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
	at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:258)
	at org.apache.ibatis.ognl.Ognl.getValue(Ognl.java:586)
	at org.apache.ibatis.ognl.Ognl.getValue(Ognl.java:550)

What you expected to happen

no error

How to reproduce

as mentioned above

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Gallardot Gallardot added bug Something isn't working Waiting for reply Waiting for reply labels Aug 1, 2023
Gallardot added a commit to Gallardot/dolphinscheduler that referenced this issue Aug 1, 2023
@SbloodyS SbloodyS added backend and removed Waiting for reply Waiting for reply labels Aug 1, 2023
SbloodyS pushed a commit that referenced this issue Aug 1, 2023
biaoma-ty pushed a commit to Kasma-Inc/dolphinscheduler that referenced this issue Aug 17, 2023
zhongjiajie pushed a commit that referenced this issue Aug 30, 2023
Signed-off-by: Gallardot <[email protected]>
(cherry picked from commit 37ecd26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants