XML Exception at startup (#1590)

I had installed Software Ideas Modeller (SIM) version 11.40 for Win 64 bit, licensed it and it worked for a view weeks on a virtual machine.

Suddenly, when starting SIM, it always showed an error dialog with this message:

System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)

at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)

at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)

at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)

at SoftwareIdeas.Controls.Base.IO.DialogSizeManager.Load(String fileName)

at SoftwareIdeas.Controls.Base.IO.DialogSizeManager.get_Default()

at SoftwareIdeas.Controls.Base.DialogForm.OnLoad(EventArgs e)

at SoftwareIdeasModeler.ErrorHandling.ErrorForm.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Clicking the buttons or trying to close the modal dialog didn't work, so I couldn't get rid of it. I always had to kill the SIM process by using the task manager.

I also tried it with version 11.70, 11.41 and 11.96 (without licensing it). The same error occurred, not when starting but when working in the UML charts. Anyway I need to get run the 11.40 version because my license seems to not support newer versions.

19 March 2019 12:47:48
Not Closed
Requested by
Bernhard Moser
Windows 10 Pro (VMware image)
Solved in

Dusan Rodina - softwareideas.net 19 March 2019 21:22:39


The root of this issue will be analyzed yet.

The immediate problem should be fixed when you delete (or rename) the following file: C:\Users\{YOUR_USER_NAME}\AppData\Roaming\DusanRodina\SoftwareIdeasModeler\Environment\DialogSizes.xml

BernieM 20 March 2019 8:59:17

At the folder C:\Users\{YOUR_USER_NAME}\AppData\Roaming\DusanRodina I found some files containing just 0x00 chars. I had to rename them to get SIM working again.

These files were affected:

.\DefaultFolders.xml (60 chars of value 0)

.\Environment\Toolbox.xml (344 chars of value 0)

.\Environment\DialogSizes.xml (386 chars of value 0)

.\Environment\Grids.xml (64 chars of value 0)

Seems that SIM corrupts them under some circumstances.

If you fix that issue at the next version of SIM: it would be nice to get a license accepting that new version (my old one doesn't do so anymore)...



Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]