Neuros Forums
Home | Active Topics | Search | FAQ
 All Forums
 Gamma Forums
 Sync Manager
 Array Bounds Error in NSM
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

layne(at)lommen.org
Just Posting

5 Posts

Posted - 03/20/2004 :  09:52:45 AM  Show Profile
A few weeks ago, I started up NSM (1.41beta) and was greeted with the following error dialog:

Index was outside the bounds of the array.

If I click on Continue, the dialog box reappears, and continues to do so until I finally give up and hit cancel after 20-30 times.

I spent some time monkeying around with the settings.xml and other files in the Neuros installation directory, and eventually managed to make the problem stop (Unfortunately, I can't recall exactly what the combination of incantations I performed that finally solved the problem.) and was able to add some additional files to the NSM database and my Neuros.

Anyway, I tried to fire up NSM again yesterday, and saw that the problem had returned. After spending an hour or so monkeying with the NSM config files, (and updating to NSM 1.42beta) I am still unable to run NSM!

Here is the text from the "Details" pane of the error dialog box:

/****************************************************************/

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 DigitalInnovations.NSM.Views.PlaylistsView.GetFieldValue(DataRecord record, Int32 column)
at DigitalInnovations.NSM.Views.DataView.GetItemText(Int32 item, Int32 subitem)
at DigitalInnovations.NSM.Views.VirtualListView.InvokeGetItemText(Int32 item, Int32 subitem)
at DigitalInnovations.NSM.Views.VirtualListView.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
NSM
Assembly Version: 1.42.1509.39431
Win32 Version: 1.42.1509.39431
CodeBase: file:///C:/Program%20Files/NSM/NSM.exe
----------------------------------------
NSM Control
Assembly Version: 1.0.1509.38348
Win32 Version: 1.0.1509.38348
CodeBase: file:///C:/Program%20Files/NSM/NSM%20Control.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
NSM Data
Assembly Version: 1.0.1509.38342
Win32 Version: 1.0.1509.38342
CodeBase: file:///C:/Program%20Files/NSM/NSM%20Data.DLL
----------------------------------------
System.Data
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
----------------------------------------
NSM Shared
Assembly Version: 1.0.1509.38341
Win32 Version: 1.0.1509.38341
CodeBase: file:///C:/Program%20Files/NSM/NSM%20Shared.DLL
----------------------------------------
NeurosMeter
Assembly Version: 1.0.1509.38365
Win32 Version: 1.0.1509.38365
CodeBase: file:///C:/Program%20Files/NSM/NeurosMeter.DLL
----------------------------------------
NSMAPI
Assembly Version: 1.0.1509.38345
Win32 Version: 1.0.1509.38345
CodeBase: file:///C:/Program%20Files/NSM/NSMAPI.DLL
----------------------------------------
NSMDataRecord
Assembly Version: 1.0.1509.1121
Win32 Version: 1.0.1509.1121
CodeBase: file:///C:/Program%20Files/NSM/NSMDataRecord.DLL
----------------------------------------
APIError
Assembly Version: 1.0.1509.1109
Win32 Version: 1.0.1509.1109
CodeBase: file:///C:/Program%20Files/NSM/APIError.DLL
----------------------------------------
NSMMonitorIPC
Assembly Version: 1.0.1509.1147
Win32 Version: 1.0.1509.1147
CodeBase: file:///C:/Program%20Files/NSM/NSMMonitorIPC.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.


Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)

Cool4u2view
Neuros Audio Team
Posting Mania

3397 Posts

Posted - 03/20/2004 :  10:43:05 AM  Show Profile  Visit Cool4u2view's Homepage  Send Cool4u2view an AOL message  Click to see Cool4u2view's MSN Messenger address  Send Cool4u2view a Yahoo! Message
You do have the .Net framework from Microsoft correct? If not you will need to get it.

-Jeff

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

layne(at)lommen.org
Just Posting

5 Posts

Posted - 03/20/2004 :  6:36:11 PM  Show Profile
I have .NET Framework v1.1 installed (according to the "Add or Remove Programs" control panel.)

This problem seems to be related to my data files. If I rename my user directory in the NSM "Data" Folder, I am able to run NSM successfully, albeit with no data visible to the application.)


quote:
Originally posted by Cool4u2view

You do have the .Net framework from Microsoft correct? If not you will need to get it.

-Jeff


Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

kborn(at)neurosaudio.com
Neuros Team
Moderator

1520 Posts

