SalesforceLoader throws an exception when calling CreateColumns

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
Post Reply
PascalD2
Posts: 9
Joined: Wed 12 Jan 2011 03:48

SalesforceLoader throws an exception when calling CreateColumns

Post by PascalD2 » Fri 13 May 2016 16:57

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)

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: SalesforceLoader throws an exception when calling CreateColumns

Post by Shalex » Fri 13 May 2016 18:08

Thank you for your report. We will notify you when the bug is fixed.

Post Reply