General information
Category:
The Mere Mortals .NET Framework
Kevin,
Below is the error message and stack info.
Title: Application Exception
An Application Exception Occurred
Description:
Object reference not set to an instance of an object.
Stack Trace:
at OakLeaf.MM.Main.Windows.Forms.mmBindingStrategyList.BindData(ImmBindingList mmControl, DataSet ds, String tableName, mmBusinessObject bizObj)
at OakLeaf.MM.Main.Windows.Forms.mmBindingStrategyList.BindData(ImmBindingList mmControl, mmBusinessObject bizObj, mmBusinessStateChangeEventArgs e)
at OakLeaf.MM.Main.Windows.Forms.mmListBox.OnBindData(mmBusinessObject bindingSource, mmBusinessStateChangeEventArgs e)
at OakLeaf.MM.Main.Windows.Forms.mmListBox.StateChangeHandler(mmBusinessObject bizObj, mmBusinessStateChangeEventArgs e)
at OakLeaf.MM.Main.Business.mmBusinessStateChangeDelegate.Invoke(mmBusinessObject bizObj, mmBusinessStateChangeEventArgs e)
at OakLeaf.MM.Main.Business.mmBusinessObject.OnStateChange(mmBusinessState bizState, String tableName, Object primaryKeyValue, Object[] primaryKeyValues)
at OakLeaf.MM.Main.Business.mmBusinessObject.CallStateChange(mmBusinessState bizState, String tableName)
at OakLeaf.MM.Main.Business.mmBusinessObject.FillDataSet(DataSet ds, String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] dataParams)
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] dataParams)
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command, String tableName, String databaseKey, IDbDataParameter[] dataParams)
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command, String tableName, String databaseKey)
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command, String tableName)
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command)
at SmartSystems.SmartPOS.Business.Categories.GetAllCategories() in d:\smartposproject\smartpos business\categories.cs:line 25
at SmartSystems.SmartPOS.CategoriesForm..ctor() in d:\smartposproject\smartpos\categoriesform.cs:line 53
at SmartSystems.SmartPOS.Main.Windows.Forms.MainForm.ActivitiesCategoriesBar_Click(Object sender, EventArgs e) in d:\smartposproject\smartpos\mainform.cs:line 397
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(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.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at SmartSystems.SmartPOS.Main.AppMainEntry.Main() in d:\smartposproject\smartpos\main.cs:line 45
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only