SGPro 2.5.0.8 Errors

I am getting the following error when selecting any of the Settings buttons in Equipment Profile Manager:

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 g3.b(String eqType)
at g3.av()
at g3.m(Object A_0, EventArgs A_1)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Sequence Generator
Assembly Version: 2.5.0.8
Win32 Version: 2.5.0.8
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/Sequence%20Generator.exe

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

ServiceStack
Assembly Version: 3.9.48.0
Win32 Version: 3.9.48.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/ServiceStack.DLL

ServiceStack.Interfaces
Assembly Version: 3.9.48.0
Win32 Version: 3.9.48.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/ServiceStack.Interfaces.DLL

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Newtonsoft.Json
Assembly Version: 4.5.0.0
Win32 Version: 4.5.8.15203
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/Newtonsoft.Json.DLL

System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34268
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

RestSharp
Assembly Version: 104.1.0.0
Win32 Version: 104.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/RestSharp.DLL

ServiceStack.ServiceInterface
Assembly Version: 3.9.48.0
Win32 Version: 3.9.48.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/ServiceStack.ServiceInterface.DLL

ServiceStack.Common
Assembly Version: 3.9.48.0
Win32 Version: 3.9.48.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/ServiceStack.Common.DLL

ServiceStack.Text
Assembly Version: 3.9.45.0
Win32 Version: 3.9.45.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/ServiceStack.Text.DLL

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

ASCOM.DeviceInterfaces
Assembly Version: 6.0.0.0
Win32 Version: 6.2.0.2774
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ASCOM.DeviceInterfaces/6.0.0.0__565de7938946fba7/ASCOM.DeviceInterfaces.dll

GraphLib
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/GraphLib.DLL

MediaSlider
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/MediaSlider.DLL

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Data.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Linq.dll

System.Windows.Forms.DataVisualization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

ASCOM.Utilities
Assembly Version: 6.0.0.0
Win32 Version: 6.2.0.2774
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ASCOM.Utilities/6.0.0.0__565de7938946fba7/ASCOM.Utilities.dll

Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 12.0.51209.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

ASCOM.Astrometry
Assembly Version: 6.0.0.0
Win32 Version: 6.2.0.2774
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/ASCOM.Astrometry/6.0.0.0__565de7938946fba7/ASCOM.Astrometry.dll

Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/Microsoft.WindowsAPICodePack.Shell.DLL

Microsoft.WindowsAPICodePack
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/Microsoft.WindowsAPICodePack.DLL

WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

RicherTextBox
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Sequence%20Generator/RicherTextBox.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:

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.

Also, the following error shows up when starting SGP:

Error creating sequence from profile “Nikon D3 Imaging”. Value cannot be null. Parameter name: dictionary.

I assume this has something to do with one of the settings, which I cannot get to without the application throwing an exception.

Just thought I’d report this.

Ciao,
Mel

I figured out the reason for the errors… the old profiles are not compatible with this new version! I made a new one and everything is fine now. I guess that was probably already stated in the release notes… d’oh!!!

Thanks.

Ciao,
Mel

Thanks, probably an error with existing profiles. Can you please share the Nikon profile (sgp file)? Old profiles should not crash SGPro and should work fine in the new system (minus some parameters that will need to be reset).

I already wrote over the file. Here’s another profile that’s having the same problem.ASI174MM Imaging.zip (3.9 KB)

Also, my ANSVR is no longer working! I verified the port is available, settings show up but selecting solve or blind solve either fail or go to the web to solve. I cannot use 8080 so using the astrometry.net local is not an option. I have to use the url: http://127.0.0.1:8082/api

Any idea what could be causing this dilemma???

Thanks

Ciao,
Mel

So I selected PlateSolve2 as the primary plate solver with blind solver failover option selected and they both seem to work just fine. Blind solver failover seems to call ANSVR… is that normal?? Before, I had ANSVR as the primary plate solver and it would use that exclusively. I’ll go with this for now until I figure out how things are oriented!!

Thanks.

Ciao,
Mel

OK it looks like plate solving is working. However, does blind solve failover always go to the astrometry.net website? Is there a way to set it to use ANVSR instead? That would be more useful to someone who doesn’t have access to the web.

Thanks.

Ciao,
Mel

I’ll just jump in on this same thread…

Ken/Jared…any idea what this error is that is coming up each time I start up 2.5.0.8. If I click OK - the program starts OK (but I have not actually used this version yet)…just wondering what this error might be so that I can stop it appearing every time. Parameter: Dictionary?

(No logs attached…I’ll do that later if you need them: if the error does not go away when I set it up for use: and if it is still showing on every start up!)

@Kinch don’t worry about logs, I think I know what the issue is here.

Same here - exactly the same error. Profile came up blank after hitting OK.
Also - trying to do the settings on the environment and safety connections came up with exception errors.
In addition - it could not detect I had PHD2.6.1, told me I was running a 2.5.x version - though this may be a PHD2 issue and then failed to run.

… also the same here. After trying to “open sequence with a profile” the dictionary-null-issue came again.
But by the way: Where can I find the SGPro logfile?

All this stuff is fixed in 2.5.0.9 (out tomorrow).

Thanks Ken. My profiles are about 18 months old. Does it make sense for me to just do them again. For 30 mins work, would it take out any uncertainty?

You are welcome to do this if it makes you more comfortable, but it is our philosophy that new versions of SGPro should not cause users to lose profiles or sequences.

Kinch and All,

I had similar problem with error message as Kinch above …I reviewed all setting and saved, nothing helped.

I created a new profile with exact same details for each tab, all works fine now

Uri

I tried with 2.5.0.9, and the same error occurs (both in 2.5.0.8 and 2.5.0.9, but not 2.5.0.7).

Please find the log attached.
sg_logfile_20160205010659.txt (32.0 KB)
sg_logfile_20160205011627.txt (24.8 KB)