anoyetta / ACT.Hojoring

Advanced Combat Tracker の FFXIV向けプラグインです。トリガ、TTSの拡張、HUDの拡張など。
BSD 3-Clause "New" or "Revised" License
288 stars 67 forks source link

Plugin Initialize Error (version 3.0.0.0) #379

Closed geekgirl101 closed 1 year ago

geekgirl101 commented 1 year ago

Describe the bug I've been having this issue with 6.2 and earlier versions, every time I try to start up ACT it comes up with this error:

ACT.SpecialSpellTimer

Plugin init error !

Details Sytem.InvalidOperationException

There is an error in XML document (3182, 24). at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader) at ACT.SpecialSpellTimer.Models.TickerTable.Load(String file, Boolean isClear) at ACT.SpecialSpellTimer.Models.TickerTable.Load() at ACT SpecialSpellTimer.PluginCore.d__26.MoveNext()

Inner Exception : System.Xml.XmlException

Unexpected end of file has occurred. The following elements are not closed: FontColor, OnePointTelop, ArrayOfOnePointTelop. Line 3182, position 24. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements() at System.Xml.XmlTestReaderImpl.ParseElementContent() at System.Xml.XmlReader.ReadString() at System.Xml.XmlReader.ReadElementString() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderObservableCollection1.Read8_Ticker(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderObservableCollection1.Read9_ArrayOfOnePointTelop()

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Browse...' and locate the SpecialSpellTimers folder in ACT's appdata plugin folder.
  2. Click on 'ACT.SpecialSpellTimer.dll'
  3. Scroll down to 'Open'
  4. Click on Add/Enable Plugin

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Additional context From what I could see in the xml file when attempting to import ACT.SpecialSpellTimer.Telops.xml the file had somehow been corrupted and half the data was missing. I was able to fix this by restoring a backup but I've no idea what possibly caused this in the first place.