You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "wForget (via GitHub)" <gi...@apache.org> on 2024/04/11 04:57:57 UTC

[I] [TASK][TRIVIAL] Avoid NPE in MySQLErrPacket [kyuubi]

wForget opened a new issue, #6291:
URL: https://github.com/apache/kyuubi/issues/6291

   ### What's the level of this task?
   
   EASY
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before creating
   
   - [X] I have searched in the [task list](https://github.com/orgs/apache/projects/343) and found no similar tasks.
   
   
   ### Mentor
   
   - [X] I have sufficient expertise on this task, and I volunteer to be a mentor of this task to guide contributors through the task.
   
   
   ### Skill requirements
   
   + Basic knowledge on scala
   
   ### Background and Goals
   
   NullPointerException may occur in MySQLErrPacket
   
   ```
   - transfer connection url when opening connection
   java.lang.NullPointerException
   	at org.apache.kyuubi.server.mysql.MySQLErrPacket$.apply(MySQLGenericPackets.scala:57)
   	at org.apache.kyuubi.server.mysql.MySQLCommandHandler.exceptionCaught(MySQLCommandHandler.scala:63)
   	at org.apache.kyuubi.server.mysql.MySQLCommandHandler.$anonfun$channelRead0$2(MySQLCommandHandler.scala:86)
   	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:750)
   ```
   
   ### Implementation steps
   
   Add non-null detection for `e.getMessage`
   
   ### Additional context
   
   Introduction of [2024H1 Kyuubi Code Contribution Program](https://github.com/apache/kyuubi/issues/6232)
   


-- 
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: notifications-unsubscribe@kyuubi.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] [TASK][TRIVIAL] Avoid NPE in MySQLErrPacket [kyuubi]

Posted by "zhaohehuhu (via GitHub)" <gi...@apache.org>.
zhaohehuhu commented on issue #6291:
URL: https://github.com/apache/kyuubi/issues/6291#issuecomment-2049168626

   plz assign this task to me @wForget 


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] [TASK][TRIVIAL] Avoid NPE in MySQLErrPacket [kyuubi]

Posted by "wForget (via GitHub)" <gi...@apache.org>.
wForget commented on issue #6291:
URL: https://github.com/apache/kyuubi/issues/6291#issuecomment-2049195003

   > plz assign this task to me @wForget
   
   thanks, assigned


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] [TASK][TRIVIAL] Avoid NPE in MySQLErrPacket [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 closed issue #6291: [TASK][TRIVIAL] Avoid NPE in MySQLErrPacket
URL: https://github.com/apache/kyuubi/issues/6291


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org