healchow opened a new issue, #5759:
URL: https://github.com/apache/inlong/issues/5759

   ### What happened
   
   When adding one Pulsar cluster, there is an error occurred:
   
   ```
   2022-08-31 09:24:43.740 -ERROR [http-nio-8083-exec-4] 
w.c.ControllerExceptionHandler:114 - failed to handle request on path: 
/inlong/manager/api/cluster/save by user: admin 
   org.springframework.http.converter.HttpMessageNotReadableException: JSON 
parse error: Could not resolve type id 'PULSAR' as a subtype of 
`org.apache.inlong.manager.pojo.cluster.ClusterRequest`: known type ids = []; 
nested exception is com.fasterxml.jackson.databind.exc.InvalidTypeIdException: 
Could not resolve type id 'PULSAR' as a subtype of 
`org.apache.inlong.manager.pojo.cluster.ClusterRequest`: known type ids = []
    at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); 
line: 1, column: 38]
           at 
org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:391)
 ~[spring-web-5.3.20.jar:5.3.20]
   ```
   
   ### What you expected to happen
   
   No error throws.
   
   ### How to reproduce
   
   Save a cluster info.
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong Manager
   
   ### Are you willing to submit PR?
   
   - [X] 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: [email protected]

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

Reply via email to