We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2023/06/14 13:18:55 ...ices/task/migrate.go:47:func1() [E] PANIC during runMigrateTask[3] by DoerID[1] to RepoID[12] for OwnerID[1]: runtime error: invalid memory address or nil pointer dereference Stacktrace: /usr/local/Cellar/go/1.20.5/libexec/src/runtime/panic.go:260 (0x1000533fc) panicmem: panic(memoryError) /usr/local/Cellar/go/1.20.5/libexec/src/runtime/signal_unix.go:841 (0x1000533cc) sigpanic: panicmem() /Users/jason/code/gitea/gitea/services/migrations/github.go:490 (0x101dbf6fa) (*GithubDownloaderV3).GetIssues: Closed: &issue.ClosedAt.Time, /Users/jason/code/gitea/gitea/modules/migration/retry_downloader.go:142 (0x1012cdf6b) (*RetryDownloader).GetIssues.func1: issues, isEnd, err = d.Downloader.GetIssues(page, perPage) /Users/jason/code/gitea/gitea/modules/migration/retry_downloader.go:37 (0x1012cd529) (*RetryDownloader).retry: if err = work(); err == nil { /Users/jason/code/gitea/gitea/modules/migration/retry_downloader.go:141 (0x1012cdeac) (*RetryDownloader).GetIssues: err = d.retry(func() error { /Users/jason/code/gitea/gitea/services/migrations/migrate.go:333 (0x101dceb08) migrateRepository: issues, isEnd, err := downloader.GetIssues(i, issueBatchSize) /Users/jason/code/gitea/gitea/services/migrations/migrate.go:130 (0x101dcd67c) MigrateRepository: if err := migrateRepository(doer, downloader, uploader, opts, messenger); err != nil { /Users/jason/code/gitea/gitea/services/task/migrate.go:124 (0x1020c64e4) runMigrateTask: t.Repo, err = migrations.MigrateRepository(ctx, t.Doer, t.Owner.Name, *opts, func(format string, args ...interface{}) { /Users/jason/code/gitea/gitea/services/task/task.go:32 (0x1020c7424) Run: return runMigrateTask(t) /Users/jason/code/gitea/gitea/services/task/task.go:50 (0x1020c76cd) handler: if err := Run(task); err != nil { /Users/jason/code/gitea/gitea/modules/queue/workerqueue.go:246 (0x1017a0e9c) NewWorkerPoolQueueWithContext[...].func1: return w.origHandler(t...) /Users/jason/code/gitea/gitea/modules/queue/workergroup.go:98 (0x1017a368d) (*WorkerPoolQueue[...]).doWorkerHandle: unhandled := q.safeHandler(batch...) /Users/jason/code/gitea/gitea/modules/queue/workergroup.go:162 (0x1017a08a8) (*WorkerPoolQueue[...]).doStartNewWorker.func1: q.doWorkerHandle(batch) /usr/local/Cellar/go/1.20.5/libexec/src/runtime/asm_amd64.s:1598 (0x100073c60) goexit: BYTE $0x90 // NOP 2023/06/14 13:18:55 ...ices/task/migrate.go:60:func1() [E] runMigrateTask[3] by DoerID[1] to RepoID[12] for OwnerID[1] failed: PANIC whilst trying to do migrate task: runtime error: invalid memory address or nil pointer dereference 2023/06/14 13:18:56 ...ervices/task/task.go:51:handler() [E] Run task failed: PANIC whilst trying to do migrate task: runtime error: invalid memory address or nil pointer dereference
020ab3d
Yes
No response
Command.
PostgreSQL
The text was updated successfully, but these errors were encountered:
Fix panic when migrating a repo from GitHub with issues (#25246)
6348823
Fix #25245. Regression of #23946.
Fix panic when migrating a repo from GitHub with issues (go-gitea#25246)
65a52e6
Fix go-gitea#25245. Regression of go-gitea#23946.
Fix panic when migrating a repo from GitHub with issues (#25246) (#25247
8fa9d9d
) Backport #25246 by @wolfogre Fix #25245. Regression of #23946. Co-authored-by: Jason Song <i@wolfogre.com>
wolfogre
Successfully merging a pull request may close this issue.
Description
Logs
Gitea Version
020ab3d
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Command.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: