Win7, V2.12.5.1/15, S.IO.DirectoryNotFoundException @startup

If you have something to say about LogicCircuit program or you know how to improve it please share it here.
Post Reply
rbeer
Posts: 1
Joined: Mon May 21, 2012 7:31 pm

Win7, V2.12.5.1/15, S.IO.DirectoryNotFoundException @startup

Post by rbeer »

Hi there.
I just stumbled upon your program. Thought: "Well, give it a try!".
Unfortunately there is an unhandled System.IO.DirectoryNotFoundException in your startup code.

IntelliTrace says:
(VisualStudio, right? At least your installer looks a lot like it ;Þ
I replaced my actual username in this message with %username%

Code: Select all

Thrown: "Could not find a part of the path 'C:\Users\%username%\AppData\Local\LogicCircuit\Settings.xml'." (System.IO.DirectoryNotFoundException)
Exception Message = "Could not find a part of the path 'C:\\Users\\%username%\\AppData\\Local\\LogicCircuit\\Settings.xml'.",
Exception Type = "System.IO.DirectoryNotFoundException"
Actually neither "Settings.xml" nor the whole folder "LogicCircuit" existed in C:\Users\%username%\AppData\Local\.
Creating only the folder C:\Users\%username%\AppData\Local\LogicCircuit solved the problem!
Settings.xml is then created at programs first start.

So my guess would be you're missing a create-folder command in your installer or some "is-folder logic" in LogicCircuit.Settings. According to the next Exception in line
this is the window responsible for them:

IntelliTrace:

Code: Select all

Thrown: "The type initializer for 'LogicCircuit.Settings' threw an exception." (System.TypeInitializationException)
Exception Message = "The type initializer for 'LogicCircuit.Settings' threw an exception.",
Exception Type = "System.TypeInitializationException"
Bug found in:
  • [X] 2.12.5.15
  • [X] 2.12.5.1
Other versions untested!

I hope I could be of help with this bugreport :)
rbeer
User avatar
admin
Site Admin
Posts: 407
Joined: Sun Jun 14, 2009 10:53 pm
Contact:

Re: Win7, V2.12.5.1/15, S.IO.DirectoryNotFoundException @sta

Post by admin »

Thanks a lot. You’ve gave me very useful information. This is a bug and I’ll release fix shortly.
User avatar
admin
Site Admin
Posts: 407
Joined: Sun Jun 14, 2009 10:53 pm
Contact:

Re: Win7, V2.12.5.1/15, S.IO.DirectoryNotFoundException @sta

Post by admin »

The fix is ready. Thanks for your help
Post Reply