davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Internal error on repository with no master branch #510

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Go to repository page, this repo has no master branch pushed yet
2.Click on commit link, to see commit details
3.Get a internal error message

I attach error logs, from Gitblit 1.6.0, but I can't say if this error exists 
or not before upgrade.

Not a huge error, cause It's not normal for a repo to not have a branch master 
but it can happen sometimes.

Issue can be fixed by pushing a 'master' branch

Original issue reported on code.google.com by not...@gmail.com on 30 Sep 2014 at 2:15

Attachments:

GoogleCodeExporter commented 9 years ago
Can you post the complete stacktrace?  It's clipped right the important part.

Original comment by James.Mo...@gmail.com on 30 Sep 2014 at 2:18

GoogleCodeExporter commented 9 years ago
It's the complete stacktrace, I was surprised to when I see the 
NullPointerException, but there is nothing after this line.

Original comment by not...@gmail.com on 30 Sep 2014 at 2:27

GoogleCodeExporter commented 9 years ago
There are some changes in 1.6.1-SNAPSHOT that may already address this issue, 
but I'm not 100% sure on that.

Original comment by James.Mo...@gmail.com on 30 Sep 2014 at 2:35

GoogleCodeExporter commented 9 years ago
I can't reproduce this and the clipped NPE is odd. Perhaps you'll have better 
luck with 1.6.1-SNAPSHOT.

Original comment by James.Mo...@gmail.com on 30 Sep 2014 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by James.Mo...@gmail.com on 24 Oct 2014 at 12:05