Closed codekitchen closed 8 years ago
Please see release v2.11.3.162.2: it says quite explicitly "Gerrit 2.11.3 to 2.11.5 plugin..." and "This plugin version may not work correctly with earlier Gerrit versions."
Gerrit 2.11 is earlier than Gerrit 2.11.3, so I'm not surprised it fails.
Please use release v2.11.162.3 with Gerrit 2.11, or if you're feeling adventurous, you might try release v2.11.1.162.2 (built against Gerrit 2.11.1).
Oh shoot, I'm sorry about that. I missed that version mismatch, thanks. We were seeing the same issue using release 2.11.162.3
with this gerrit install, but I'll open a new issue if we're still seeing the problem after getting everything on the latest.
In any case I'm not sure I can do anything about this NPE. It is raised deep in Gitblit at RepositoryManager@1188. On that line, an NPE should occur only if either repositorySizeCache
or model
are null
. But if that were the case, an NPE would have been raised already earlier at lines 1183 or 1176.
Strange. Maybe giving the JVM Gerrit (and Gitblit) run in a little more memory might help. Otherwise: no idea how that particular exception trace could occur.
Running gerrit 2.11 and gerrit-gitblit 2.11.3.162.2
Sometimes when we restart gerrit a NullPointerException appears in the gerrit logs and visiting any gitblit page results in a 404 Not Found until we restart again. The log:
Apologies for not being on the latest gerrit version, I'm going to try and do that upgrade soon. I didn't see anything obviously related in the changelog for the plugin though.