Strange exception
Posted: Tue 13 Dec 2011 19:02
After attaching entity to context and submiting i receive strange exception:
Exception :System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at Devart.Data.Linq.b.a(Object A_0, Object A_1, MetaType A_2)
at Devart.Data.Linq.s.a(k A_0, ae A_1, Object A_2, Boolean A_3)
at Devart.Data.Linq.n.a(s A_0, ae A_1, Boolean A_2)
at Devart.Data.Linq.n.a(DataContext A_0, ConflictMode A_1)
at Devart.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
at Listonic.BLL.Logging.SuperBaseLinqDs`3.Submit() in D:\GitRepo\ListonicProd\Common\Listonic.BLL.Logging\SuperBaseLinqDs.cs:line 170
at Listonic.BLL.Logging.SuperBaseLinqDs`3.Update(T entity) in D:\GitRepo\ListonicProd\Common\Listonic.BLL.Logging\SuperBaseLinqDs.cs:line 139
at Listonic.Gazetki.GazetkiProcessorThreader.run() in D:\GitRepo\ListonicProd\Common\Listonic.Gazetki\GazetkiProcessorThreader.cs:line 77 Source :mscorlib
The problem is that when this operation is repeated for same record, there is no exception.
I have teh newest version of linq connect.
If it possible that you Can give more information about possible exception cause ?
Regards
Piotr Wójcicki
Exception :System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at Devart.Data.Linq.b.a(Object A_0, Object A_1, MetaType A_2)
at Devart.Data.Linq.s.a(k A_0, ae A_1, Object A_2, Boolean A_3)
at Devart.Data.Linq.n.a(s A_0, ae A_1, Boolean A_2)
at Devart.Data.Linq.n.a(DataContext A_0, ConflictMode A_1)
at Devart.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
at Listonic.BLL.Logging.SuperBaseLinqDs`3.Submit() in D:\GitRepo\ListonicProd\Common\Listonic.BLL.Logging\SuperBaseLinqDs.cs:line 170
at Listonic.BLL.Logging.SuperBaseLinqDs`3.Update(T entity) in D:\GitRepo\ListonicProd\Common\Listonic.BLL.Logging\SuperBaseLinqDs.cs:line 139
at Listonic.Gazetki.GazetkiProcessorThreader.run() in D:\GitRepo\ListonicProd\Common\Listonic.Gazetki\GazetkiProcessorThreader.cs:line 77 Source :mscorlib
The problem is that when this operation is repeated for same record, there is no exception.
I have teh newest version of linq connect.
If it possible that you Can give more information about possible exception cause ?
Regards
Piotr Wójcicki