Jump to content

Unhandled exception in console command SOLVED

Recommended Posts

I have no idea whats causing this, it worked last night and I haven't added any scripts lately.  The only thing I've done today is shifted some vehicles around and edited the backup.xml.  It wont let me pull up smart radio or use stop the ped as far as I can tell.  It loads pretty much everything else as far as I know.  I'm also 99% sure it worked this morning without issue. 


Attached is the log from rage






EDIT: reinstalled LSPDFR and RAGE and everything is fine. 


EDIT 2: back where i started. 


EDIT3: solved for real, my backup.xml file was corrupt. 



[9/29/2018 3:07:51 PM.063] Unhandled exception occurred in console command "ForceDuty"
[9/29/2018 3:07:51 PM.063] Exception type: System.Xml.XmlException
[9/29/2018 3:07:51 PM.063] Exception message: 'true' is an unexpected token. The expected token is '"' or '''. Line 45, position 59.
[9/29/2018 3:07:51 PM.063] Stack trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
[9/29/2018 3:07:51 PM.063]    at System.Xml.XmlTextReaderImpl.ParseAttributes()
[9/29/2018 3:07:51 PM.063]    at System.Xml.XmlTextReaderImpl.ParseElement()
[9/29/2018 3:07:51 PM.063]    at System.Xml.XmlTextReaderImpl.ParseElementContent()
[9/29/2018 3:07:51 PM.063]    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
[9/29/2018 3:07:51 PM.063]    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
[9/29/2018 3:07:51 PM.063]    at System.Xml.XmlDocument.Load(XmlReader reader)
[9/29/2018 3:07:51 PM.063]    at System.Xml.XmlDocument.Load(String filename)
[9/29/2018 3:07:51 PM.063]    at OnSceneBackup.Globals.readBackupXmlFile()
[9/29/2018 3:07:51 PM.063]    at OnSceneBackup.Globals.loadConfiguration()
[9/29/2018 3:07:51 PM.063]    at OnSceneBackup.Main.OnOnDutyStateChangedhandler(Boolean onDuty)
[9/29/2018 3:07:51 PM.063]    at LSPD_First_Response.Mod.API.Functions.OnDutyStateChangedEventHandler.Invoke(Boolean onDuty)
[9/29/2018 3:07:51 PM.063]    at LSPD_First_Response.Mod.API.Functions.InvokeOnOnDutyStateChanged(Boolean onduty) in E:\GTA V\LSPD First Response\LSPD First Response\Mod\API\Functions.cs:line 488
[9/29/2018 3:07:51 PM.063]    at LSPD_First_Response.Mod.LSPDFR.Command_ForceDuty() in E:\GTA V\LSPD First Response\LSPD First Response\Mod\LSPDFR.cs:line 2153

Edited by infidelplz
Solved for real

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...