以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 错误提示? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=31109) |
-- 作者:wqb1102 -- 发布时间:2013/4/10 12:55:00 -- 错误提示? 保存项目时出现提示: .NET Framework 版本:2.0.50727.5466 Foxtable 版本:2012.11.28.1 错误所在事件: 详细错误信息: System.NullReferenceException: 未将对象引用设置到对象的实例。 在 System.Data.Index.CompareRecords(Int32 record1, Int32 record2) 在 System.Data.Index.IndexTree.CompareNode(Int32 record1, Int32 record2) 在 System.Data.RBTree`1.SearchSubTree(Int32 root_id, K key) 在 System.Data.RBTree`1.GetNodeByKey(K key) 在 System.Data.RBTree`1.GetIndexByKey(K key) 在 System.Data.Index.RecordStateChanged(Int32 oldRecord, DataViewRowState oldOldState, DataViewRowState oldNewState, Int32 newRecord, DataViewRowState newOldState, DataViewRowState newNewState) 在 System.Data.DataTable.RecordStateChanged(Int32 record1, DataViewRowState oldState1, DataViewRowState newState1, Int32 record2, DataViewRowState oldState2, DataViewRowState newState2) 在 System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException) 在 System.Data.DataTable.SetNewRecord(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean fireEvent) 在 System.Data.DataRow.SetNewRecord(Int32 record) 在 System.Data.DataRow.EndEdit() 在 System.Data.DataRow.set_Item(DataColumn column, Object value) 在 System.Data.DataRow.set_Item(String columnName, Object value) 在 Foxtable.DataTable.Ol100l0l0100l(DataRow[] OO0l) 但没有指出错误所在事件,不知在那里错了。
|
-- 作者:Bin -- 发布时间:2013/4/10 14:04:00 -- 代码贴出来... 这个错误提示说明你某个变量是空值,但是你依然试图使用它. |