skandragon commented on issue #13439: URL: https://github.com/apache/skywalking/issues/13439#issuecomment-3216022093
> If the last main branch works, it means this had been fixed. What is this issue about? If you follow those steps in the "how to reproduce" do you get a failure like this? ## checked out via "git checkout" ``` lakerunner(batching-v2): license-eye header check INFO Loading configuration from file: .licenserc.yaml INFO Totally checked 454 files, valid: 266, invalid: 0, ignored: 188, fixed: 0 `` ## worktree checked out ``` lakerunner(batching-v2): git worktree add ../lakerunner-main main Preparing worktree (checking out 'main') HEAD is now at 7d1dae4 Trace compaction fixes (#73) lakerunner(batching-v2): cd ../lakerunner-main lakerunner-main(main): license-eye header check INFO Loading configuration from file: .licenserc.yaml panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x100ebcdb8] goroutine 1 [running]: github.com/go-git/go-git/v5/plumbing.(*Reference).Hash(...) github.com/go-git/go-git/v5@v5.13.0/plumbing/reference.go:274 github.com/apache/skywalking-eyes/pkg/header.listFiles(0x14000612900) github.com/apache/skywalking-eyes/pkg/header/check.go:96 +0x4d8 github.com/apache/skywalking-eyes/pkg/header.Check(0x14000612900, 0x140000e5be0) github.com/apache/skywalking-eyes/pkg/header/check.go:42 +0x24 github.com/apache/skywalking-eyes/commands.init.func4(0x14000612600?, {0x101e11be0, 0x0, 0x0}) github.com/apache/skywalking-eyes/commands/header_check.go:45 +0x128 github.com/spf13/cobra.(*Command).execute(0x101dc3620, {0x101e11be0, 0x0, 0x0}) github.com/spf13/cobra@v1.6.1/command.go:916 +0x648 github.com/spf13/cobra.(*Command).ExecuteC(0x101dc3be0) github.com/spf13/cobra@v1.6.1/command.go:1044 +0x320 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.6.1/command.go:968 github.com/apache/skywalking-eyes/commands.Execute() github.com/apache/skywalking-eyes/commands/root.go:62 +0x134 main.main() github.com/apache/skywalking-eyes/cmd/license-eye/main.go:28 +0x1c ``` -- 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. To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org