VB.NET (VS 2005) - IndexOutOf Range -- (wodSSH / wodSSH.NET)
This error make our application crashing, this happen randonmly, the application can be working for 2 days before it happens.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ..Encrypt(Byte[] clearText, Byte[] cipherText)
at ..Send()
at ..(Object )
at ..(Object )
at System.Threading._TimerCallback.TimerCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._TimerCallback.PerformTimerCallback(Object state)
Re: VB.NET (VS 2005) - IndexOutOf Range --
Hi Joel,
This doesn't look like wodSSH error at all. This error usually occurs when you try to access non-existant index of array.
I.e: You would receive this error if you try to access index 5 of some array that has less then 5 fields.
Hope this helps.
Regards,
Damba
Re: VB.NET (VS 2005) - IndexOutOf Range --
The reason I refer it to you guys is because I do not have no Encryption function in my application, and I beleive you should have one that ressemble to this one
at ..Encrypt(Byte[] clearText, Byte[] cipherText)
Because this is where the error is showing based on the error message.
Re: VB.NET (VS 2005) - IndexOutOf Range --
Joel,
Ok, but i can't tell you why this would occur, without actually reproducing the issue on our side. What version do you have? Can you check Version property and tell me what it returns?
Regards,
Damba
Re: VB.NET (VS 2005) - IndexOutOf Range --
Version:
2.4.0
Joel,
Ok, but i can't tell you why this would occur, without actually reproducing the issue on our side. What version do you have? Can you check Version property and tell me what it returns?
Regards,
Damba
Re: VB.NET (VS 2005) - IndexOutOf Range --
Joel,
I meant the whole version. It should contain 4 numbers. The one i'm interested is the last one which should be 98.
Regards,
Damba
Re: VB.NET (VS 2005) - IndexOutOf Range --
Version: 2.4.0.98
Re: VB.NET (VS 2005) - IndexOutOf Range --
Joel,
Is there any chance we could reproduce this? Can you perhaps reproduce it with our samples?
Or, perhaps you could write us some simple sample that we could run here in order to reproduce the behaviour on our side and see what exactly happens?
Regards,
Damba