Using VS 2015 & both versions 3.0.17 and 2.5.837
Connection with system objects True
salesforceConnection1.Open();
SalesforceLoader loader = new SalesforceLoader();
loader.Connection = salesforceConnection1;
loader.TableName = "Account";
try
{
loader.CreateColumns(); <-- Exception here!
loader.Open();
Call stack of exception
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Devart.Data.Salesforce.SalesforceLoader.a()
at Devart.Data.Salesforce.SalesforceLoader.CreateColumns()
at OrbitDataLoader.Form1.button1_Click(Object sender, EventArgs e) in C:\Projets\OrbitDataLoader\OrbitDataLoader\Form1.cs:line 31
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)
SalesforceLoader throws an exception when calling CreateColumns
Re: SalesforceLoader throws an exception when calling CreateColumns
Thank you for your report. We will notify you when the bug is fixed.