Page 1 of 1

Null Reference Exception if you retry a copy

PostPosted: Fri Dec 30, 2005 9:16 pm
by turtle
I really love your product, it has me bags of times and it does exactly what it says on the tin. I have however bumped into a few minor bugs:

It is possible to make MP3 Album Maker throw a Null Reference Exception (see stack trace) by following the following steps:
1)Start the application
2)Add mp3 files to listbox
3)Use either the auto or manual file naming methods to select a filename
4)Select the <Go> button
5)Before the copy is complete select the <Abort Copy> button.
6)Once the copy is aborted select <Go> again and the exception occurs. The UI then requires restarting to regain control of the application.

7)The same exception will occur if you allow the copy to complete and then select <Go> again

System.NullReferenceException: Object reference not set to an instance of an object.
at AlbumMaker.Form1.file_Join(String dest_File, ProgressBar pbFiles)
at AlbumMaker.Form1.Start_Pack(ProgressBar pbFiles)
at AlbumMaker.Form1.btnPack_Click(Object sender, EventArgs e)
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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Bug Fixed in v3.03

PostPosted: Mon Jan 02, 2006 9:03 am
by makeitone
Many thanks for the feedback, this bug crept in when 3.00 was released, at the end of the packing the bitrate was cleared and not rescanned until you clicked Clear and packed a new album.

This is now fixed in v3.03