Product: TIBCO Spotfire®
Memory statistics are missing in the Web Player Diagnostics for reports in Scheduled Updates, and an 'Unable to log memory statistics' error is present in logs.
The following error is seen in the Web Player logs:
ERROR 2015-03-30 09:52:13,554 [7384, 136, (null)] Spotfire.Dxp.Web.Worker.DiagnosticsHelper - Unable to log memory statistics System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: No override for SnapshotDocumentState at Spotfire.Dxp.Framework.DocumentModel.Snapshots.SnapshotDocument.IncreaseReferenceCount() at Spotfire.Dxp.Framework.Commands.CommandHistory.CreateSnapshot[TNode](TNode node, Executor snapshotSuccededCallback) at Spotfire.Dxp.Web.Worker.DiagnosticsHelper.<>c__DisplayClasse.<AddCachedDocsToResults>b__5() at Spotfire.Dxp.Web.WebApplicationThread.Invoke(ApplicationInvocation method, Boolean performLogging) --- End of inner exception stack trace --- at Spotfire.Dxp.Web.WebApplicationThread.Invoke(ApplicationInvocation method, Boolean performLogging) at Spotfire.Dxp.Web.WebApplicationThread.Invoke(ApplicationInvocation method, Boolean performLogging) at Spotfire.Dxp.Web.Worker.DiagnosticsHelper.AddCachedDocsToResults(ICollection`1 result, ICollection`1 opened, HashSet`1 sheduledAnalyses, JsonBundle totals, Boolean countNodes)
Additionally, the "Tools > Diagnostics > Web Player Monitoring" tab shows no information on size or memory usage for reports in Scheduled Updates that are not yet opened.This is a known defect caused by stricter checking that was added in the document model, which caused the collecting of statistics for cached analyses to fail. To resolve, upgrade to TIBCO Spotfire version 7.5 or higher, or apply the appropriate hotfix, depending on your installed version:
- TS 6.5 HF-010 higher
- TS 7.0 HF-002 or higher