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

panic: reflect: call of reflect.Value.Type on zero Value #50

Open
chenyingqiao opened this issue Sep 12, 2023 · 0 comments
Open

panic: reflect: call of reflect.Value.Type on zero Value #50

chenyingqiao opened this issue Sep 12, 2023 · 0 comments

Comments

@chenyingqiao
Copy link

problem:
panic: reflect: call of reflect.Value.Type on zero Value

goroutine 1327 [running]:
reflect.Value.typeSlow({0x0?, 0x0?, 0x26?})
/usr/local/go/src/reflect/value.go:2610 +0x12e
reflect.Value.Type(...)
/usr/local/go/src/reflect/value.go:2605
github.com/sanity-io/litter.(*dumpState).dumpVal(0xc001fb8540, {0x0?, 0x0?, 0x1bd3400?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:349 +0x1e9
github.com/sanity-io/litter.(*dumpState).dumpMap(0xc001fb8540, {0x1c9d260?, 0xc0035d7c80?, 0xc0035d7c80?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:211 +0x3d5
github.com/sanity-io/litter.(*dumpState).dumpVal.func4()
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:423 +0x29
github.com/sanity-io/litter.(*dumpState).descendIntoPossiblePointer(0xc001fb8540, {0x1c9d260?, 0xc0035d7c80?, 0xc00380a800?}, 0xc000b0b3f8)
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:318 +0x2d9
github.com/sanity-io/litter.(*dumpState).dumpVal(0xc001fb8540, {0x1c9d260?, 0xc0035d7c80?, 0x0?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:422 +0x5d6
github.com/sanity-io/litter.(*dumpState).dumpStruct(0xc001fb8540, {0x1e05420?, 0xc0035d7c80?, 0x30?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:163 +0x454
github.com/sanity-io/litter.(*dumpState).dumpVal(0xc001fb8540, {0x1e05420?, 0xc0035d7c80?, 0x1bd3400?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:427 +0x7f5
github.com/sanity-io/litter.(*dumpState).dumpMap(0xc001fb8540, {0x1c9d680?, 0xc0013b6570?, 0xc0013b6570?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:211 +0x3d5
github.com/sanity-io/litter.(*dumpState).dumpVal.func4()
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:423 +0x29
github.com/sanity-io/litter.(*dumpState).descendIntoPossiblePointer(0xc001fb8540, {0x1c9d680?, 0xc0013b6570?, 0x1c9d680?}, 0xc000b0b960)
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:318 +0x2d9
github.com/sanity-io/litter.(*dumpState).dumpVal(0xc001fb8540, {0x1c9d680?, 0xc0013b6570?, 0x1c9d680?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:422 +0x5d6
github.com/sanity-io/litter.(*dumpState).dump(0x1c9d680?, {0x1c9d680?, 0xc0013b6570?})
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:293 +0x9a
github.com/sanity-io/litter.Options.Sdump({0x0, 0x0, 0x1, 0x0, 0xc0008d6640, 0x0, {0x0, 0x0}, {0x2274b40, 0x1}, ...}, ...)
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:504 +0xd5
github.com/sanity-io/litter.Sdump(...)
/go/pkg/mod/github.com/sanity-io/[email protected]/dump.go:481
git.myscrm.cn/tools/pipeline-common/v2/pipeline/executor.workloadCleanUp({0x2296640, 0xc000832000}, 0x229bcd0?, {0x22a1ee0, 0xc001a1c000})
/go/pkg/mod/git.myscrm.cn/tools/[email protected]/v2/pipeline/executor/k8s_watchdog.go:107 +0x428
git.myscrm.cn/tools/pipeline-common/v2/pipeline/executor.crontabToCleanUp({0x2296640, 0xc000832000}, 0x1427940?, {0x22a1ee0, 0xc001a1c000})
/go/pkg/mod/git.myscrm.cn/tools/[email protected]/v2/pipeline/executor/k8s_watchdog.go:86 +0x225
created by git.myscrm.cn/tools/pipeline-common/v2/pipeline/executor.RunWatchDog.func1
/go/pkg/mod/git.myscrm.cn/tools/[email protected]/v2/pipeline/executor/k8s_watchdog.go:27 +0x1ba

lib version:v1.5.5
golang: 1.20

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

No branches or pull requests

1 participant