Author Topic: Unhandled exception  (Read 6525 times)

0 Members and 1 Guest are viewing this topic.

Offline BizaTopic starter

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Biza has no influence.
  • Gender: Male
  • Respect: +2
  • Referrals: 0
    • View Profile
Unhandled exception
« on: November 18, 2015, 05:14:25 PM »
0
Getting a error whenever I try to start suo app, get the error as soon as the program launches.

Finding it very difficult to script without this insanely awesome program.

Not sure what changed on my PC. I ran it one day and the next I got this.

Spoiler: show
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ᝈ.ᡙᙊ(Byte[] ᙂ)
   at ᝈ.ᝮ(Process p)
   at ᝈ.គ()
   at ᝈ..ctor(RichTextBox debug)
   at ᙘ.ᙢ()
   at ᡪᙂ.ᙢ()
   at ᥾.ᣈᙊ(Object ᙂ, EventArgs ᙄ)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.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.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
ScriptUO
    Assembly Version: 1.0.3592.26639
    Win32 Version: 1.0.3592.26639
    CodeBase: file:///C:/Users/Matt/Desktop/ScriptUO_v239.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5492 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
zip
    Assembly Version: 0.0.0.0
    Win32 Version: 1.0.3592.26639
    CodeBase: file:///C:/Users/Matt/Desktop/ScriptUO_v239.exe
----------------------------------------
ScriptUO
    Assembly Version: 1.0.3592.26639
    Win32 Version: 1.0.3592.26639
    CodeBase: file:///C:/Users/Matt/Desktop/ScriptUO_v239.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
ICSharpCode.TextEditor
    Assembly Version: 0.0.0.0
    Win32 Version: 1.0.3592.26639
    CodeBase: file:///C:/Users/Matt/Desktop/ScriptUO_v239.exe
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    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.5483 (Win7SP1GDR.050727-5400)
    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.
Quote from: TrailMyx
These are the things we look for in new users and perspective Elite members:

Quoting Elites/GMods/Admins in your siggys.

Offline TrailMyx

  • Personal Scripter to Lord British
  • Administrator
  • *
  • *
  • Posts: 13064
  • Activity:
    13%
  • Reputation Power: 151
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Jesse
  • Respect: +16
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: Unhandled exception
« Reply #1 on: November 18, 2015, 06:40:35 PM »
0
Try running it before you start UO.  Also try moving the executable to a different location.  Every once in a while I get a strange exception as well.
« Last Edit: November 18, 2015, 06:42:14 PM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Crome969

  • RebirthUO - Developer
  • Elite
  • *
  • *
  • Posts: 2064
  • Activity:
    2.2%
  • Reputation Power: 24
  • Crome969 might someday be someone...Crome969 might someday be someone...Crome969 might someday be someone...Crome969 might someday be someone...
  • Gender: Male
  • StealthUO - Developer
  • Respect: 0
  • Referrals: 9
    • View Profile
    • RebirthUO - UO Freeshard
Re: Unhandled exception
« Reply #2 on: November 18, 2015, 11:38:13 PM »
0
How about we fix it? :D

Offline TrailMyx

  • Personal Scripter to Lord British
  • Administrator
  • *
  • *
  • Posts: 13064
  • Activity:
    13%
  • Reputation Power: 151
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Jesse
  • Respect: +16
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: Unhandled exception
« Reply #3 on: November 19, 2015, 06:31:34 AM »
0
How about we fix it? :D

I doubt it will actually compile at the moment.  :)  It's shocking to realize I wrote this back in 2008.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline BizaTopic starter

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Biza has no influence.
  • Gender: Male
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Unhandled exception
« Reply #4 on: November 19, 2015, 06:44:30 AM »
0
It seems it wont run with UO running at all, Guess I need to finally order a new battery for my 24/7 laptop anyway.
Quote from: TrailMyx
These are the things we look for in new users and perspective Elite members:

Quoting Elites/GMods/Admins in your siggys.

Offline TrailMyx

  • Personal Scripter to Lord British
  • Administrator
  • *
  • *
  • Posts: 13064
  • Activity:
    13%
  • Reputation Power: 151
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Jesse
  • Respect: +16
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: Unhandled exception
« Reply #5 on: November 19, 2015, 06:50:45 AM »
0
How do you launch UO?  Perhaps you try launching differently and see if that makes a difference.  When this happens to me, it does just seem to go away and doesn't come back for years.

Please read the ScriptUO site RULES
Come play RIFT with me!

Offline BizaTopic starter

  • Jr. Member
  • **
  • Posts: 65
  • Activity:
    0%
  • Reputation Power: 1
  • Biza has no influence.
  • Gender: Male
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: Unhandled exception
« Reply #6 on: November 19, 2015, 07:44:30 PM »
0
Launch from the client.exe or euo, either way it wont work while uo is running. if i open suo before I launch uo it will work now. not sure what changed other than restarting my computer.
Quote from: TrailMyx
These are the things we look for in new users and perspective Elite members:

Quoting Elites/GMods/Admins in your siggys.

Offline TrailMyx

  • Personal Scripter to Lord British
  • Administrator
  • *
  • *
  • Posts: 13064
  • Activity:
    13%
  • Reputation Power: 151
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Jesse
  • Respect: +16
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: Unhandled exception
« Reply #7 on: November 19, 2015, 08:05:51 PM »
0
There's some legacy code in there that still tries to interface with the client to pull position information, but that's hopelessly broken now.  No doubt it's tickling a sore area now.  :)

Anyhow, at least you figured a way to get it going.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline ErwinEUO

  • Jr. Member
  • **
  • Posts: 14
  • Activity:
    0.4%
  • Reputation Power: 1
  • ErwinEUO has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Unhandled exception
« Reply #8 on: March 20, 2017, 10:08:44 AM »
0
Hey Folks,

Sorry for bumping super old topic but I didn't see an update on the problem.

I was able to get thru the 'Unhandled Exception' issue in Windows 10 by setting Compatibility Level to "Windows Vista (Service Pack 2)".  Previously, I wasn't able to launch SUO without the crash.

Hope this helps someone!

EE

Offline TrailMyx

  • Personal Scripter to Lord British
  • Administrator
  • *
  • *
  • Posts: 13064
  • Activity:
    13%
  • Reputation Power: 151
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Jesse
  • Respect: +16
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: Unhandled exception
« Reply #9 on: March 20, 2017, 10:42:46 AM »
0
Thanks for reminding me; I need to fix that.  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 5022
  • Activity:
    10.4%
  • Reputation Power: 59
  • gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!gimlet is leading the good life!
  • Gender: Male
  • Respect: +18
  • Referrals: 2
    • View Profile
Re: Unhandled exception
« Reply #10 on: March 20, 2017, 11:35:08 AM »
0
Thanks for reminding me; I need to fix that.  :)

yea - fix that please!

Offline TrailMyx

  • Personal Scripter to Lord British
  • Administrator
  • *
  • *
  • Posts: 13064
  • Activity:
    13%
  • Reputation Power: 151
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Jesse
  • Respect: +16
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: Unhandled exception
« Reply #11 on: March 20, 2017, 11:37:08 AM »
0
Thanks for reminding me; I need to fix that.  :)

yea - fix that please!

I'm probably just going to release the source for all to laugh at.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Crome969

  • RebirthUO - Developer
  • Elite
  • *
  • *
  • Posts: 2064
  • Activity:
    2.2%
  • Reputation Power: 24
  • Crome969 might someday be someone...Crome969 might someday be someone...Crome969 might someday be someone...Crome969 might someday be someone...
  • Gender: Male
  • StealthUO - Developer
  • Respect: 0
  • Referrals: 9
    • View Profile
    • RebirthUO - UO Freeshard
Re: Unhandled exception
« Reply #12 on: March 20, 2017, 12:58:48 PM »
0
go for it.. i want to to see the source of your master piece  ;D

Offline TrailMyx

  • Personal Scripter to Lord British
  • Administrator
  • *
  • *
  • Posts: 13064
  • Activity:
    13%
  • Reputation Power: 151
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Jesse
  • Respect: +16
  • Referrals: 30
    • View Profile
    • ScriptUO
Re: Unhandled exception
« Reply #13 on: March 20, 2017, 02:55:44 PM »
0
go for it.. i want to to see the source of your master piece  ;D

lol, masterpiece.  When I started SUO, I didn't know how to program in C#, so it was truly my first .NET and C# project.  And it shows it with every line of code.  It's worth releasing just to see Crome laugh himself so hard that he'd choke on his Schnitzel and Heffe.

I look back at that now and kinda shake my head.  Talk about coding by the seat of your pants.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Crome969

  • RebirthUO - Developer
  • Elite
  • *
  • *
  • Posts: 2064
  • Activity:
    2.2%
  • Reputation Power: 24
  • Crome969 might someday be someone...Crome969 might someday be someone...Crome969 might someday be someone...Crome969 might someday be someone...
  • Gender: Male
  • StealthUO - Developer
  • Respect: 0
  • Referrals: 9
    • View Profile
    • RebirthUO - UO Freeshard
Re: Unhandled exception
« Reply #14 on: March 21, 2017, 12:12:05 AM »
0
It's worth releasing just to see Crome laugh himself so hard that he'd choke on his Schnitzel and Heffe.
To bad i dont find my very first c# project.. you would die while laughing  ;)

Tags: