Author Topic: Trouble getting Album xml  (Read 4105 times)

0 Members and 1 Guest are viewing this topic.

avbudin

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
    • View Profile
Trouble getting Album xml
« on: May 29, 2012, 08:11:44 PM »
Hi,

I'm having a problem with getting the album xml to load properly. When using GenXML > Open Form > Albums it generates an error. I've tried restarting both MM and Vox as well as running both as administrator but the error persists. When I give a command to play by album it always defaults to Beatles for Sale. Any suggestions?

My Setup:
Vox 0.944
MM 4.0.0.59

Error:
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 VoxCommando.GenXML.MMdoSQL(String strSQL)
   at VoxCommando.GenXML.mmGenXml(Control label, String strSQL, String strFilename)
   at VoxCommando.GenXML.btnMMAlbums_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.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.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VoxCommando
    Assembly Version: 0.9.4.4
    Win32 Version: 0.9.4.4
    CodeBase: file:///B:/MMVoice/VoxCommando.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    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.5420 (Win7SP1.050727-5400)
    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.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PluginInterface
    Assembly Version: 1.0.4348.29252
    Win32 Version: 1.0.4348.29252
    CodeBase: file:///B:/MMVoice/PluginInterface.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Speech
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Speech/3.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Interop.ActiveHomeScriptLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///B:/MMVoice/Plugins/X10/Interop.ActiveHomeScriptLib.dll
----------------------------------------
X10
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///B:/MMVoice/Plugins/X10/X10.dll
----------------------------------------
Interop.SKYPE4COMLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///B:/MMVoice/Plugins/Skype/Interop.SKYPE4COMLib.dll
----------------------------------------
Skype
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///B:/MMVoice/Plugins/Skype/Skype.dll
----------------------------------------
Onkyo
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///B:/MMVoice/Plugins/Onkyo/Onkyo.dll
----------------------------------------
AxInterop.AgentObjects
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///B:/MMVoice/Plugins/MsAgent/AxInterop.AgentObjects.dll
----------------------------------------
Interop.AgentObjects
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///B:/MMVoice/Plugins/MsAgent/Interop.AgentObjects.dll
----------------------------------------
MsAgent
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1
    CodeBase: file:///B:/MMVoice/Plugins/MsAgent/MsAgent.dll
----------------------------------------
MpWifi
    Assembly Version: 0.2.2.0
    Win32 Version: 0.2.2.0
    CodeBase: file:///B:/MMVoice/Plugins/MpWifi/MpWifi.dll
----------------------------------------
Newtonsoft.Json.Net35
    Assembly Version: 4.0.2.0
    Win32 Version: 4.0.2.13623
    CodeBase: file:///B:/MMVoice/Plugins/MpWifi/Newtonsoft.Json.Net35.dll
----------------------------------------
ZeroconfService
    Assembly Version: 0.6.0.0
    Win32 Version: 0.6.0.0
    CodeBase: file:///B:/MMVoice/Plugins/MpWifi/ZeroconfService.dll
----------------------------------------
MpScan
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///B:/MMVoice/Plugins/MpScan/MpScan.dll
----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.65.0
    Win32 Version: 1.0.65.0
    CodeBase: file:///B:/MMVoice/Plugins/MpScan/System.Data.SQLite.dll
----------------------------------------
MpMessage
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///B:/MMVoice/Plugins/MpMessage/MpMessage.dll
----------------------------------------
JRiver
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///B:/MMVoice/Plugins/JRiver/JRiver.dll
----------------------------------------
Hook
    Assembly Version: 0.2.0.0
    Win32 Version: 0.2.0.0
    CodeBase: file:///B:/MMVoice/Plugins/Hook/Hook.dll
----------------------------------------
MouseKeyboardActivityMonitor
    Assembly Version: 3.0.1.13775
    Win32 Version: 3.0.1.13775
    CodeBase: file:///B:/MMVoice/Plugins/Hook/MouseKeyboardActivityMonitor.DLL
----------------------------------------
Growl.Connector
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.6.1
    CodeBase: file:///B:/MMVoice/Plugins/Growl/Growl.Connector.dll
