Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gerrit is crashing trying to render a markdown page (I think) #75

Closed
GoogleCodeExporter opened this issue Nov 17, 2015 · 5 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Go to:

https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/reference.
md

and get a 500 server error.

This file is probably quite large, and it's entirely possible that there's some 
bad markdown in it somewhere ...

Original issue reported on code.google.com by dpranke@chromium.org on 18 Apr 2015 at 12:07

@GoogleCodeExporter
Copy link
Author

Okay, it looks like the [TOC] directive is choking on multiple headers with the 
same text. I'll temporarily land a fix that disables the TOC ...

Original comment by dpranke@chromium.org on 18 Apr 2015 at 12:13

@GoogleCodeExporter
Copy link
Author

Unexpected exception caught during GET 
chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/reference.md
java.lang.IllegalArgumentException: value already present: Examples-cd0f7cff
    at com.google.common.collect.HashBiMap.put(HashBiMap.java:236)
    at com.google.common.collect.HashBiMap.put(HashBiMap.java:213)
    at com.google.gitiles.doc.TocFormatter.idFromHeader(TocFormatter.java:76)
    at com.google.gitiles.doc.TocFormatter.outline(TocFormatter.java:117)
    at com.google.gitiles.doc.TocFormatter.outline(TocFormatter.java:104)
    at com.google.gitiles.doc.TocFormatter.outline(TocFormatter.java:107)
    at com.google.gitiles.doc.TocFormatter.format(TocFormatter.java:94)
    at com.google.gitiles.doc.MarkdownToHtml.visit(MarkdownToHtml.java:115)
    at com.google.gitiles.doc.TocNode.accept(TocNode.java:27)
    at com.google.gitiles.doc.MarkdownToHtml.visitChildren(MarkdownToHtml.java:522)
    at com.google.gitiles.doc.MarkdownToHtml.visit(MarkdownToHtml.java:110)
    at org.pegdown.ast.RootNode.accept(RootNode.java:51)
    at com.google.gitiles.doc.MarkdownToHtml.toSoyHtml(MarkdownToHtml.java:103)
    at com.google.gitiles.doc.DocServlet.showDoc(DocServlet.java:187)
    at com.google.gitiles.doc.DocServlet.doGetHtml(DocServlet.java:141)
    at com.google.gitiles.BaseServlet.doGet(BaseServlet.java:117)

Original comment by jrn@google.com on 18 Apr 2015 at 12:22

@GoogleCodeExporter
Copy link
Author

I guess this is probably a bug in gitiles, not gerrit; I'll re-file it there.

Original comment by dpranke@chromium.org on 21 Jun 2015 at 5:03

@GoogleCodeExporter
Copy link
Author

https://gerrit-review.googlesource.com/68871

Original comment by sop@google.com on 22 Jun 2015 at 9:25

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Original comment by sop@google.com on 24 Jun 2015 at 5:37

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant