The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Freeway

Reply
 
Thread Tools Display Modes
Old 12-12-2006, 01:56 PM   #1
Newbie
BEHMER's CarPC Specs
 
BEHMER's Avatar
 
Join Date: Jun 2004
Location: San Francisco
Vehicle: BMW 332i
Posts: 40
My Photos: (0)
BUG [FIXED/124] Unhandled exception during library generation

On the initial startup I get an unhandled exception error during the generation of the music library.

Here are the details:

************** Exception Text **************
System.ArgumentNullException: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at FreewayUltra.frmSkin.b64Encode(String str)
at FreewayUltra.frmSkin.GenerateLibrary()
at FreewayUltra.frmSkin.GenerateHandler(Object o, EventArgs e)
at FreewayUltra.frmSkin.ParseClick(String[] command, Int32 x)
at FreewayUltra.frmSkin.frmSkin_MouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEven tArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
FreewayUltra
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Sean%20Behm/Desktop/Freeway/FreewayUltra.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
__________________
-Custom widebody BMW designed/built by me-
-HRE wheels-

-Focal Audio:-
Alpine PXA-H701+C701-
-(2)Focal 33KX-
-(2)Focal KP165 K3P Kits-
-(2)Focal FP 1.800 Amps-
-(2)Focal FP 2.150 Amps-
-(3)Xenarc 7"TSV Touch LCD’s-

-PROJECT DETAILS-
BEHMER is offline   Reply With Quote
Sponsored Links
Old 12-12-2006, 02:35 PM   #2
Low Bitrate
 
Pishaa's Avatar
 
Join Date: Oct 2005
Posts: 75
My Photos: (0)
Same problem here..

/Me.
Pishaa is offline   Reply With Quote
Old 12-12-2006, 03:11 PM   #3
Freeway Creator
 
oeri's Avatar
 
Join Date: Jul 2005
Location: Pittsburgh, PA
Vehicle: 2006 Hummer H3
Posts: 516
My Photos: (0)
Try the new build (122), and please make remaining reports for this bug here. Do not post duplicate threads.
__________________
Offical Freeway Subforum
Official Freeway Website
New Ultra Version Just Released!
oeri is offline   Reply With Quote
Old 12-12-2006, 03:17 PM   #4
Maximum Bitrate
Mañana's CarPC Specs
 
Mañana's Avatar
 
Join Date: Jul 2004
Location: Sweden
Vehicle: 98' VW Passat
Posts: 761
My Photos: (0)
Latest build (0.7.212) gives me this when trying to browse music

Code:
************** Exception Text ************** System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object. at FreewayUltra.SortClass.System.Collections.IComparer.Compare(Object x, Object y) at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right) --- End of inner exception stack trace --- at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right) at System.Array.Sort(Array keys, Array items, Int32 index, Int32 length, IComparer comparer) at System.Collections.ArrayList.Sort(Int32 index, Int32 count, IComparer comparer) at System.Collections.ArrayList.Sort(IComparer comparer) at FreewayUltra.frmSkin.ParseClick(String[] command, Int32 x) at FreewayUltra.frmSkin.frmSkin_MouseDown(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- FreewayUltra Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Documents%20and%20Settings/User/Skrivbord/FreewayUltra/FreewayUltra.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

EDIT:

After app restart it seems to work!

Thou, I'm still having this issue with freeway doing something bad to Gates after a few seconds of playback. It results in the standard windows error popup...
Attached Files
File Type: zip library.zip (75.5 KB, 38 views)
__________________
My carputer

Old one

Last edited by Mañana : 12-12-2006 at 03:21 PM.
Mañana is offline   Reply With Quote
Old 12-12-2006, 03:22 PM   #5
Freeway Creator
 
oeri's Avatar
 
Join Date: Jul 2005
Location: Pittsburgh, PA
Vehicle: 2006 Hummer H3
Posts: 516
My Photos: (0)
Alright, pretty sure the old library code was ****. Try the new build (213).
__________________
Offical Freeway Subforum
Official Freeway Website
New Ultra Version Just Released!

Last edited by oeri : 12-12-2006 at 03:46 PM.
oeri is offline   Reply With Quote
Old 12-12-2006, 05:50 PM   #6
Low Bitrate
 
Pishaa's Avatar
 
Join Date: Oct 2005
Posts: 75
My Photos: (0)
library.zip

After successfuly building the library, when pressing show all songs I get:
Code:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object. at FreewayUltra.SortClass.System.Collections.IComparer.Compare(Object x, Object y) at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right) --- End of inner exception stack trace --- at System.Array.SorterObjectArray.QuickSort(Int32 left, Int32 right) at System.Array.Sort(Array keys, Array items, Int32 index, Int32 length, IComparer comparer) at System.Collections.ArrayList.Sort(Int32 index, Int32 count, IComparer comparer) at System.Collections.ArrayList.Sort(IComparer comparer) at FreewayUltra.frmSkin.ParseClick(String[] command, Int32 x) at FreewayUltra.frmSkin.frmSkin_MouseDown(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- FreewayUltra Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Download/FreeWayUltra/FreewayUltra.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.


Then After restarting FW with the built library.xml file I get:
Code:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at FreewayUltra.frmSkin.frmSkin_Shown(Object sender, EventArgs e) at System.Windows.Forms.Form.OnShown(EventArgs e) at System.Windows.Forms.Form.CallShownEvent() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) 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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks() ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- FreewayUltra Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Download/FreeWayUltra/FreewayUltra.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

