Author Topic: [Solved] unhandled exception  (Read 3094 times)

Offline hurleybird

  • Newbie
  • *
  • Posts: 3
[Solved] unhandled exception
« on: October 22, 2009, 07:40:02 pm »
Just bought off of steam, getting this error on start:

22/10/2009 5:33:04 PM (2.0)
-----------------------------------Application_ThreadException-----------------------------------System.NullReferenceException: Object reference not set to an instance of an object.
   at AIWar.GameMusic.SetFillNotifications(Int32 numberOfSectors) in C:\vcprojs\AIWar\DX\GameMusic.cs:line 151
   at AIWar.GameMusic.Play() in C:\vcprojs\AIWar\DX\GameMusic.cs:line 342
   at AIWar.GameMusic..ctor(String Filename) in C:\vcprojs\AIWar\DX\GameMusic.cs:line 128
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 177
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   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.WmShowWindow(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)

Running Win 7 RTM x64, Core i7, Radeon 5870.
« Last Edit: October 23, 2009, 05:49:41 am by Fiskbit »

Offline hurleybird

  • Newbie
  • *
  • Posts: 3
Re: unhandled exception
« Reply #1 on: October 22, 2009, 07:46:17 pm »
Fixed

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: unhandled exception
« Reply #2 on: October 22, 2009, 07:49:05 pm »
Hi hurleybird,

Sorry to hear about the issue, glad to hear that it's been resolved. May I ask what the fix was? Thanks.

Enjoy playing AI War!

Regards,
Revenantus

Offline hurleybird

  • Newbie
  • *
  • Posts: 3
Re: unhandled exception
« Reply #3 on: October 22, 2009, 08:20:55 pm »
forgot to switch my audio interface back to 2 channel output from 26 channel  ;)