View Full Version : Strange Console Log message
Leprekorn
February 20th, 2024, 14:43
Hi,
Can anyone tell me what might be causing the below console log error?
[2/20/2024 12:50:04 PM] [ERROR] FormattedText SetValue XML Error: Unexpected end of file has occurred. The following elements are not closed: p. Line 1, position 788.
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00002 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00002 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00007 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00007 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00017 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00017 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00003 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00003 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00004 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00004 }
Griogre
February 20th, 2024, 16:00
Something involving the combat tracker, probably an extension that modifies it in some way. You should turn off any extensions that you know change the combat tracker and see if it fixes it. If not, then you should start a new campaign and with no extensions and add them back until you find the error.
There is the chance your campaign is corrupt as well. Are you backing up your campaigns to cloud storage automatically?
Leprekorn
February 20th, 2024, 16:05
Ok thanks.
mattekure
February 20th, 2024, 16:43
Hi,
Can anyone tell me what might be causing the below console log error?
[2/20/2024 12:50:04 PM] [ERROR] FormattedText SetValue XML Error: Unexpected end of file has occurred. The following elements are not closed: p. Line 1, position 788.
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00002 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00002 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00007 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00007 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00017 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00017 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00003 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00003 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00004 }
[2/20/2024 12:50:04 PM] s'Can't find CT node: ' | databasenode = { combattracker.list.id-00004 }
To me this error looks like a corrupted db.xml file. It got an unexpected end of file, meaning that the rest of the data after that point is gone. Take a look in your campaign folder. there should be a db.xml file and a bunch of db.session.NNNN.xml files. I am guessing the db.xml file will be significantly smaller than the db.session files. If so you may have to restore from a previous session and lose any changes made between the two.
Trenloe
February 20th, 2024, 16:55
[2/20/2024 12:50:04 PM] [ERROR] FormattedText SetValue XML Error: Unexpected end of file has occurred. The following elements are not closed: p. Line 1, position 788.
This is indicating that some code is setting data in a formattedtext control and that data is not correct XML. This shouldn't cause a database issue in itself (FG shouldn't have written this bad data to the database), but it may be an indication of a wider issue with the FG database if this bad data was already in the database.
If you can exit the campaign and then reload it, you might be OK.
The 'Can't find CT node' lines are, as mentioned, debug from an extension - normally you wouldn't see these, but the console is popping up due to the error. These may not specifically be an issue, purely debug for the extension developer.
So, what I'd recommend is:
1) Restart this campaign in FG - if it loads without errors, then you may be OK. Check through your campaign data to see if any is missing.
2) If you get the FormattedText SetValue XML Error again, tr to remember what you were doing when it happened - this might help to narrow down what's causing the issue.
Leprekorn
February 20th, 2024, 17:09
Still loading with the error. Will look to see what might have caused itm
Trenloe
February 20th, 2024, 17:11
Still loading with the error. Will look to see what might have caused itm
So you get the error as soon as you load the campaign, before you do anything in the campaign? If so, please attach the db.xml file from your <FG app data>\campaigns\<campaign name> directory here and we can see if there's a quick fix.
Leprekorn
February 20th, 2024, 17:13
yes while its loading. Thanks here is the file
Trenloe
February 20th, 2024, 17:19
Thanks for providing the db.xml file. There are no XML errors in that file, so it's as I mentioned in my earlier post - the problem data is not written to the database when the error occurs. So, your data is OK, we need to work out what's causing the error as there's no indication in the message what might be causing it.
So, unfortunately, we're back to disabling extensions until the error disappears.
Leprekorn
February 20th, 2024, 17:33
Thanks I'm good with that. Was worried we had data curruption phew.
Trenloe
February 20th, 2024, 18:15
Thanks I'm good with that. Was worried we had data curruption phew.
It does appear that your data should be OK. But you should work out what is causing the error and get that fixed. If FG raises an error, it stops all subsequent processing as part of an event/section of code and so you may be missing other functionality due to this error.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.