----------------------------------------
Growl.CoreLibrary
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.6.1
    CodeBase: file:///B:/MMVoice/Plugins/Growl/Growl.CoreLibrary.dll
----------------------------------------
Growl
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///B:/MMVoice/Plugins/Growl/Growl.dll
----------------------------------------
GgWeather
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///B:/MMVoice/Plugins/GgWeather/GgWeather.dll
----------------------------------------
GgCal
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///B:/MMVoice/Plugins/GgCal/GgCal.dll
----------------------------------------
Google.GData.AccessControl
    Assembly Version: 1.9.0.0
    Win32 Version: 1.9.0.0
    CodeBase: file:///B:/MMVoice/Plugins/GgCal/Google.GData.AccessControl.dll
----------------------------------------
Google.GData.Calendar
    Assembly Version: 1.9.0.0
    Win32 Version: 1.9.0.0
    CodeBase: file:///B:/MMVoice/Plugins/GgCal/Google.GData.Calendar.dll
----------------------------------------
Google.GData.Client
    Assembly Version: 1.9.0.0
    Win32 Version: 1.9.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Google.GData.Client/1.9.0.0__04a59ca9b0273830/Google.GData.Client.dll
----------------------------------------
Google.GData.Extensions
    Assembly Version: 1.9.0.0
    Win32 Version: 1.9.0.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Google.GData.Extensions/1.9.0.0__0b4c5df2ebf20876/Google.GData.Extensions.dll
----------------------------------------
DxInput
    Assembly Version: 0.1.2.0
    Win32 Version: 0.1.2.0
    CodeBase: file:///B:/MMVoice/Plugins/DxInput/DxInput.dll
----------------------------------------
Bing
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///B:/MMVoice/Plugins/Bing/Bing.dll
----------------------------------------
vcassembies
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///B:/MMVoice/vcassembies.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.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Trouble getting Album xml
« Reply #1 on: May 29, 2012, 10:26:58 PM »
I think you are using the "old" method at the bottom.  Try just doing "generate all" from the new section at the top.  This is the same as doing it directly from the GenXML menu on the main VC page.  I guess I should probably just remove the old method since the new method works fine.  As far as I know...

avbudin

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Trouble getting Album xml
« Reply #2 on: May 30, 2012, 01:38:36 PM »
Tried it with the new method and it appears that it does generate the xml but when I go to play using the command "Play Album" it defaults to one album always.

I recorded a quick video of the issue: http://youtu.be/3gux8y6rhmE

Attached please find the generated Albums and Log.

Thanks for your help!

avbudin

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Trouble getting Album xml
« Reply #3 on: May 30, 2012, 02:29:09 PM »
I was able to figure out the problem. In the tree editor under MM Play Music by Name > Play Album <Album> > the payload was named wrong (lower case). I corrected it to mmAlbums.xml and everything worked.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Trouble getting Album xml
« Reply #4 on: May 30, 2012, 08:28:57 PM »
Interesting, what OS are you using? Filename case should not matter in windows. Possibly changing the case forced it to recognize that the grammar needed to be updated,  but usually a restart is enough, or for me, just updating the XML from the main window will automatically trigger a rebuild of the correct grammar.

Anyway I'm glad you got it working, but I don't think this is a common problem, or it would have been addressed by now.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Trouble getting Album xml
« Reply #5 on: May 30, 2012, 08:37:20 PM »
Btw thanks for taking the time to post that video. I'm rather busy at the moment so I apologize if my responses are not as prompt as usual.

I'm still not quite sure what is going on here.  I will need to do some testing when I get a chance but this certainly is a new one.

avbudin

  • Jr. Member
  • **
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Trouble getting Album xml
« Reply #6 on: May 31, 2012, 02:45:24 AM »
Hey no worries, I'm just glad it is finally working. I'm running Windows 7 Professional SP1. When I was looking into the payload folder it had every file in the same format except the lowercase one that was albums. I had updated from a previous version (don't recall the exact version number) and I copied over some files into the new install directory. So that might have been my undoing.

Anyways thanks for the help!