Menu

#79 Object reference not set to an instance of a object

open
nobody
None
5
2004-01-30
2004-01-30
Anonymous
No

I get the following error when I just click on the buttom
to set the connection string in Delphi 8.0. (before to
write any connection data). Then I get a form to fill
connection data. When I press OK buttom I get a error
windows showing the text "Object reference not set to
an instance of a object".

System.IndexOutOfRangeException: Index was outside
the bounds of the array.
at
ByteFX.Data.Common.DBConnectionString.ParseKeyValue
Pairs(String src)
at ByteFX.Data.Common.DBConnectionString.Parse
(String newConnectString)
at
ByteFX.Data.MySqlClient.MySqlConnectionString.Parse
(String newConnectString)
at
ByteFX.Data.MySqlClient.Designers.EditConnectionString.
EditConnectionString_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl
(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow
(Message& m)
at System.Windows.Forms.Control.WndProc(Message&
m)
at System.Windows.Forms.ScrollableControl.WndProc
(Message& m)
at System.Windows.Forms.ContainerControl.WndProc
(Message& m)
at System.Windows.Forms.Form.WmShowWindow
(Message& m)
at System.Windows.Forms.Form.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.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/ms
corlib.dll
----------------------------------------

Discussion


Log in to post a comment.