You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2019/11/06 12:10:41 UTC
[GitHub] [incubator-dolphinscheduler] nysyxxg opened a new pull request
#1170: Dev
nysyxxg opened a new pull request #1170: Dev
URL: https://github.com/apache/incubator-dolphinscheduler/pull/1170
access_token ,when get a access token ,Will cause null pointer, the NullPointerException。
Class:EnterpriseWeChatUtils
Code:
Map<String, Object> map = JSON.parseObject(resp, new TypeToken<Map<String, Object>>() {}.getType());
Object obj = map.get("access_token");
if(null == obj){
return "";
}
return obj.toString();
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services