## Release History\r
\r
+### Current Release\r
+\r
+**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%) | [war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%) | [express](http://code.google.com/p/gitblit/downloads/detail?name=%EXPRESS%) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=%MANAGER%) | [api](http://code.google.com/p/gitblit/downloads/detail?name=%API%)) based on [%JGIT%][jgit] *released %BUILDDATE%*\r
+\r
+#### fixes\r
+\r
+- Fixed nullpointer when using web.allowForking = true && git.cacheRepositoryList = false (issue 182)\r
+\r
+### Older Releases\r
+\r
<div class="alert alert-info">\r
<h4>Update Note</h4>\r
-The permissions model has changed in this release.\r
+The permissions model has changed in the 1.2.0 release.\r
<p>If you are updating your server, you must also update any Gitblit Manager and Federation Client installs to 1.2.0 as well. The data model used by the RPC mechanism has changed slightly for the new permissions infrastructure.</p>\r
</div>\r
\r
-### Current Release\r
-\r
-**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%) | [war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%) | [express](http://code.google.com/p/gitblit/downloads/detail?name=%EXPRESS%) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=%MANAGER%) | [api](http://code.google.com/p/gitblit/downloads/detail?name=%API%)) based on [%JGIT%][jgit] *released %BUILDDATE%*\r
+**1.2.0** *released 2012-12-31*\r
\r
#### fixes\r
\r
- added XZ for Java 1.0\r
<hr/>\r
\r
-### Older Releases\r
-\r
<div class="alert alert-error">\r
<h4>Update Note</h4>\r
If you are updating from an earlier release AND you have indexed branches with the Lucene indexing feature, you need to be aware that this release will completely re-index your repositories. Please be sure to provide ample heap resources as appropriate for your installation.\r
ProjectModel project = getProjectModel(userProject);\r
for (String repository : project.repositories) {\r
if (repository.startsWith(userProject)) {\r
- RepositoryModel model = repositoryListCache.get(repository);\r
+ RepositoryModel model = getRepositoryModel(repository);\r
if (model.originRepository.equalsIgnoreCase(origin)) {\r
// user has a fork\r
return model.name;\r