java.lang.NoClassDefFoundError: Could not initialize class com.google.gitiles.doc.GitilesMarkdown

Google Groups | Makson Lee | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Could not initialize class com.google.gitiles.doc.GitilesMarkdown

    at com.google.gitiles.ReadmeHelper.render()
  2. com.google.gitiles
    BaseServlet.doGet
    1. com.google.gitiles.ReadmeHelper.render(ReadmeHelper.java:100)
    2. com.google.gitiles.TreeSoyData.toSoyData(TreeSoyData.java:151)
    3. com.google.gitiles.PathServlet.showTree(PathServlet.java:489)
    4. com.google.gitiles.PathServlet.doGetHtml(PathServlet.java:139)
    5. com.google.gitiles.BaseServlet.doGet(BaseServlet.java:112)
    5 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    2 frames
  4. com.google.gitiles
    GitilesFilter$DispatchFilter$1.doFilter
    1. com.google.gitiles.GitilesFilter$DispatchFilter$1.doFilter(GitilesFilter.java:157)
    1 frame
  5. com.googlesource.gerrit
    MenuFilter.doFilter
    1. com.googlesource.gerrit.plugins.gitiles.MenuFilter.doFilter(MenuFilter.java:63)
    1 frame
  6. com.google.gitiles
    AbstractHttpFilter.doFilter
    1. com.google.gitiles.GitilesFilter$DispatchFilter$1.doFilter(GitilesFilter.java:155)
    2. com.google.gitiles.GitilesFilter$DispatchFilter.doFilter(GitilesFilter.java:160)
    3. com.google.gitiles.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
    3 frames
  7. JGit - HTTP Server
    UrlPipeline$Chain.doFilter
    1. org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)
    1 frame
  8. com.google.gitiles
    ViewFilter.doFilter
    1. com.google.gitiles.ViewFilter.doFilter(ViewFilter.java:128)
    2. com.google.gitiles.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
    3. com.google.gitiles.ViewFilter.doFilter(ViewFilter.java:36)
    3 frames
  9. JGit - HTTP Server
    UrlPipeline$Chain.doFilter
    1. org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)
    1 frame
  10. com.google.gitiles
    AbstractHttpFilter.doFilter
    1. com.google.gitiles.RepositoryFilter.doFilter(RepositoryFilter.java:50)
    2. com.google.gitiles.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
    2 frames
  11. JGit - HTTP Server
    MetaServlet.service
    1. org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)
    2. org.eclipse.jgit.http.server.glue.UrlPipeline.service(UrlPipeline.java:215)
    3. org.eclipse.jgit.http.server.glue.RegexPipeline.service(RegexPipeline.java:149)
    4. org.eclipse.jgit.http.server.glue.MetaFilter.doFilter(MetaFilter.java:175)
    5. org.eclipse.jgit.http.server.glue.MetaServlet.service(MetaServlet.java:133)
    5 frames
  12. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  13. Guice - Servlet
    ManagedServletPipeline.service
    1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
    2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
    3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
    4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    4 frames
  14. com.googlesource.gerrit
    HttpModule$1.doFilter
    1. com.googlesource.gerrit.plugins.gitiles.SetContextClassLoader.doFilter(SetContextClassLoader.java:42)
    2. com.googlesource.gerrit.plugins.gitiles.LoginFilter.doFilter(LoginFilter.java:71)
    3. com.googlesource.gerrit.plugins.gitiles.HttpModule$1.doFilter(HttpModule.java:81)
    3 frames
  15. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
    2. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135)
    2 frames
  16. com.google.gerrit
    HttpPluginServlet.service
    1. com.google.gerrit.httpd.plugins.HttpPluginServlet.service(HttpPluginServlet.java:239)
    1 frame
  17. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  18. Guice - Servlet
    ManagedServletPipeline.service
    1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)
    2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)
    3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)
    4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    4 frames
  19. com.google.gerrit
    GetUserFilter.doFilter
    1. com.google.gerrit.httpd.GetUserFilter.doFilter(GetUserFilter.java:82)
    1 frame
  20. com.google.gwtexpui
    CacheControlFilter.doFilter
    1. com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:73)
    1 frame
  21. com.google.gerrit
    RequestContextFilter.doFilter
    1. com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:122)
    2. com.google.gerrit.httpd.RequestMetricsFilter.doFilter(RequestMetricsFilter.java:60)
    3. com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:136)
    4. com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:105)
    5. com.google.gerrit.httpd.RequestContextFilter.doFilter(RequestContextFilter.java:75)
    5 frames
  22. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
    2. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135)
    2 frames
  23. Jetty
    HttpConnection.onFillable
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    10. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    12. org.eclipse.jetty.server.Server.handle(Server.java:499)
    13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    14 frames