Page MenuHomePhabricator

TypeInitializationException
Closed, DuplicatePublic

Description

description:

workaround:

Exception:TypeInitializationException
Message:The type initializer for 'WikiFunctions.Parse.Parsers' threw an exception.
Call stack:<pre> at WikiFunctions.Parse.Parsers..ctor(Int32 stubWordCount, Boolean addHumanKey)
at AutoWikiBrowser.MainForm..ctor()</pre>
Inner exception:TypeInitializationException
Message:The type initializer for 'WikiFunctions.Parse.SiteMatrix' threw an exception.
Call stack:<pre> at WikiFunctions.Parse.SiteMatrix.GetProjectLanguages(ProjectEnum project)
at WikiFunctions.Parse.MetaDataSorter.set_InterWikiOrder(InterWikiOrderEnum value)
at WikiFunctions.Parse.MetaDataSorter..ctor()
at WikiFunctions.Parse.Parsers..cctor()</pre>
Inner exception:XmlException
Message:The 'img' start tag on line 21 does not match the end tag of 'a'. Line 22, position 3.
Call stack:<pre> at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
at System.Xml.XmlTextReaderImpl.ParseEndElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at WikiFunctions.Parse.SiteMatrix.LoadFromNetwork()
at WikiFunctions.Parse.SiteMatrix..cctor()</pre>

OS: Microsoft Windows NT 6.2.9200.0
version: AutoWikiBrowser (5.10.1.0), WikiFunctions (5.10.1.0), revision 12255 (2018-09-15 13:57:07)
net: 2.0.50727.9148
duplicate:
site: https://en.wikipedia.org

Event Timeline

JJMC89 renamed this task from unknown problem to TypeInitializationException.Dec 16 2019, 3:19 PM
JJMC89 removed A1 as the assignee of this task.