/Me.
Pishaa is offline   Reply With Quote
Old 12-12-2006, 06:36 PM   #7
Freeway Creator
 
oeri's Avatar
 
Join Date: Jul 2005
Location: Pittsburgh, PA
Vehicle: 2006 Hummer H3
Posts: 516
My Photos: (0)
Cross your fingers, download 214, and start from scratch (do not use old library.xml).
__________________
Offical Freeway Subforum
Official Freeway Website
New Ultra Version Just Released!
oeri is offline   Reply With Quote
Old 12-12-2006, 08:23 PM   #8
Newbie
BEHMER's CarPC Specs
 
BEHMER's Avatar
 
Join Date: Jun 2004
Location: San Francisco
Vehicle: BMW 332i
Posts: 40
My Photos: (0)
Quote: Originally Posted by oeri View Post
Cross your fingers, download 214, and start from scratch (do not use old library.xml).

Fixed. Thanks...I am really liking this front end so far.
__________________
-Custom widebody BMW designed/built by me-
-HRE wheels-

-Focal Audio:-
Alpine PXA-H701+C701-
-(2)Focal 33KX-
-(2)Focal KP165 K3P Kits-
-(2)Focal FP 1.800 Amps-
-(2)Focal FP 2.150 Amps-
-(3)Xenarc 7"TSV Touch LCD’s-

-PROJECT DETAILS-
BEHMER is offline   Reply With Quote
Old 12-13-2006, 08:45 AM   #9
Low Bitrate
 
Pishaa's Avatar
 
Join Date: Oct 2005
Posts: 75
My Photos: (0)
library.zip

Now generating the music library works fine, BUT:

1) Couldn't you add a newline character after every "/>" in library.xml to make it human readable? also first line of library.xml should be:
Code:
<?xml version="1.0" encoding="UTF-16" ?>

2) You still have problems with special characters:
some files information are still not saved correctly in the library:
d:\mp3\house\atb\04 zwischenstück.mp3
d:\mp3\goa trance\kox box\the great unknown\09 - doppelgänger.mp3
d:\mp3\chillout - ambient\jaia - blue energy\06 - maï maï.mp3
d:\mp3\80's\a-ha - the hits of\10 - i´ve been losing you.mp3

Thanks,
/Me.
Pishaa is offline   Reply With Quote
Old 12-13-2006, 10:18 AM   #10
Freeway Creator
 
oeri's Avatar
 
Join Date: Jul 2005
Location: Pittsburgh, PA
Vehicle: 2006 Hummer H3
Posts: 516
My Photos: (0)
Quote: Originally Posted by Pishaa View Post
1) Couldn't you add a newline character after every "/>" in library.xml to make it human readable?

I'm not too concerned about this. People really shouldn't be digging around the library file anyway.

Quote:
2) You still have problems with special characters:
some files information are still not saved correctly in the library:

I have no solution for this. C# gets really funny with international characters, and I have no idea why. If you have any suggestions, let me know.
__________________
Offical Freeway Subforum
Official Freeway Website
New Ultra Version Just Released!
oeri is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug Tracking List d_sellers1 MMC Bug Tracking 47 04-01-2007 10:02 PM


All times are GMT -5. The time now is 10:31 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics