You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/07/03 08:41:52 UTC

[GitHub] [iotdb] qiaojialin opened a new pull request #3497: [To rel/0.12] [IOTDB-1464] fix take byte array null pointer

qiaojialin opened a new pull request #3497:
URL: https://github.com/apache/iotdb/pull/3497


   The BlockingDeque has some buffered ByteArrayOutputStream to reuse.
   However, if the buffered ByteArrayOutputStreams are all in use, the poll() method will return a null object without waiting. which causes a null pointer.
   
   So, we need to use the take() method to take a ByteArrayOutputStream until we could take one.
   
   


-- 
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: reviews-unsubscribe@iotdb.apache.org

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



[GitHub] [iotdb] qiaojialin merged pull request #3497: [To rel/0.12] [IOTDB-1464] fix take byte array null pointer

Posted by GitBox <gi...@apache.org>.
qiaojialin merged pull request #3497:
URL: https://github.com/apache/iotdb/pull/3497


   


-- 
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: reviews-unsubscribe@iotdb.apache.org

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