You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "happyBluebirds (via GitHub)" <gi...@apache.org> on 2024/09/24 06:27:03 UTC

[I] [Bug] [Module Name] send msg Cannot deserialize value [dolphinscheduler]

happyBluebirds opened a new issue, #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   发送http告警的时候报错
   ![image](https://github.com/user-attachments/assets/d79376db-de1a-4175-9fc2-8c5e4555777e)
   [ERROR] 2024-09-24 14:01:25.630 +0800 o.a.d.c.u.JSONUtils:[186] - parse list exception!
   com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList<org.apache.dolphinscheduler.spi.params.base.PluginParams>` from Object value (token `JsonToken.START_OBJECT`)
    at [Source: (String)"{"headerParams":" {\"Content-Type\": \"application/json\"}","requestType":"POST","bodyParams":"{ \"msgtype\": \"text\",   \"text\": {\"content\": 'test' } }","url":"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=key","contentField":"text.content","timeout":"120"}"; line: 1, column: 1]
           at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
           at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1741)
           at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1515)
           at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1462)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:392)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:252)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28)
           at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
           at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4674)
           at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3629)
           at org.apache.dolphinscheduler.common.utils.JSONUtils.toList(JSONUtils.java:184)
           at org.apache.dolphinscheduler.spi.params.PluginParamsTransfer.transferJsonToParamsList(PluginParamsTransfer.java:42)
           at org.apache.dolphinscheduler.spi.params.PluginParamsTransfer.getPluginParamsMap(PluginParamsTransfer.java:49)
           at org.apache.dolphinscheduler.alert.service.AbstractEventSender.doSendEvent(AbstractEventSender.java:125)
           at org.apache.dolphinscheduler.alert.service.AbstractEventSender.sendEvent(AbstractEventSender.java:73)
           at org.apache.dolphinscheduler.alert.service.ListenerEventLoop.handleEvent(ListenerEventLoop.java:38)
           at org.apache.dolphinscheduler.alert.service.ListenerEventLoop.handleEvent(ListenerEventLoop.java:24)
           at org.apache.dolphinscheduler.alert.service.AbstractEventLoop.lambda$run$0(AbstractEventLoop.java:73)
           at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   
   ### What you expected to happen
   
   期望正确请求接口
   
   ### How to reproduce
   
   ![image](https://github.com/user-attachments/assets/7679a85f-42a0-457d-87fc-29796fb30661)
   ![image](https://github.com/user-attachments/assets/44bfbb17-75e0-406e-8ff6-dbaf41490d7d)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-2370811285

   Fixed in `dev`. Will be release in the version 3.3.0.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "typing-developer (via GitHub)" <gi...@apache.org>.
typing-developer commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-4066224235

   3.3.0 仍然有这个错误
   ![Image](https://github.com/user-attachments/assets/c8cc2cf0-9119-4fff-aaaa-535c46cf26a5)
   
   ```
   [ERROR] 2026-03-16 16:30:59.214 +0800 org.apache.dolphinscheduler.common.utils.JSONUtils:[186] - parse list exception!
   com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList<org.apache.dolphinscheduler.spi.params.base.PluginParams>` from Object value (token `JsonToken.START_OBJECT`)
    at [Source: (String)"{"Proxy":null,"User":"admin","IsEnableProxy":"false","Port":null,"WebHook":"https://open.feishu.cn/open-apis/bot/v2/hook/42-------","Password":"xxxxxxxxx"}"; line: 1, column: 1]
   	at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
   	at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1741)
   	at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1515)
   	at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1462)
   	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:392)
   	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:252)
   	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28)
   	at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
   	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4674)
   	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3629)
   	at org.apache.dolphinscheduler.common.utils.JSONUtils.toList(JSONUtils.java:184)
   	at org.apache.dolphinscheduler.spi.params.PluginParamsTransfer.transferJsonToParamsList(PluginParamsTransfer.java:42)
   	at org.apache.dolphinscheduler.spi.params.PluginParamsTransfer.getPluginParamsMap(PluginParamsTransfer.java:49)
   	at org.apache.dolphinscheduler.alert.service.AbstractEventSender.doSendEvent(AbstractEventSender.java:125)
   	at org.apache.dolphinscheduler.alert.service.AbstractEventSender.sendEvent(AbstractEventSender.java:73)
   	at org.apache.dolphinscheduler.alert.service.AlertEventLoop.handleEvent(AlertEventLoop.java:43)
   	at org.apache.dolphinscheduler.alert.service.AlertEventLoop.handleEvent(AlertEventLoop.java:27)
   	at org.apache.dolphinscheduler.alert.service.AbstractEventLoop.lambda$run$0(AbstractEventLoop.java:73)
   	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:750)
   [INFO] 2026-03-16 16:30:59.215 +0800 org.apache.dolphinscheduler.plugin.alert.feishu.FeiShuSender:[137] - send fei shu alert msg  exception : 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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS closed issue #16653: [Bug] [ALERT] send msg Cannot deserialize value
URL: https://github.com/apache/dolphinscheduler/issues/16653


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-2372670732

   > Approximately when can we expect it
   
   Maybe in the first quarter of 2025.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "matthewwalker1621-star (via GitHub)" <gi...@apache.org>.
matthewwalker1621-star commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-4066537399

   Not stale
   
   On Mon, Mar 16, 2026, 4:25 AM xiangzihao ***@***.***> wrote:
   
   > *SbloodyS* left a comment (apache/dolphinscheduler#16653)
   > <https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-4066247484>
   >
   > You are still using 3.2.2 since we mistakenly marked the version of
   > t_ds_version as 3.3.0 in 3.2.2. You can see that the version of jar under
   > libs should be 3.2.2. @typing-developer
   > <https://github.com/typing-developer>
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-4066247484>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/B7GHLXB6HDVRCWQQCIFHHQ34Q7B7VAVCNFSM6AAAAACWTDY6PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DANRWGI2DONBYGQ>
   > .
   > You are receiving this because you are subscribed to this thread.Message
   > ID: ***@***.***>
   >
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [Module Name] send msg Cannot deserialize value [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-2370301866

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   发送http告警的时候报错
   ![image](https://github.com/user-attachments/assets/d79376db-de1a-4175-9fc2-8c5e4555777e)
   [ERROR] 2024-09-24 14:01:25.630 +0800 o.a.d.c.u.JSONUtils:[186] - parse list exception!
   com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList<org.apache.dolphinscheduler.spi.params.base.PluginParams>` from Object value (token `JsonToken.START_OBJECT`)
    at [Source: (String)"{"headerParams":" {\"Content-Type\": \"application/json\"}","requestType":"POST","bodyParams":"{ \"msgtype\": \"text\",   \"text\": {\"content\": 'test' } }","url":"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=key","contentField":"text.content","timeout":"120"}"; line: 1, column: 1]
           at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
           at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1741)
           at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1515)
           at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1462)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:392)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:252)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28)
           at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
           at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4674)
           at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3629)
           at org.apache.dolphinscheduler.common.utils.JSONUtils.toList(JSONUtils.java:184)
           at org.apache.dolphinscheduler.spi.params.PluginParamsTransfer.transferJsonToParamsList(PluginParamsTransfer.java:42)
           at org.apache.dolphinscheduler.spi.params.PluginParamsTransfer.getPluginParamsMap(PluginParamsTransfer.java:49)
           at org.apache.dolphinscheduler.alert.service.AbstractEventSender.doSendEvent(AbstractEventSender.java:125)
           at org.apache.dolphinscheduler.alert.service.AbstractEventSender.sendEvent(AbstractEventSender.java:73)
           at org.apache.dolphinscheduler.alert.service.ListenerEventLoop.handleEvent(ListenerEventLoop.java:38)
           at org.apache.dolphinscheduler.alert.service.ListenerEventLoop.handleEvent(ListenerEventLoop.java:24)
           at org.apache.dolphinscheduler.alert.service.AbstractEventLoop.lambda$run$0(AbstractEventLoop.java:73)
           at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   
   ### What you expected to happen
   
   期望正确请求接口
   
   ### How to reproduce
   
   ![image](https://github.com/user-attachments/assets/7679a85f-42a0-457d-87fc-29796fb30661)
   ![image](https://github.com/user-attachments/assets/44bfbb17-75e0-406e-8ff6-dbaf41490d7d)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "wingowen (via GitHub)" <gi...@apache.org>.
wingowen commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-3072929254

   How can I fix this problem without upgrading? I am using version 3.2.2


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "williamlin88 (via GitHub)" <gi...@apache.org>.
williamlin88 commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-2833410650

   How can I fix this problem without upgrading? I am using version 3.2.2


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-4066247484

   You are still using `3.2.2` since we mistakenly marked the version of `t_ds_version` as `3.3.0` in `3.2.2`. You can see that the version of jar under libs should be `3.2.2`. @typing-developer 


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "happyBluebirds (via GitHub)" <gi...@apache.org>.
happyBluebirds commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-2370956416

   Approximately when can we expect it


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [ALERT] send msg Cannot deserialize value [dolphinscheduler]

Posted by "sixly (via GitHub)" <gi...@apache.org>.
sixly commented on issue #16653:
URL: https://github.com/apache/dolphinscheduler/issues/16653#issuecomment-2832984879

   How can I fix this problem without upgrading? I am using version 3.2.2


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org