Alonexc opened a new issue, #2878:
URL: https://github.com/apache/incubator-eventmesh/issues/2878

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Environment
   
   Mac
   
   ### EventMesh version
   
   master
   
   ### What happened
   
   A deserialization exception occurs during the full WebHook test.
   
   ### How to reproduce
   
   When testing according to the WebHook documentation steps, a deserialization 
exception occurs when registering the listener interface with eventmesh.
   
   ### Debug logs
   
   ```
   org.apache.eventmesh.common.exception.JsonException: deserialize json string 
to typeReference error
        at 
org.apache.eventmesh.common.utils.JsonUtils.deserialize(JsonUtils.java:121) 
~[eventmesh-common-1.7.0-release.jar:1.7.0-release]
        at 
org.apache.eventmesh.runtime.core.protocol.http.processor.LocalSubscribeEventProcessor.handler(LocalSubscribeEventProcessor.java:91)
 ~[eventmesh-runtime-1.7.0-release.jar:1.7.0-release]
        at 
org.apache.eventmesh.runtime.core.protocol.http.processor.HandlerService$HandlerSpecific.run(HandlerService.java:263)
 [eventmesh-runtime-1.7.0-release.jar:1.7.0-release]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_311]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_311]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
   Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal character 
((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between 
tokens
    at [Source: 
(String)"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000";
 line: 1, column: 2]
        at 
com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2391) 
~[jackson-core-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:735)
 ~[jackson-core-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.core.base.ParserMinimalBase._throwInvalidSpace(ParserMinimalBase.java:713)
 ~[jackson-core-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipWSOrEnd(ReaderBasedJsonParser.java:2462)
 ~[jackson-core-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:698)
 ~[jackson-core-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4762)
 ~[jackson-databind-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4668)
 ~[jackson-databind-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3630) 
~[jackson-databind-2.13.0.jar:2.13.0]
        at 
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3613) 
~[jackson-databind-2.13.0.jar:2.13.0]
        at 
org.apache.eventmesh.common.utils.JsonUtils.deserialize(JsonUtils.java:119) 
~[eventmesh-common-1.7.0-release.jar:1.7.0-release]
        ... 5 more
   ```
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to