You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/09/19 08:56:21 UTC
[GitHub] [pulsar-client-go] mileschao opened a new issue #64: producer
pending queue peek last with empty queue cause panic
mileschao opened a new issue #64: producer pending queue peek last with empty queue cause panic
URL: https://github.com/apache/pulsar-client-go/issues/64
#### Expected behavior
[pending queue peek last operator](https://github.com/apache/pulsar-client-go/blob/11755b26da59f58c2675708af1470fe493d92e37/pulsar/impl_partition_producer.go#L296) should deal with return value **nil**
#### Actual behavior
case panic:
> panic: interface conversion: interface {} is nil, not *pulsar.pendingItem
#### Steps to reproduce
this is code error
#### System configuration
**Pulsar version**: master branch
----------------------------------------------------------------
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