Jump to content
infidelplz

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

RagePluginHook_29092018_181312.log

 

 

 

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×