Menu

Help with Unhadled Exception

2010-01-20
2012-09-08
  • Ahmet Crescent

    Ahmet Crescent - 2010-01-20

    Hi developers,

    Congratulation for a great work.

    I installed the latest Beta (3618) on Windows XP English version. I launced
    dwsim and clicked "Create New Simulation"

    I received the following error:

    System.ArgumentException: 'I1' is not a valid name

    at Ciloci.Flee.VariableCollection.ValidateVariableName(String name)

    at Ciloci.Flee.VariableCollection.DefineVariable(String name, Type
    variableType)

    at DWSIM.SpreadsheetForm.DefineVariables()

    at DWSIM.SpreadsheetForm.UISpreadsheetEditorForm_Load(Object sender, EventArgs
    e)

    at System.Windows.Forms.Form.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.SetVisibleCore(Boolean value)

    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)

    at System.Windows.Forms.Control.set_Visible(Boolean value)

    at WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible()

    at WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)

    at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Activate()

    at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel,
    DockState dockState)

    at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel)

    at WeifenLuo.WinFormsUI.Docking.DockContent.Show(DockPanel dockPanel)

    at DWSIM.FormChild.FormChild_Load(Object sender, EventArgs e)

    at System.Windows.Forms.Form.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.ScrollableControl.WndProc(Message& m)

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

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

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

    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

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

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

    Could you help me?

     
  • Daniel Medeiros

    Daniel Medeiros - 2010-01-20

    Hello,

    Did this error happen just once or aren't you able to start a simulation at
    all?

     
  • Ahmet Crescent

    Ahmet Crescent - 2010-01-20

    This happens everyt'me I lunch it. I cannot create a new simulation or open an
    existing one/

    I installed dwsim on a Turkish version of Windows 7. It gives me the exact
    same error.

    Anything I can do to help?

    Regards,

    cg

     
  • Ahmet Crescent

    Ahmet Crescent - 2010-01-20

    Ok,

    It's the regional settings. I had set it to English (US) and it started
    working.

    In both versions (XP & 7)

    Regards,

    cg.

     
  • Daniel Medeiros

    Daniel Medeiros - 2010-01-20

    Humm.. that's strange. Maybe it's something inside the external component used
    by DWSIM to evaluate expressions. I'll change my locale settings to Turkish
    and try to debug the error to see what happens.

    Thanks for your feedback!

    Daniel

     
  • Daniel Medeiros

    Daniel Medeiros - 2010-01-21

    Indeed there is an error with the expression evaluator when the locale
    settings are set to Turkish. I've downloaded the source code to see what's
    going on... it seems that it doesn't accept any variable which starts with
    "I"...

    /Daniel

     

Log in to post a comment.