Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix NPE for err & msg in kafka_client.go #695

Merged
merged 1 commit into from
Jun 29, 2021
Merged

Conversation

martianzhang
Copy link
Contributor

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa32efb]

goroutine 269 [running]:
github.com/linkedin/Burrow/core/internal/consumer.(*KafkaClient).partitionConsumer(0xc000768fa0, 0xead338, 0xc00013d360, 0x0)
~/go/src/github.com/linkedin/Burrow/core/internal/consumer/kafka_client.go:270 +0x57b
created by github.com/linkedin/Burrow/core/internal/consumer.(*KafkaClient).startKafkaConsumer
~/go/src/github.com/linkedin/Burrow/core/internal/consumer/kafka_client.go:322 +0x8d6

maybe related issue: #634 #353 ?

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa32efb]

goroutine 269 [running]:
github.com/linkedin/Burrow/core/internal/consumer.(*KafkaClient).partitionConsumer(0xc000768fa0, 0xead338, 0xc00013d360, 0x0)
        ~/go/src/github.com/linkedin/Burrow/core/internal/consumer/kafka_client.go:270 +0x57b
created by github.com/linkedin/Burrow/core/internal/consumer.(*KafkaClient).startKafkaConsumer
        ~/go/src/github.com/linkedin/Burrow/core/internal/consumer/kafka_client.go:322 +0x8d6
@martianzhang martianzhang requested a review from bai as a code owner April 20, 2021 08:43
@bai bai merged commit 9bb078a into linkedin:master Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants