DoNewsCode/core

test failures

Reasno opened this issue · 0 comments

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

goroutine 131 [running]:
github.com/DoNewsCode/core/otkafka/processor.(*testHandlerA).Handle(0xc0000112a0, 0x14298e0, 0xc000228c80, 0x0, 0xc00020de50, 0xc000228c90, 0x437c95, 0xc00022a4e0)
	/home/runner/work/core/core/otkafka/processor/processor_test.go:35 +0xa8
github.com/DoNewsCode/core/otkafka/processor.(*handler).handle(0xc000119630, 0x14298e0, 0xc000228c80, 0x0, 0x0)
	/home/runner/work/core/core/otkafka/processor/processor.go:229 +0x205
github.com/DoNewsCode/core/otkafka/processor.(*Processor).ProvideRunGroup.func3(0x4a4d81, 0x0)
	/home/runner/work/core/core/otkafka/processor/processor.go:161 +0x8e
github.com/oklog/run.(*Group).Run.func1(0xc00022a720, 0xc0000afa00, 0xc0000afa20)
	/home/runner/go/pkg/mod/github.com/oklog/run@v1.1.0/group.go:38 +0x35
created by github.com/oklog/run.(*Group).Run
	/home/runner/go/pkg/mod/github.com/oklog/run@v1.1.0/group.go:37 +0x125
FAIL	github.com/DoNewsCode/core/otkafka/processor	3.225s

https://github.com/DoNewsCode/core/runs/2619277443?check_suite_focus=true

@GGXXLL