Error when add new


Author
Message
ChanKK
ChanKK
StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)
Group: Forum Members
Posts: 190, Visits: 1.3K
Hi,

When I try to add new row, it hit the error below. It only happens with the Business.dll that fix the memory leak problem. Please advice. Thank you



[NullReferenceException: Object reference not set to an instance of an object.]

MicroFour.StrataFrame.Business.BusinessBindingSource.BusinessObject_CurrentView_ListChanged(Object sender, ListChangedEventArgs e) +30

System.ComponentModel.ListChangedEventHandler.Invoke(Object sender, ListChangedEventArgs e) +0

System.Data.DataView.OnListChanged(ListChangedEventArgs e) +356

System.Data.DataView.IndexListChanged(Object sender, ListChangedEventArgs e) +27

System.Data.DataView.IndexListChangedInternal(ListChangedEventArgs e) +75

System.Data.DataViewListener.IndexListChanged(ListChangedEventArgs e) +60

System.Data.Index.b__2(DataViewListener listener, ListChangedEventArgs args, Boolean arg2, Boolean arg3) +6

System.Data.Listeners`1.Notify(T1 arg1, T2 arg2, T3 arg3, Action`4 action) +149

System.Data.Index.OnListChanged(ListChangedEventArgs e) +164

System.Data.Index.OnListChanged(ListChangedType changedType, Int32 newIndex, Int32 oldIndex) +57

System.Data.Index.RecordStateChanged(Int32 oldRecord, DataViewRowState oldOldState, DataViewRowState oldNewState, Int32 newRecord, DataViewRowState newOldState, DataViewRowState newNewState) +230

System.Data.DataTable.RecordStateChanged(Int32 record1, DataViewRowState oldState1, DataViewRowState newState1, Int32 record2, DataViewRowState oldState2, DataViewRowState newState2) +151

System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException) +4818040

System.Data.DataTable.SetNewRecord(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean fireEvent) +40

System.Data.DataRow.SetNewRecord(Int32 record) +21

System.Data.DataRow.EndEdit() +4816925

System.Data.DataRow.set_Item(DataColumn column, Object value) +338

System.Data.DataRow.set_Item(String columnName, Object value) +24

MicroFour.StrataFrame.Data.DataBasics.InitializeNewRow(DataRow NewDataRow, StringCollection IgnoredFields, Dictionary`2 FieldNativeTypes) +231

MicroFour.StrataFrame.Business.BusinessLayer.NewRow() +529

MicroFour.StrataFrame.Business.BusinessLayer.Add(Boolean CheckSecurity) +127

Vfs.Generic.UI.Web.Strataframe.Forms.DataEntryBasePage.Add(Boolean checkSecurity) +34

Vfs.Generic.UI.Web.ExtendedControls.MaintenanceToolbar.HandleMenuItemClick(Object source, MenuItemEventArgs e) +471

DevExpress.Web.ASPxMenu.ASPxMenuBase.OnItemClick(MenuItemEventArgs e) +78

DevExpress.Web.ASPxMenu.ASPxMenuBase.RaisePostBackEvent(String eventArgument) +326

DevExpress.Web.ASPxClasses.ASPxWebControl.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search