piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

NMEA error KeyNotFoundException: The given key...

Wed Oct 28, 2015 2:07 pm

Hi Support,

It have been several days that on my GGS server's NMEA error log file have a lot of this error message:

2015-10-28 00:00:04.8525 | Error | 6 | NmeaConnection.Dispose | Error disposing. User bowo.scm | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-10-28 00:00:04.8837 | Error | 6 | NmeaConnection.Dispose | Error disposing. User yati.scm | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-10-28 00:00:32.4931 | Error | 22 | NmeaConnection.Dispose | Error disposing. User dahmar.dpl | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-10-28 00:00:32.5087 | Error | 22 | NmeaConnection.Dispose | Error disposing. User didik.dpl | System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()

Please help how to rectify this.


Best Regards,
piter197

User avatar
johan
GpsGate
Posts: 15103
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: NMEA error KeyNotFoundException: The given key...

Wed Oct 28, 2015 2:14 pm

You have most likely updated Patch.v4 from beta.gpsgate.com

To resolve this issue, please update Patch.v4 from beta.gpsgate.com again.

Regards,
Johan

GpsGate Support

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: NMEA error KeyNotFoundException: The given key...

Thu Oct 29, 2015 4:38 pm

Hi Johan,

I have update from beta repository Patch.v4 4.0.0.3449 yesterday but the error still exist.


Best Regards,
piter197

User avatar
johan
GpsGate
Posts: 15103
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: NMEA error KeyNotFoundException: The given key...

Mon Nov 02, 2015 12:12 pm

The latest beta of Patch.v4 has improved logging for this error.

If/when you upgrade, please let us know the error message you get.

Regards,
Johan

GpsGate Support

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: NMEA error KeyNotFoundException: The given key...

Tue Nov 03, 2015 6:32 am

Hi Johan,

We still get the error message like this:

2015-11-03 10:24:01.1930 | Error | 27 | NmeaConnection.Dispose | Error disposing. User henry.cbcy | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:24:32.1930 | Error | 27 | NmeaConnection.Dispose | Error disposing. User henry.cbcy | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:24:49.9430 | Error | 26 | NmeaConnection.Dispose | Error disposing. User dahmar.dpl | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:24:49.9586 | Error | 26 | NmeaConnection.Dispose | Error disposing. User didik.dpl | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:24:49.9898 | Error | 26 | NmeaConnection.Dispose | Error disposing. User adhit.dpl | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:24:50.0211 | Error | 26 | NmeaConnection.Dispose | Error disposing. User hengky.dpl | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:24:50.0367 | Error | 26 | NmeaConnection.Dispose | Error disposing. User wisnu.dpl | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:25:10.8805 | Error | 13 | _BatchDAO._Update | Retry row: | System.Data.ConstraintException: Column 'gate_event_id' is constrained to be unique. Value '17050159' is already present.
at System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException)
at System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
at System.Data.DataRowCollection.Add(DataRow row)
at Franson.DAO.SharedBatch._BatchDAO._Update()
2015-11-03 10:25:40.0367 | Error | 15 | NmeaConnection.Dispose | Error disposing. User tema.cbcy | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:26:10.4273 | Error | 6 | NmeaConnection.Dispose | Error disposing. User henry.cbcy | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:26:11.9898 | Error | 6 | NmeaConnection.Dispose | Error disposing. User satya.spvsmg | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()
2015-11-03 10:26:12.0211 | Error | 6 | NmeaConnection.Dispose | Error disposing. User satya.abu | System.InvalidOperationException: Design error. device.device_id missing in dicOriginal.
at Franson.DAO.SharedBatch._BatchDAO._CreateHashKey(Dictionary`2 dicOriginal)
at Franson.DAO.SharedBatch._BatchDAO.DetachRowFromDataSet(String strTableName, Dictionary`2 dicOriginal)
at Franson.DAO.DAOBase.Dispose()
at GpsGate.Online.Net.NmeaConnection.Dispose()


Best Regards,
piter197

User avatar
johan
GpsGate
Posts: 15103
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: NMEA error KeyNotFoundException: The given key...

Tue Nov 03, 2015 3:44 pm

This issue should be resolved in the latest beta of Patch.v4

Regards,
Johan

GpsGate Support

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: NMEA error KeyNotFoundException: The given key...

Wed Nov 04, 2015 3:53 am

Hi Johan,

Latest beta Patch.v4 resolve this issue. Thank you.


Best Regards,
piter197

Return to “GpsGate Server - How to setup and use”