[SOLVED] System exception has occurd in LLBLGenPro.exe

Posts   
 
    
IT
User
Posts: 37
Joined: 02-Dec-2003
# Posted on: 09-Dec-2003 14:53:00   

Hi Otis,

I received the following error messages when launching LLBLGenPro frowning

An Exception 'System exception' has occurd in LLBLGenPro.exe

Because this is my development pc the error is caught by the Just-In-Time Debugger - giving me the opertunity to debug the problem - but unfortunately it only reveals the next error msg

Snip < _An unhandled exception of type 'System.exception' ocurred in system.dll

Additional information: 20, 20 is not a Valid value for Int32_

End snip

Originally I was able to launch the LLBLGenPro app (ver. from 25/11/2003) but i suddently got the above error msg (Yeah I know it does not happen by it self - but I do not recall installing something that should have been able to interfear)

Today I saw that a new version was available so I unInstalled the one that failed and installed the new release (3/12/2003).

but unfortunately i still have the same problem.

Have you experienced anything like this or Do you have any suggestions that I could try to get my favorite tool in the air again cry

... IT

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39898
Joined: 17-Aug-2003
# Posted on: 09-Dec-2003 15:52:40   

Remove the guistate.xml file. This will be regenerated for you then, using the right format. (uninstalling the app is not removing that file).

XML is a pain sometimes, the files look the same, but the BYTES which make up the file are different: Unicoded vs normal ascii. It failed on me with the same error when I changed the regional settings of XP from English to Dutch. (20,0 is then a valid value, in English(US) it is not). The XML Reader inside Magiclibrary apparently reads values using the regional settings of windows (I can't help this) and this will clash.

If this doesn't help, remove the preferences.xml file too, however looking at the error, it's the guistate.xml.

Frans Bouma | Lead developer LLBLGen Pro
IT
User
Posts: 37
Joined: 02-Dec-2003
# Posted on: 09-Dec-2003 16:01:42   

Yep smile

Perfect thanks

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39898
Joined: 17-Aug-2003
# Posted on: 09-Dec-2003 16:41:07   

IT wrote:

Yep smile

Perfect thanks

simple_smile

Ok, now I wonder: did you change your regional settings? simple_smile

Frans Bouma | Lead developer LLBLGen Pro
IT
User
Posts: 37
Joined: 02-Dec-2003
# Posted on: 09-Dec-2003 21:25:59   

hmm- I just set my brand new Dev PC up - so that might have been the case - suddenly you realize that yet another thing needs to be tweaked - just a bit disappointed

IT
User
Posts: 37
Joined: 02-Dec-2003
# Posted on: 09-Dec-2003 21:26:39   

BTW - it was the GUIstate file iremoved to do the trick

... IT

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39898
Joined: 17-Aug-2003
# Posted on: 09-Dec-2003 22:31:51   

I thought so, I had the same problem once. That file gets serialized by the Magic library I use for the gui. Anyway, if you run into it again, it's one of the two .xml files: guistate.xml or preferences.xml which can't be loaded.

Frans Bouma | Lead developer LLBLGen Pro