Sigmastudio unhandled exception pain
Hi,
I keep getting unhandled exceptions in Sigmstudio when I attempt to do link and download. Sometimes, after creating a new project, it will connect, but as I add the bits I want, at some point, it just breaks, and then appears to be stuck with the unhandled exception, at least until I shut it down and restart. Very, very frustrating, with no clue (at least to the user) as to what the cause is.
Any ideas?
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 ADICtrls.SigmaIC.Save(ArrayList algorithmarray)
at Sigma100.DSPSigma100.Compile(ArrayList algorithmarray)
at SStudio.LinkWnd.CompileNL_Click(Object sender, EventArgs e)
at SStudio.MainForm.ShowCreateLinkWnd(Boolean showlinkwnd)
at SStudio.MainForm.LinkCompileDownload(Boolean download, DesignFrame desFrame)
at SStudio.MainForm.LinkCompileDownload(Boolean download)
at SStudio.MainForm.ultraToolbarsManager1_ToolClick(Object sender, ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.PopupControlBase.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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.4963 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SStudio
Assembly Version: 3.6.2.957
Win32 Version: 3.6.002.957
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/SStudio.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
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.4962 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
BaseLib
Assembly Version: 3.6.2.954
Win32 Version: 3.6.002.954
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/BaseLib.DLL
----------------------------------------
FixIntLib
Assembly Version: 3.6.2.953
Win32 Version: 3.6.002.953
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/FixIntLib.DLL
----------------------------------------
DataLib
Assembly Version: 3.6.2.953
Win32 Version: 3.6.002.953
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/DataLib.DLL
----------------------------------------
Analog.SigmaStudioServer
Assembly Version: 3.6.2.953
Win32 Version: 3.1.000.953
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Analog.SigmaStudioServer.DLL
----------------------------------------
Infragistics2.Win.UltraWinToolbars.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Win.UltraWinToolbars.v10.1.DLL
----------------------------------------
Infragistics2.Win.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Win.v10.1.DLL
----------------------------------------
Infragistics2.Shared.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Shared.v10.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinDock.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Win.UltraWinDock.v10.1.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ADIComms
Assembly Version: 3.6.2.954
Win32 Version: 3.6.002.954
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADIComms.DLL
----------------------------------------
Northwoods.Go
Assembly Version: 3.0.2.2
Win32 Version: 3.0.2.2
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Northwoods.Go.DLL
----------------------------------------
Infragistics2.Win.UltraWinTabControl.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Win.UltraWinTabControl.v10.1.DLL
----------------------------------------
Aga.Controls
Assembly Version: 3.6.2.953
Win32 Version: 3.6.002.953
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Aga.Controls.DLL
----------------------------------------
Infragistics2.Win.UltraWinExplorerBar.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Win.UltraWinExplorerBar.v10.1.DLL
----------------------------------------
System.Data.DataSetExtensions
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.4926 built by: NetFXw7
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.ServiceModel
Assembly Version: 3.0.0.0
Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceModel/3.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
SMDiagnostics
Assembly Version: 3.0.0.0
Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/SMDiagnostics/3.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
ADICtrls
Assembly Version: 3.6.2.1063
Win32 Version: 3.6.002.1063
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADICtrls.DLL
----------------------------------------
CustomControls
Assembly Version: 3.6.2.954
Win32 Version: 3.6.002.954
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/CustomControls.DLL
----------------------------------------
Sigma100
Assembly Version: 3.6.2.938
Win32 Version: 3.6.002.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Sigma100.DLL
----------------------------------------
Sigma200
Assembly Version: 3.6.2.938
Win32 Version: 3.1.000.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Sigma200.DLL
----------------------------------------
ADAV451
Assembly Version: 3.6.2.938
Win32 Version: 3.6.002.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADAV451.DLL
----------------------------------------
ADAV4xxx
Assembly Version: 3.6.2.938
Win32 Version: 3.6.002.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADAV4xxx.DLL
----------------------------------------
ADAU176X
Assembly Version: 3.6.2.938
Win32 Version: 3.6.002.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADAU176X.DLL
----------------------------------------
ADAU136X
Assembly Version: 3.6.2.938
Win32 Version: 3.6.002.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADAU136X.DLL
----------------------------------------
SigmaLP2
Assembly Version: 3.6.2.938
Win32 Version: 3.6.002.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/SigmaLP2.DLL
----------------------------------------
WindNoise
Assembly Version: 3.6.2.1045
Win32 Version: 3.6.002.1045
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/WindNoise.DLL
----------------------------------------
DSC
Assembly Version: 3.6.2.1042
Win32 Version: 1.0.0.1164
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/DSC.DLL
----------------------------------------
SubHarmonic
Assembly Version: 3.6.2.1045
Win32 Version: 3.6.002.1045
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/SubHarmonic.DLL
----------------------------------------
AVC
Assembly Version: 3.6.2.1045
Win32 Version: 3.6.002.1045
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/AVC.DLL
----------------------------------------
NoiseReduction
Assembly Version: 3.6.2.1038
Win32 Version: 3.6.002.1038
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/NoiseReduction.DLL
----------------------------------------
SuperBass
Assembly Version: 3.6.2.1038
Win32 Version: 3.6.002.1038
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/SuperBass.DLL
----------------------------------------
ADAU1373
Assembly Version: 3.1.22.0
Win32 Version: 1.0.0.14
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADAU1373.DLL
----------------------------------------
SSM2518
Assembly Version: 3.6.2.1036
Win32 Version: 3.6.002.1036
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/SSM2518.DLL
----------------------------------------
Infragistics2.Win.UltraWinStatusBar.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Win.UltraWinStatusBar.v10.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinEditors.v10.1
Assembly Version: 10.1.20101.1007
Win32 Version: 10.1.20101.1007
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Infragistics2.Win.UltraWinEditors.v10.1.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.WorkflowServices
Assembly Version: 3.5.0.0
Win32 Version: 3.5.594.4926
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.WorkflowServices/3.5.0.0__31bf3856ad364e35/System.WorkflowServices.dll
----------------------------------------
System.ServiceModel.Web
Assembly Version: 3.5.0.0
Win32 Version: 3.5.594.4926
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceModel.Web/3.5.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll
----------------------------------------
Microsoft.VisualStudio.Diagnostics.ServiceModelSink
Assembly Version: 3.0.0.0
Win32 Version: 10.0.30319.1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/3.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 3.0.0.0
Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.IdentityModel
Assembly Version: 3.0.0.0
Win32 Version: 3.0.4506.4926 (NetFXw7.030729-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.IdentityModel/3.0.0.0__b77a5c561934e089/System.IdentityModel.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.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.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
ADIUSBi
Assembly Version: 3.6.2.953
Win32 Version: 3.6.002.953
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/ADIUSBi.DLL
----------------------------------------
CyUSB
Assembly Version: 3.4.2.0
Win32 Version: 3.4.2.0
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/CyUSB.DLL
----------------------------------------
LinkLib
Assembly Version: 3.6.2.953
Win32 Version: 3.1.000.953
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/LinkLib.DLL
----------------------------------------
Sigma100Compiler
Assembly Version: 3.6.2.938
Win32 Version: 3.6.002.938
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/Sigma100Compiler.DLL
----------------------------------------
SigmaCompiler
Assembly Version: 3.6.2.937
Win32 Version: 3.6.002.937
CodeBase: file:///C:/Program%20Files/Analog%20Devices/SigmaStudio%203.6/SigmaCompiler.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.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.
Speaker Amplifiers
ssm2518
Integrated/Special Purpose A/D Converters
adau1373
Class-D Audio Amplifiers
Audio CODECs
Show More
Would you mind posting your project file?
Hi Bret,
I think it's related to where the project is saved. It doesn't seem to like being saved on the D drive. Only likes being in the user directory on C drive (i'm running win 7 64). If I save it on the C drive in the default user dir, it seems to work.
Running SS 3.6 build 2 rev 957
Thanks
Thanks. I think SigmaStudio somehow "prefers" to use the user directory, which is on the C drive by default, so perhaps this is somehow not accounted for if the installation is on another drive. I will inform the team.
Hi Bret,
The installation is in the default location (C drive) - it's just the dspproj file I tried to save elsewhere. I havnt't tried other locations, but saving directly to internal disk (D drive) appeared to not work, wheras saving to C:\user\myusername\ appeared to work. When it started working, I stopped looking
n.
OK. The software team informs me that you should be able to put it anywhere, even on a network drive, but I guess the best thing to do at this point would be to close this issue and just give the software team a heads up.
Thanks!
I used to only see this error when I would forget that I was working on a file that was on a flash drive... I've recently noticed thatI get this error when ever I have a large project file, or just randomly at this point. My current program is 4 switches to control 4 GPIO pins, stored in the "C:\Dorcuments and Settings\user\Desktop\SigmaStudio Software" and it is giving me this error, but it was working not long ago...
Same problem on XP SP3 while trying to use a dspproj file from a network share (which I have write access to). After finding this thread and moving the file to the C drive, it works. These bugs are really frustrating.
---------------------------
Application Exception
---------------------------
Object reference not set to an instance of an object.
at ADICtrls.SigmaIC.Save(ArrayList algorithmarray)
at Sigma100.DSPSigma100.Compile(ArrayList algorithmarray)
at SStudio.LinkWnd.CompileNL_Click(Object sender, EventArgs e)
at SStudio.MainForm.ShowCreateLinkWnd(Boolean showlinkwnd)
at SStudio.MainForm.LinkCompileDownload(Boolean download, DesignFrame desFrame)
at SStudio.MainForm.LinkCompileDownload(Boolean download)
at SStudio.MainForm.ultraToolbarsManager1_ToolClick(Object sender, ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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)
---------------------------
Abort Retry Ignore
---------------------------
I am having similar problem, but only when trying to compile the schematic with my custom module. I have posted the details in other thread:
Custom module instantiation SigmaStudio for Shark
Please log in to reply.