Thick-client crashes when accessing a custom view.


 Product(s):APM Implementation and Performance Management
 Version(s):7.2+
 Environment:N\A
 Area:N/A
 Subarea:N\A

Problem

When enabling customization's and events, the thick-client crashes on start-up.

When custom events and customization's are disabled the view loads.

The thick-client has the following messages in the log file;

2017-09-09 17:40:27.6496 Error rsuthers Ivara.OTAssert [7] File: or.cpp(565) :  Failed Assert: oObjectRef::qryObjPtr() - We tried to fetch in a a omClass from the Database but we failed.  The Object ID we were trying to fetch in is 1000002994.

One possible reason for this could be having metadata in the wrong range.

2017-09-09 17:40:29.6808 Error rsuthers Ivara.OTAssert [7] File: oqtempl.h(137) :  Failed Assert: ObjectRef::operator -> returned NULL for ( 1303, 1000002994 ) : exception will follow

Managed Call Stack:

Ivara.PL.QueryBase System.Data.DataRow CreateRowFromSlice()
Ivara.PL.QueryBase Void CopySliceDataToTable(Int32, Int32, Ivara.PL.Data.PLResult ByRef)
Ivara.PL.ReleaseOnceQuery Ivara.PL.Data.UIData.Control.IvaraDataTable GetResults(Int32, Int32, Ivara.PL.Data.PLResult ByRef)
Ivara.PL.ReleaseOnceQuery Ivara.PL.Data.UIData.Control.IvaraDataSet GetResultsAsDataSet(Int32, Int32, Ivara.PL.Data.PLResult ByRef)
Ivara.PL.InternalResultSet Ivara.PL.Data.UIData.Control.IvaraDataSet GetMCLBDataAsDataSet(Int32, Int32, Int32, Ivara.PL.Data.PLResult ByRef)
Ivara.PL.ResultSet Ivara.PL.Data.UIData.Control.IvaraDataSet GetMCLBDataAsDataSet(System.Guid, Int32, Int32, Int32, Ivara.PL.Data.PLResult ByRef)
Ivara.PL.PLServer.ResultSet Ivara.PL.Data.UIData.Control.IvaraDataSetWcfWrapper GetMCLBDataAsDataSet(System.Guid, Int32, Int32, Int32, Ivara.PL.Data.PLResult ByRef)
Ivara.PL.Client.ResultSet Ivara.PL.Data.UIData.Control.IvaraDataSet GetMCLBDataAsDataSet(Int32, Int32, Int32, Ivara.PL.Data.PLResult ByRef)
Ivara.PL.Client.ResultSetDoWorkExtensions Void ResultSetGetMCLBDataSet_DoWork(Ivara.PL.Client.IClientResultSet, System.Object, System.ComponentModel.DoWorkEventArgs)
Ivara.PL.Client.WrapRemoteCalls Void Wrap(System.Action, KillActivityMethod, ExceptionMethod, DisplayErrorAndShutdownMethod, ExceptionMethod)
Ivara.PL.Client.SynchronousBackgroundWorker Void OnDoWork2(System.ComponentModel.DoWorkEventArgs)
Ivara.PL.Client.ServerCallRequest Void Invoke()
Ivara.PL.Client.RequestProcessor Void Process(System.Object)
System.Threading.ExecutionContext Void RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
System.Threading.ExecutionContext Void Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
System.Threading.QueueUserWorkItemCallback Void System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue Boolean Dispatch()

 2017-09-09 17:40:29.6964 Fatal rsuthers Ivara.PL.FatalExceptionPolicy [7] OTFatalException caught at: [?GetMCLBDataAsDataSet@InternalResultSet@PL@Ivara@@$$FQE$AAMPE$AAVIvaraDataSet@Control@UIData@Data@23@HHHAE$CAPE$AAVPLResult@723@@Z,ResultSet.cpp,496]

Solution

In this case, the problem occurs when a customization references a class with object ID = 1000002994. This generally occurs during release upgrades, and earlier UI customizations have not been reviewed or modified to reflect the changes in the new release. 

The class with object ID = 1000002994 is the Project Requirement class, which was obsoleted in an ealier release.

The view to be loaded must be modified to not use properties from the Project Requirement class.

See Also

N/A.