tobiasschulz / tar-cs

Automatically exported from code.google.com/p/tar-cs
Other
0 stars 0 forks source link

System.FormatException when running TarReader.MoveNext(true) #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Opened a tar.gz file

What is the expected output? What do you see instead?
Expected output is for the application to select the next file (regardless of 
the output).

What version of the product are you using? On what operating system?
WinXP x64
tar-cs-bin_0.92.tar.gz 

Please provide any additional information below.

System.FormatException was unhandled
  Message=Could not find any recognizable digits.
  Source=mscorlib
  StackTrace:
       at System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos)
       at System.Convert.ToInt32(String value, Int32 fromBase)
       at tar_cs.TarHeader.UpdateHeaderFromBytes()
       at tar_cs.UsTarHeader.UpdateHeaderFromBytes()
       at tar_cs.TarReader.MoveNext(Boolean skipData)
       at XML_Analyzer.Summary.button1_Click(Object sender, EventArgs e) in C:\Users\ophirb\AppData\Local\Temporary Projects\XML_Analyzer\Summary.cs:line 276
       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 XML_Analyzer.Program.Main() in C:\Users\ophirb\AppData\Local\Temporary Projects\XML_Analyzer\Program.cs:line 20
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

Original issue reported on code.google.com by ophir.bu...@gmail.com on 11 May 2011 at 11:59

Attachments:

GoogleCodeExporter commented 9 years ago
This should be fine now. Check the latest version from SVN.

Original comment by vasilt...@gmail.com on 17 Jun 2011 at 8:33