You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.Set in gitblit.properties git.repositoriesFolder = /path/gitblit_links
1a. and git.searchRepositoriesSubfolders = true
1b. and git.searchRecursionDepth = -1
2./path/gitblit_links contains a set of folders like GroupA, GroupB & GroupC
3. GroupA, GroupB & GroupC contain the bare repos, which are sym links, like this:
ls -l /path/gitblit_links/*
/path/gitblit_links/GroupA:
total 0
lrwxrwxrwx 1 user grp 53 May 13 2014 RepoA.git -> /realPath/repositories/GroupA/RepoA.git
lrwxrwxrwx 1 user grp 53 May 13 2014 RepoB.git -> /realPath/repositories/GroupA/RepoB.git
/path/gitblit_links/GroupB:
lrwxrwxrwx 1 u1gitcld elsgit 43 Jul 8 07:35 RepoC.git -> /realPath/repositories/GroupB/RepoC.git
lrwxrwxrwx 1 u1gitcld elsgit 42 Aug 4 11:10 RepoD.git -> /realPath/repositories/GroupB/RepoD.git
What is the expected output? What do you see instead?
I expect Tomcat to start. Instead, I see the following error on startup:
2014-12-22 15:09:35 [INFO ] ----[com.gitblit.manager.IRepositoryManager]----
2014-12-22 15:09:35 [INFO ] Repositories folder : /path/gitblit_links
2014-12-22 15:09:35 [INFO ] Lucene will process indexed branches every 2 minutes.
2014-12-22 15:09:35 [INFO ] Garbage Collector (GC) is disabled.
2014-12-22 15:09:35 [INFO ] Mirror service is disabled.
2014-12-22 15:09:35 [INFO ] Alias UTF-9 & UTF-18 encodings as UTF-8 in JGit
2014-12-22 15:09:35 [INFO ] Preparing 14 day commit cache. please wait...
Dec 22, 2014 3:09:36 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.gitblit.servlet.GitblitContext
java.lang.NullPointerException
What version of the product are you using? On what operating system?
v1.6.2 (War distribution)
apache-tomcat-7.0.42
64 bit Oracle JDK jdk1.7.0_40
Red Hat 4.1.2-52
Please provide any additional information below.
Perhaps, related to Issue
Worked fine with ver 1.5.1 (although with different gitblit.properties, of course).
In this case, I went ahead and modified the new gitblit.properties (as opposed to
copying forward the one that worked in 1.5.1).
Starts just fine with the default value (of course, there are no repos)
Reported by sonia.shepherd@elsevier.com on 2014-12-22 20:33:32
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 541
Reported by
sonia.shepherd@elsevier.com
on 2014-12-22 20:33:32The text was updated successfully, but these errors were encountered: