HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: lastbit on February 18, 2015, 03:18:50 AM

Title: Homegenie will not start
Post by: lastbit on February 18, 2015, 03:18:50 AM
I get this response from:

/usr/local/bin/homegenie $ sudo mono HomeGenie.exe

==>

Program interrupted!

HomeGenie is now exiting...
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
  at HomeGenie.Automation.Scripting.ScriptingInstance.<RunCode>m__0 (System.Byte[] message) [0x00000] in <filename unknown>:0
  at HomeGenie.Automation.Scripting.SerialPortHelper.serialPort_MessageReceived (System.Byte[] message) [0x00000] in <filename unknown>:0
  at SerialPortLib.SerialPortInput.ReceiveMessage (System.Object message) [0x00000] in <filename unknown>:0
  at SerialPortLib.SerialPortInput+<ReceiverLoop>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
  at HomeGenie.Automation.Scripting.ScriptingInstance.<RunCode>m__0 (System.Byte[] message) [0x00000] in <filename unknown>:0
  at HomeGenie.Automation.Scripting.SerialPortHelper.serialPort_MessageReceived (System.Byte[] message) [0x00000] in <filename unknown>:0
  at SerialPortLib.SerialPortInput.ReceiveMessage (System.Object message) [0x00000] in <filename unknown>:0
  at SerialPortLib.SerialPortInput+<ReceiverLoop>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0

What should I do?


Thank you, John
Title: Re: Homegenie will not start
Post by: lastbit on February 18, 2015, 05:48:55 AM
Solution: The start of the solution for this problem was to disconnect the USB/Serial port. Then start examining each of the C# modules using the port until the offender was found, and correct problem.

John