You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by GitBox <gi...@apache.org> on 2022/03/21 08:20:38 UTC

[GitHub] [incubator-linkis] peacewong opened a new issue #1766: [Bug] [RM] dealWithResourceUsedProtocol processing has NPE bug

peacewong opened a new issue #1766:
URL: https://github.com/apache/incubator-linkis/issues/1766


   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-cg-manager
   
   ### What happened + What you expected to happen
   
   dealWithResourceUsedProtocol processing has NPE bug
   dealWithResourceUsedProtocol 处理存在NPE Bug
   ```
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
   Caused by: java.lang.NullPointerException
           at org.apache.linkis.resourcemanager.message.RMMessageService$$anonfun$dealWithResourceUsedProtocol$3$$anonfun$apply$1.apply(RMMessageService.scala:48) ~[linkis-resource-manager-1.1.1-20220319.135408-10.jar:1.1.1-SNAPSHOT]
           at org.apache.linkis.resourcemanager.message.RMMessageService$$anonfun$dealWithResourceUsedProtocol$3$$anonfun$apply$1.apply(RMMessageService.scala:48) ~[linkis-resource-manager-1.1.1-20220319.135408-10.jar:1.1.1-SNAPSHOT]
           at org.apache.linkis.common.utils.Logging$class.warn(Logging.scala:50) ~[linkis-common-1.1.1-20220319.133903-12.jar:1.1.1-SNAPSHOT]
           at org.apache.linkis.resourcemanager.message.RMMessageService.warn(RMMessageService.scala:31) ~[linkis-resource-manager-1.1.1-20220319.135408-10.jar:1.1.1-SNAPSHOT]
           at org.apache.linkis.resourcemanager.message.RMMessageService$$anonfun$dealWithResourceUsedProtocol$3.apply(RMMessageService.scala:48) ~[linkis-resource-manager-1.1.1-20220319.135408-10.jar:1.1.1-SNAPSHOT]
           at org.apache.linkis.resourcemanager.message.RMMessageService$$anonfun$dealWithResourceUsedProtocol$3.apply(RMMessageService.scala:45) ~[linkis-resource-manager-1.1.1-20220319.135408-10.jar:1.1.1-SNAPSHOT]
           at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:53) ~[linkis-common-1.1.1-20220319.133903-12.jar:1.1.1-SNAPSHOT]
           at org.apache.linkis.resourcemanager.message.RMMessageService.dealWithResourceUsedProtocol(RMMessageService.scala:45) ~[linkis-resource-manager-1.1.1-20220319.135408-10.jar:1.1.1-SNAPSHOT]
           ... 32 more
   ```
   
   ### Relevent platform
   
   all
   
   ### Reproduction script
   
   no
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] 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: dev-unsubscribe@linkis.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org