I have updated to build 21774 and that build resolved the issue with being able to save changes from Device Admin to a custom device. However, now a different error is being thrown when Trips History is run. In a test environment, I have narrowed it down to iProductID field on the vehicle table. If I change this value to anything but NULL, Trips History executes without error. However, when a device is added with DeviceType of DeviceType.None, the iProductID is NULL by default. I also get a related but different error when the 'Summary' button is clicked. Any suggestions? Cause: EX23813B3B: Object reference not set to an instance of an object. ThrowLevel: 0 >>>>>> Exception: EXDDA95B5D System.NullReferenceException Message: Object reference not set to an instance of an object. StackTrace: at Geotab.Checkmate.Forms.Reports.TripsReport.LoadDetailRows(ReportType theReportType, TripActivityDetailViewingArgument detailViewingArgument, Boolean includeAuxiliary) at Geotab.Checkmate.Forms.Reports.TripsReport.LoadDetailReport() at Geotab.Checkmate.Forms.Reports.TripsReport.LoadReport(Object TripsData) at Geotab.Checkmate.Forms.Reports.TripsReport.OnReportGenerationChanged(ProgressChangedEventArgs e) <<<<<< User: ASHORT@ASHORT-HP Application: Checkmate.exe Version: VE62100D66 5.5.1.21774 Revision: BU9E50DF2D 5.5.1 Minor: MI60C5807C 5.5 Path: C:\Users\ASHORT\AppData\Local\Apps\2.0\DJG6CX4Y.NOC\L8J9G87N.TRR\mi63..3996_4893c61d6e8984ff_0005.0005_42174585d5171f70\Checkmate.exe OS: Microsoft Windows NT 6.1.7601 Service Pack 1 IE Version: 9.0.8112.16440 Region: United States CultureName: English (United States) LCID1033 Database: SQL Server; DB Version: 88.53; Path: ----------------------------------------------------------------------------- After clicking Summary: Cause: EX56A0DED8: Specified cast is not valid. ThrowLevel: 0 >>>>>> Exception: EXBEDF8552 System.InvalidCastException Message: Specified cast is not valid. StackTrace: at Geotab.Checkmate.Database.TripBridge.LookupDevice(IDataReader reader, Int32 deviceId, IEnumerable`1 devices) at Geotab.Checkmate.Database.TripBridge.GetTripSummary(ICollection`1 trips, ICollection`1 nodes, ICollection`1 devices, ICollection`1 drivers, DateTime fromDate, DateTime toDate, Boolean lastOnly, Boolean includeExceptions, Boolean includeEarthPoints, Boolean includeOverlappedTrips, Boolean includeExceptionInstances) at Geotab.Checkmate.Database.SqlStore.GetTripsSummary(ICollection`1 trips, ICollection`1 nodes, ICollection`1 devices, DateTime fromDate, DateTime toDate, Boolean includeExceptions, Boolean includeEarthPoints, Boolean includeOverlappedTrips, Boolean includeExceptionInstances) at Geotab.Checkmate.Activity.ActivityCalculator.TripActivityCalculator.GetDeviceDriverActivity(ICollection`1 trips) at Geotab.Checkmate.Activity.ActivityCalculator.TripActivityCalculator.GetSummaryDrafts(ICollection`1 drafts) at Geotab.Checkmate.Activity.ActivityCalculator.TripActivityCalculator.GetSummary(ICollection`1 results, TripActivityArgument activityArgument) at Geotab.Checkmate.Activity.Reporting.TripsReportExecutor.GetActivitySummary(List`1 activitySummaries, TripActivityArgument tripActivityArgument) at Geotab.Checkmate.Activity.ReportExecutor.GetReportImpl(Object argument, MapEngineFactory mapEngineFactory, ReportTemplate template, IDateConverter dateConverter, Boolean isMetric, String& excelPath, Boolean& sendReport) at Geotab.Checkmate.Forms.Reports.TripsReport.TripsReportGenerationWithWorker.GetActivity(DataStore dataStore, TripActivityReportingArgument activityArgument) at Geotab.Checkmate.Forms.Reports.TripsReport.OnReportGenerationDoWork(BackgroundWorker worker, DoWorkEventArgs e) at Geotab.Checkmate.Forms.Reports.ReportForm.reportGenerationWorker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) <<<<<<
|