Home » PLAYER'S HQ 1.13 » v1.13 General Gameplay Talk » Unhandled Error. Report to Development Team.
Unhandled Error. Report to Development Team.[message #345185] Tue, 26 April 2016 08:31 Go to next message
BattleGnome

 
Messages:60
Registered:April 2016
Hey all,

I was recently using the XML Editor when it crashed during a save and now I receive the following message when trying to start it again.



"Unhandled error. Please report this error to the JA2 1.13 Development Team on the 'Bears Pit Forum'.

Error:
Column 'uiIndex' is constrained to be unique. Value '0' is already present"



Let me know if I can provide more info that may be helpful.

Thanks,
Gnome.
Re: Unhandled Error. Report to Development Team.[message #345187 is a reply to message #345185] Tue, 26 April 2016 12:04 Go to previous messageGo to next message
winehouse

 
Messages:92
Registered:October 2012
They don't have an answer for you. They don't even understand why it happens.
Re: Unhandled Error. Report to Development Team.[message #345189 is a reply to message #345185] Tue, 26 April 2016 13:41 Go to previous messageGo to next message
silversurfer

 
Messages:2508
Registered:May 2009
BattleGnome wrote on Tue, 26 April 2016 07:31

Column 'uiIndex' is constrained to be unique. Value '0' is already present"

The error message means that in a certain XML file (name should also be in the error message) there is an index number that was assigned more than once. The editor as well as the game will not start up as long as this isn't fixed.
If you know the file that was corrupted you can replace it with the original.

Although it sounds funny - DO NOT use the XML Editor for editing stuff! It is outdated and will remove important tags from the XML files. You can still use it for viewing but don't save. Make changes to the XMLs with something like Notepad++.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: Unhandled Error. Report to Development Team.[message #345192 is a reply to message #345189] Tue, 26 April 2016 14:22 Go to previous messageGo to next message
BattleGnome

 
Messages:60
Registered:April 2016
For what it's worth, the game still plays perfectly as far as I can tell.

Also, what I provided above is the whole error message. I would upload a screen shot but can't seem to find the button to do it here in the forums.

I tried replacing the file I believe to be the problem with the original and am still getting the error. I'm just going to start fresh again with a clean copy of the game and be done with it.

Any suggestions, in addition to Notepadd++, to use as an XML editor?
Re: Unhandled Error. Report to Development Team.[message #345195 is a reply to message #345192] Tue, 26 April 2016 15:46 Go to previous message
silversurfer

 
Messages:2508
Registered:May 2009
By default the XML Editor uses a sort of cache to load data faster. I guess this cache file has become corrupted. Check XMLEditorInit.xml to see where <Data_Directory_1> is pointing to (should be Data-1.13) and if <Use_Working_Directory> is set to True.
If it is you can go to Data-1.13\XmlWorkingData which contains the file "JA2Data.xsd". Remove that file. The XML Editor will recreate it on the next start.

I'm using Notepad++ so I don't have another suggestion.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Previous Topic: Low o damage
Next Topic: Missing items at Bobby Ray
Goto Forum:
  


Current Time: Fri Mar 22 12:54:46 EET 2019

Total time taken to generate the page: 0.01529 seconds