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 Error with Pull Request Submit #4572
Comments
#4565 Probably related |
Still getting panic error after building latest from master. |
Hi, why can't you reproduce on demo site? |
@unknwon, i did try on demo site: I forked https://try.gogs.io/kolgotcko/test, my repo is https://try.gogs.io/dracic/test. I have made one commit and then submitted a pull request. https://try.gogs.io/kolgotcko/test/compare/master...dracic:master gives error 500, but at the end the pull request is saved... Best regards |
Can confirm, we are experiencing this issue. Error 500, then pull request saved. |
Can confirm too on v0.10.8 . Here is the backtrace :
|
@unknown i had the same issue with latest release
|
Patch has pushed to fix this issue, please test on |
unable to test fix ... creating a fork causes an error 500 #4628 |
Should not load attributes if repository not found in HasForkedRepo.
@caffeineaddiction should be good now! Please help test again. |
@unknwon confirmed working on https://try.gogs.io when can we expect a new docker release of this fix? |
@caffeineaddiction I think it is already available ( |
@unknwon epic win, tyvm for the fix. I have tested in on both try.gogs.io as well as my local server via docker |
Tested pull request on master branch. Works fine now. Thanks! |
Hi, I have just updated gogs to 0.11.29 @ 2017-08-15 (Windows 386) following the steps enumerated in this link https://gogs.io/docs/upgrade/upgrade_from_binary. My git version is 2.12.0.windows.1 and I am using sql database. However I still find problems trying to submit a pull request. I cannot see any error, but the page stays waiting forever. Then anyone else navigating in gogs cannot list any repositories in any organization. |
[x]
):log/gogs.log
):Hi,
I am getting the following errors when submitting a pull request. The request went through but
I am getting an empty page on submit. Please let me know if there is a configuration I am missing.
Thanks.
Macaron] 2017-06-20 04:34:59: Started POST /vistara/itom2/compare/master...mangkang:master for 172.25.224.70
[Macaron] PANIC: runtime error: invalid memory address or nil pointer dereference
/usr/local/go/src/runtime/panic.go:489 (0x4340bf)
/usr/local/go/src/runtime/panic.go:63 (0x432f6e)
/usr/local/go/src/runtime/signal_unix.go:290 (0x44930f)
/home/vagrant/gopath/src/github.com/gogits/gogs/models/repo.go:612 (0xb7d70a)
/home/vagrant/gopath/src/github.com/gogits/gogs/models/repo.go:630 (0xb7dbe0)
/home/vagrant/gopath/src/github.com/gogits/gogs/models/repo.go:287 (0xb7a5df)
/home/vagrant/gopath/src/github.com/gogits/gogs/models/repo.go:314 (0xb7a8ea)
/home/vagrant/gopath/src/github.com/gogits/gogs/models/pull.go:140 (0xb6b775)
/home/vagrant/gopath/src/github.com/gogits/gogs/models/pull.go:444 (0xb6fd6d)
/home/vagrant/gopath/src/github.com/gogits/gogs/routers/repo/pull.go:705 (0xc2f699)
/usr/local/go/src/runtime/asm_amd64.s:516 (0x460726)
/usr/local/go/src/reflect/value.go:434 (0x4b279f)
/usr/local/go/src/reflect/value.go:302 (0x4b1d64)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:177 (0x88bd3f)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:137 (0x88b70a)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:121 (0x8a99e2)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:112 (0x8a9906)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/session/session.go:186 (0x901dc0)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:79 (0x8a9781)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:157 (0x88ba12)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:135 (0x88b80b)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:121 (0x8a99e2)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:112 (0x8a9906)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/recovery.go:161 (0x8bd26b)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/logger.go:40 (0x8ace98)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:157 (0x88ba12)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:135 (0x88b80b)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:121 (0x8a99e2)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:112 (0x8a9906)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/logger.go:52 (0x8bc4e4)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/logger.go:40 (0x8ace98)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:157 (0x88ba12)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/github.com/go-macaron/inject/inject.go:135 (0x88b80b)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/context.go:121 (0x8a99e2)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/router.go:187 (0x8be539)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/router.go:296 (0x8b65dd)
/home/vagrant/gopath/src/github.com/gogits/gogs/vendor/gopkg.in/macaron.v1/macaron.go:220 (0x8ae4dc)
/usr/local/go/src/net/http/server.go:2568 (0x6dc702)
/usr/local/go/src/net/http/server.go:3088 (0x6de103)
:312 (0x703024)
/usr/local/go/src/net/http/h2_bundle.go:4319 (0x6fa5ad)
/usr/local/go/src/net/http/h2_bundle.go:4599 (0x6b30f9)
/usr/local/go/src/runtime/asm_amd64.s:2197 (0x462dc1)
[Macaron] 2017-06-20 04:34:59: Completed POST /vistara/itom2/compare/master...mangkang:master 500 Internal Server Error in 103.436195ms
...
The text was updated successfully, but these errors were encountered: