-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix make this ms runable #5
base: master
Are you sure you want to change the base?
Conversation
1. mongo v6.0 deprecates the OP_QUERY call
1. New version of OpenFaaS deprecates the Java8 template making the functions unable to build
1. Since the env var ${MASTER_IP} doesn't work in here
看起来这个版本年久失修,这两天运行了下,主要问题有:
|
This is because the lack of nginx configuration on cancle-ticket request 1. add nginx configuration of cancel-ticekt API 2. customize docker image: `diomwu/serverless_tt_frontend:nginx-update`
@@ -58,6 +61,9 @@ public static <T> T json2Object(String json, Class<T> cls) { | |||
ObjectMapper objectMapper = new ObjectMapper(); | |||
result = objectMapper.readValue(json, cls); | |||
} catch (IOException e) { | |||
e.printStackTrace(); | |||
System.out.println("e.getMessage="+e.getMessage()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
您好,在做实验的时候,此处突然报错e.getMessage=No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
e=com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
但之前查询车票没有问题,不知是什么原因。尝试打印了这里的json也没什么问题。您在这里做了修复,请问是也遇到过这种情况吗,如何解决呢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
印象中这个原因是因为下游函数返回空值导致的,get-left-trip-tickets
这个函数有很多下游函数,可以看看下游函数的执行情况。打印了json没什么问题是result
得到预期结果的意思吗?
@@ -58,6 +61,9 @@ public static <T> T json2Object(String json, Class<T> cls) { | |||
ObjectMapper objectMapper = new ObjectMapper(); | |||
result = objectMapper.readValue(json, cls); | |||
} catch (IOException e) { | |||
e.printStackTrace(); | |||
System.out.println("e.getMessage="+e.getMessage()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
您好,在做实验的时候,此处突然报错e.getMessage=No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
e=com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
但之前查询车票没有问题,不知是什么原因。尝试打印了这里的json也没什么问题。您在这里做了修复,请问是也遇到过这种情况吗,如何解决呢
No description provided.