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. I had running 0.7.0 and wanted to update to 0.8.1
2. Deleted old verion, merged my settings to web.xml
3. Start tomcat and access webapp in Firefox 9.x
What is the expected output? What do you see instead?
Gitblit webapp running; app not started
What version of the product are you using? On what operating system?
0.8.1; Apache Tomcat/6.0.32
Please provide any additional information below.
After looking at sourcecode there is wrong variable used in
src/com/gitblit/GitblitUserService.java in line 98:
there is:
for (String username : serviceImpl.getAllUsernames()) {
should be:
for (String username : service.getAllUsernames()) {
additional stacktrace:
2012-01-13 09:48:48 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.gitblit.GitBlit
java.lang.NullPointerException
at com.gitblit.GitblitUserService.createUserService(GitblitUserService.java:98)
at com.gitblit.GitblitUserService.setup(GitblitUserService.java:59)
at com.gitblit.GitBlit.setUserService(GitBlit.java:354)
at com.gitblit.GitBlit.configureContext(GitBlit.java:1766)
at com.gitblit.GitBlit.contextInitialized(GitBlit.java:1805)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:625)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Reported by ljaderdev on 2012-01-13 09:01:48
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 41
Reported by
ljaderdev
on 2012-01-13 09:01:48The text was updated successfully, but these errors were encountered: