-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Gogs version
latest
Git version
- Server: 2.46.0
- Client: 2.46.0
Operating system
MacOS
Database
sqlite3
Describe the bug
I've an integration between Drone CI/CD and Gogs which worked without any issue until some days ago when I discovered I cannot sync anymore new repositories. Investigating I found the API /api/v1/user/repos return 500 instead of returning all available repositories.
I deleted any fork, as per previous issue, but the error remains.
[Macaron] PANIC: runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:261 (0x455c57)
runtime/signal_unix.go:861 (0x455c25)
gogs.io/gogs/internal/database/repo.go:733 (0xe82a05)
gogs.io/gogs/internal/database/repo.go:753 (0xe80404)
gogs.io/gogs/internal/database/repo.go:365 (0xe803fa)
gogs.io/gogs/internal/database/repo.go:407 (0xe80924)
gogs.io/gogs/internal/route/api/v1/repo/repo.go:133 (0x1160d0b)
gogs.io/gogs/internal/route/api/v1/repo/repo.go:145 (0x1160f04)
reflect/value.go:596 (0x4ea946)
reflect/value.go:380 (0x4e9a18)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:177 (0x7f8d4c)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:137 (0x7f89af)
gopkg.in/macaron.v1@v1.5.0/context.go:125 (0x821a67)
gopkg.in/macaron.v1@v1.5.0/context.go:115 (0x8a19f5)
github.com/go-macaron/session@v0.0.0-20190805070824-1a3cdc6f5659/session.go:192 (0x8a19e4)
gopkg.in/macaron.v1@v1.5.0/context.go:81 (0x821915)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x7f8ad4)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x7f89f3)
gopkg.in/macaron.v1@v1.5.0/context.go:125 (0x821a67)
gopkg.in/macaron.v1@v1.5.0/context.go:115 (0x821996)
gopkg.in/macaron.v1@v1.5.0/recovery.go:161 (0x11a50b2)
gopkg.in/macaron.v1@v1.5.0/logger.go:40 (0x824f17)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x7f8ad4)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x7f89f3)
gopkg.in/macaron.v1@v1.5.0/context.go:125 (0x821a67)
gopkg.in/macaron.v1@v1.5.0/router.go:187 (0x82c3e9)
gopkg.in/macaron.v1@v1.5.0/router.go:295 (0x82d534)
gopkg.in/macaron.v1@v1.5.0/macaron.go:218 (0x826144)
net/http/server.go:2938 (0x7a182d)
net/http/server.go:2009 (0x79d713)
runtime/asm_amd64.s:1650 (0x474740)
To reproduce
No way to reproduce
Expected behavior
List own repositories
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct