Skip to main content

News

Topic: [STUDIO] (W10) New Project - Index was outside the bounds of the array (Read 5142 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
[STUDIO] (W10) New Project - Index was outside the bounds of the array
When I'm trying to create a new project, I'm presented with the following error, details marked in "code" below. I was reading another forum post about issues starting Sphere Studio in W7 and W8, and it mentioned possible file permissions issues and to re-zip and re-extract, which I tried, but it didn't change the way it functions.

Error:


Details:
Code: [Select]
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 Sphere_Editor.EditorForm.CallNewProject(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(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.8670 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Sphere Editor
    Assembly Version: 1.1.5.0
    Win32 Version: 1.1.5.0
    CodeBase: file:///C:/Users/drago/Documents/Sphere/Sphere/Sphere%20Editor.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)
    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.8670 (QFE.050727-8600)
    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.8670 (QFE.050727-8600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Sphere.Plugins
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/drago/Documents/Sphere/Sphere/Sphere.Plugins.DLL
----------------------------------------
WeifenLuo.WinFormsUI.Docking
    Assembly Version: 2.7.0.0
    Win32 Version: 2.7.0.0
    CodeBase: file:///C:/Users/drago/Documents/Sphere/Sphere/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
TaskPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/drago/Documents/Sphere/Sphere/Plugins/TaskPlugin.dll
----------------------------------------
ObjectListView
    Assembly Version: 2.5.1.20896
    Win32 Version: 2.5.1.0
    CodeBase: file:///C:/Users/drago/Documents/Sphere/Sphere/ObjectListView.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8670 (QFE.050727-8600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.



  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • Sphere Developer
Re: [STUDIO] (W10) New Project - Index was outside the bounds of the array
Reply #1
That's a quite old version of Sphere Studio, have you tried the latest one (1.2.1)?
neoSphere 5.9.2 - neoSphere engine - Cell compiler - SSj debugger
forum thread | on GitHub

Re: [STUDIO] (W10) New Project - Index was outside the bounds of the array
Reply #2
Edit: Found it on the forums. Thanks for that Lord English! :D

I downloaded it from the Download Drive, it's the newest version I see on there. Do I download it from somewhere else?
  • Last Edit: March 03, 2016, 10:18:29 pm by zechs

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • Sphere Developer
Re: [STUDIO] (W10) New Project - Index was outside the bounds of the array
Reply #3
No problem.

Tip: If you download and install the minisphere 3.0 beta (see my signature), you'll get a nice single-stepping debugger in the editor. ;)
neoSphere 5.9.2 - neoSphere engine - Cell compiler - SSj debugger
forum thread | on GitHub

  • DaVince
  • [*][*][*][*][*]
  • Administrator
  • Used Sphere for, like, half my life
Re: [STUDIO] (W10) New Project - Index was outside the bounds of the array
Reply #4

Edit: Found it on the forums. Thanks for that Lord English! :D

I downloaded it from the Download Drive, it's the newest version I see on there. Do I download it from somewhere else?

Well, thanks for noticing. Not everything on the downloads drive is quite up to date, unfortunately. I uploaded the latest version on there now. (To be honest, the website in general could use some work to make things easier for anyone new.)