Posted - 03/24/2004 :  1:57:01 PM  Show Profile
Layne, if it's working, that's great. But I'm not sure how your fix worked. If you have trouble going forward, let us know and we'll troubleshoot.

K

Neuros Support

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

layne(at)lommen.org
Just Posting

5 Posts

Posted - 03/27/2004 :  3:52:56 PM  Show Profile
Unfortunately, its NOT working right now.

If you give me some advice on what sort of data to collect to help troubleshoot this problem, please let me know.



quote:
Originally posted by kborn(at)neurosaudio.com

Layne, if it's working, that's great. But I'm not sure how your fix worked. If you have trouble going forward, let us know and we'll troubleshoot.

K

Neuros Support


Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

kborn(at)neurosaudio.com
Neuros Team
Moderator

1520 Posts

Posted - 03/29/2004 :  12:25:21 PM  Show Profile
Hi Layne,

My thought is that something just went wrong with the install. Since you have the .net framework already, just uninstall completely and load 1.42 from the updates page.

Leave everything as the default, whatever options NSM offeres, where you put the program files, where you store your recordings, HiSi space allocation, etc. - all leave as the default.

after you uninstall, make sure all your files and directories are gone, check under program files (NSM folder should be gone), and in documents and settings > all users > application data >Neuros -- that folder should be gone too.

Then do the reinstall and see if it works. What operating system do you have?

K

Neuros Support

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

webkid
Posting Mania

1590 Posts

Posted - 03/29/2004 :  1:10:43 PM  Show Profile  Send webkid an AOL message
Also, though this is not professional advice, I would recommend a jaunt through your Registry to remove anything NSM may have left behind...

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

kborn(at)neurosaudio.com
Neuros Team
Moderator

1520 Posts

Posted - 03/29/2004 :  1:17:39 PM  Show Profile
But if you're not sure what a registry is... don't touch it.

K

Neuros Support

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

layne(at)lommen.org
Just Posting

5 Posts

Posted - 05/05/2004 :  01:09:43 AM  Show Profile
Well, I haven't been able to change the contents on my Neuros for 6 weeks or so now, since I couldn't get NSM to run.

My hair had finally grown back some from pulling it out the last time I tried to use the furshlinger NSM software, so I figured I'd try one more time to get it to work.

First, I installed the latest Beta version in hopes that my problem might have been solved (It wasn't).

Next, I went back to messing with the contents of the NSM program directory to see if I could re-create (as I mentioned in my first post) the magic incantation that allowed me to run NSM before.

I believe that I've discovered a sequence of steps that allow me to get past the "Array Bounds" Error.

(1) Start NSM
(2) Get annoying "Array Bounds" error every time the program tries to display a line in the "Playlist" window.
(3) quit NSM
(4) move the "Playlists.xml" and "PlaylistTracks.xml" files into a subdirectory called "disabled".
(5) start NSM again. (It starts and give me an empty playlist window.)
(7) quit NSM
(8) put the "Playlists.xml" and "PlaylistTracks.xml" back in their original locations
(9) start NSM again (everything is fine now, until the
next time I start the application, when I have to repeat the process.)

If I quit with the application in "tracks" view, I get the same "array bounds" error when I start up again. In this case,
I can eliminate the error by temporarily removing "Tracks.xml", starting/quitting NSM, putting "Tracks.xml" back, and starting again.

I _think_ that I may be able to avoid having to repeat this annoying sequence each time I start NSM by making sure that I always set the view to "genres", or "Recordings" before quitting NSM.
I would hope that someday, DI might fix their code so this wouldn't be necessary.

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

kborn(at)neurosaudio.com
Neuros Team
Moderator

1520 Posts

Posted - 05/05/2004 :  3:00:44 PM  Show Profile
Do you think the error may be tied to any particular files. Like if you take those XML files and back them up somewhere, then make fresh playlists with different songs, does it happen?
If we can tie it to certain songs, we may have an issue with special characters. If it's any comfort, I have a pretty big special character issue logged.

K

Neuros Support

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

huges84
Posting is for Closers

50 Posts

Posted - 05/26/2004 :  3:06:50 PM  Show Profile  Send huges84 an AOL message
Layne, from your posts it looks like you might now a fair amount of programming. In case you didn't already know, the source code for NSM is located here:

http://open.neurosaudio.com/extra/NSM_OpenSource.zip

So, if you are willing and able, you could figure out the problem yourself. Just FYI.

That was Zen, this is Tao

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Neuros Forums Go To Top Of Page
Snitz Forums 2000