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

Online API documentation is broken #21637

Closed
nick-morhun opened this issue Mar 24, 2023 · 6 comments
Closed

Online API documentation is broken #21637

nick-morhun opened this issue Mar 24, 2023 · 6 comments

Comments

@nick-morhun
Copy link

nick-morhun commented Mar 24, 2023

Steps to Reproduce

  1. Go to http://docs.go-mono.com/?link=root:/classlib or any other node. I was redirected by the IDE, the same is reachable from https://www.mono-project.com/docs/faq/documentation/.

Current Behavior

System.InvalidOperationException
No stylesheet was loaded.
Description: HTTP 500.Error processing request.

Details: Non-web exception. Exception origin (name of application or object): System.Xml.

Expected Behavior

Web documentation available.

On which platforms did you notice this

[ *] macOS

Stacktrace

  at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader input, System.Xml.Xsl.XsltArgumentList arguments, System.Xml.XmlWriter results, System.Xml.XmlResolver documentResolver) [0x00007] in <7ff8f64b3a334d14838f500f5ad27e36>:0 
  at Monodoc.Generators.Html.Ecma2Html.Htmlize (System.Xml.XmlReader ecma_xml, System.Xml.Xsl.XsltArgumentList args) [0x00028] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.Generators.Html.Ecma2Html.Htmlize (System.Xml.XmlReader ecma_xml, System.Collections.Generic.Dictionary`2[TKey,TValue] extraArgs) [0x000a1] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.Generators.Html.Ecma2Html.Export (System.IO.Stream stream, System.Collections.Generic.Dictionary`2[TKey,TValue] extraArgs) [0x00013] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.Generators.HtmlGenerator.Generate (Monodoc.HelpSource hs, System.String id, System.Collections.Generic.Dictionary`2[TKey,TValue] context) [0x001ab] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.RootTree.RenderUrl[TOutput] (System.String url, Monodoc.IDocGenerator`1[TOutput] generator, Monodoc.Node& node, Monodoc.HelpSource hintSource) [0x00016] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.RootTree.RenderUrl (System.String url, Monodoc.Node& n) [0x00000] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Mono.Website.Handlers.MonodocHandler.HandleMonodocUrl (System.Web.HttpContext context, System.String link) [0x00183] in <2054a9c8b97c4c13a74c1064fe2d10c0>:0 
  at Mono.Website.Handlers.MonodocHandler.System.Web.IHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x0001c] in <2054a9c8b97c4c13a74c1064fe2d10c0>:0 
  at System.Web.HttpApplication+<Pipeline>d__225.MoveNext () [0x008fd] in <6be42e17951b438eaaf58a9aa197fc37>:0 
  at System.Web.HttpApplication.Tick () [0x00000] in <6be42e17951b438eaaf58a9aa197fc37>:0 
@sfsharapov
Copy link

I can't reproduce the issue

@TypoMustakes
Copy link

I was able to reproduce the issue on Arch Linux.

System.InvalidOperationException: No stylesheet was loaded.
Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): System.Xml.
Exception stack trace:

  at System.Xml.Xsl.XslCompiledTransform.CheckCommand () [0x00012] in <7ff8f64b3a334d14838f500f5ad27e36>:0 
  at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader input, System.Xml.Xsl.XsltArgumentList arguments, System.Xml.XmlWriter results, System.Xml.XmlResolver documentResolver) [0x00007] in <7ff8f64b3a334d14838f500f5ad27e36>:0 
  at Monodoc.Generators.Html.Ecma2Html.Htmlize (System.Xml.XmlReader ecma_xml, System.Xml.Xsl.XsltArgumentList args) [0x00028] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.Generators.Html.Ecma2Html.Htmlize (System.Xml.XmlReader ecma_xml, System.Collections.Generic.Dictionary`2[TKey,TValue] extraArgs) [0x000a1] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.Generators.Html.Ecma2Html.Export (System.IO.Stream stream, System.Collections.Generic.Dictionary`2[TKey,TValue] extraArgs) [0x00013] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.Generators.HtmlGenerator.Generate (Monodoc.HelpSource hs, System.String id, System.Collections.Generic.Dictionary`2[TKey,TValue] context) [0x001ab] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.RootTree.RenderUrl[TOutput] (System.String url, Monodoc.IDocGenerator`1[TOutput] generator, Monodoc.Node& node, Monodoc.HelpSource hintSource) [0x00016] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Monodoc.RootTree.RenderUrl (System.String url, Monodoc.Node& n) [0x00000] in <4d105c919a7541c0971a2eed0332b3b8>:0 
  at Mono.Website.Handlers.MonodocHandler.HandleMonodocUrl (System.Web.HttpContext context, System.String link) [0x00183] in <183b29e3027a436e99072e5e41a642c7>:0 
  at Mono.Website.Handlers.MonodocHandler.System.Web.IHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x0001c] in <183b29e3027a436e99072e5e41a642c7>:0 
  at System.Web.HttpApplication+<Pipeline>d__225.MoveNext () [0x008fd] in <6be42e17951b438eaaf58a9aa197fc37>:0 
  at System.Web.HttpApplication.Tick () [0x00000] in <6be42e17951b438eaaf58a9aa197fc37>:0 

@nick-morhun
Copy link
Author

Now it works.

@nick-morhun
Copy link
Author

Broken again.

@akoeplinger
Copy link
Member

This was fixed.

@nick-morhun
Copy link
Author

Broken again.

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

No branches or pull requests

4 participants