<code>System.ArgumentOutOfRangeException
HResult=0x80131502
Message=Array is too small.
Parameter name: 32
Source=SabawConverter
StackTrace:
at SabawConverter.Form1.Tgas(Byte[] indata) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 87
at SabawConverter.Form1.ProcessFile(String filePath) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 76
at SabawConverter.Form1.ProcessDirectory(String dirPath) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 52
at SabawConverter.Form1.buttonSabaw_Click(Object sender, EventArgs e) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 40
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at SabawConverter.Program.Main() in C:UsersArexDocumentsSabawSabawConverterSabawConverterProgram.cs:line 19
</code>
<code>System.ArgumentOutOfRangeException
HResult=0x80131502
Message=Array is too small.
Parameter name: 32
Source=SabawConverter
StackTrace:
at SabawConverter.Form1.Tgas(Byte[] indata) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 87
at SabawConverter.Form1.ProcessFile(String filePath) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 76
at SabawConverter.Form1.ProcessDirectory(String dirPath) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 52
at SabawConverter.Form1.buttonSabaw_Click(Object sender, EventArgs e) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 40
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at SabawConverter.Program.Main() in C:UsersArexDocumentsSabawSabawConverterSabawConverterProgram.cs:line 19
</code>
System.ArgumentOutOfRangeException
HResult=0x80131502
Message=Array is too small.
Parameter name: 32
Source=SabawConverter
StackTrace:
at SabawConverter.Form1.Tgas(Byte[] indata) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 87
at SabawConverter.Form1.ProcessFile(String filePath) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 76
at SabawConverter.Form1.ProcessDirectory(String dirPath) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 52
at SabawConverter.Form1.buttonSabaw_Click(Object sender, EventArgs e) in C:UsersArexDocumentsSabawSabawConverterSabawConverterForm1.cs:line 40
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at SabawConverter.Program.Main() in C:UsersArexDocumentsSabawSabawConverterSabawConverterProgram.cs:line 19
The Error Message That I Got when my app is Processing Some File to Decompress it
The Code on Line 87
i tried to change the “32” into “dat” but still got the same results
<code> throw new ArgumentOutOfRangeException("32", "Array is too small.");
}
</code>
<code> throw new ArgumentOutOfRangeException("32", "Array is too small.");
}
</code>
throw new ArgumentOutOfRangeException("32", "Array is too small.");
}
New contributor
Angelo Jay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.