Skip to content

完猜单词的时候出现空指针报警 #197

Closed
@zyxdtk

Description

@zyxdtk

在centos8上自行编译的。可以执行"讲个笑话"这样的插件。但是一旦用”个人猜单词“功能就会报错
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x70b8ff]

goroutine 16 [running]:
github.com/fumiama/go-registry.(*Regedit).Get(0xc0000a6500, {0xc0000b0000?, 0x0?})
github.com/fumiama/[email protected]/reg.go:96 +0x13f
github.com/FloatTech/zbputils/file.GetLazyData({0xc0000b0000, 0x17}, 0x1, 0x1)
github.com/FloatTech/[email protected]/file/updater.go:71 +0x368
github.com/zyxdtk/ZeroBot-Plugin/plugin/wordle.init.0.func3.1(0xc000340fc0?)
github.com/zyxdtk/ZeroBot-Plugin/plugin/wordle/wordle.go:89 +0x106
created by github.com/zyxdtk/ZeroBot-Plugin/plugin/wordle.init.0.func3
github.com/zyxdtk/ZeroBot-Plugin/plugin/wordle/wordle.go:87 +0x18c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions