-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
500/RuntimeError while browsing organization repo list #7001
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
Comments
I'm having the same issue! Have had it for a while, but until Gitea 1.8.1, the IIS reverse proxy overtook the error page, which led me to believe IIS was doing something funky with that specific response from Gitea (Page 2 or more on any organization page). With 1.8.1 the Gitea 500 page is shown instead. Another interesting quirk is that you have to be signed in for the error to occur. My setup: Gitea: 1.7.6, 1.8.1 |
I just found out that the problem does not occur to admin users. Only non-admin users are affected??!? |
Confirmed, same result here. Logged out / anonymous: Works funky bug |
This corresponds to the code in Line 438 in 895764e
The stacktrace in my gist points to line 448 |
Could you check if branch https://github.com/lafriks/gitea/tree/backport/fix_repository_search fixes problem? I was not able to reproduce this problem locally |
It could be that on master this problem is already fixed by #6897 |
I can backport that if liked |
I have branch with backported changes already, I was just not able to reproduce issue, so I'm not sure if it actually fixes the problem :) |
Thank you, i'm just setting up a test environment to test a master build. |
The issue is fixed in the current master. Thank you. |
Please test with latest |
This issue is fixed in the current 1.8 build. |
[x]
):Description
When browsing an organization and switching to another page, an error 500 is displayed. The log reports "runtime error: invalid memory address or nil pointer dereference" (see gist).
Screenshots
The text was updated successfully, but these errors were encountered: