Error - "Attempt to create a document manager when the current document view is not attached."

Error - "Attempt to create a document manager when the current document view is not attached."

book

Article ID: KB0076459

calendar_today

Updated On:

Products Versions
Spotfire Analyst All Versions

Description

While opening the analysis file(.dxp), the following error message appears:
------------------------------------------------------------------------------------------
Error message: Could not load the analysis Sample_Demo.

InvalidOperationException at Spotfire.Dxp.Framework:
Attempt to create a document manager when the current document view is not attached. (HRESULT: 80131509)

Stack Trace:
   at Spotfire.Dxp.Framework.Commands.DocumentViewManager.AttachInitialDocumentView()
   at Spotfire.Dxp.Framework.DocumentModel.DocumentManager`1.Create(T document, IServiceProvider owner, FileMetadata dxpFileMetadata, DocumentLocation documentOrigin, ParameterManager parameterManager, Boolean serializeUsingWorkerThread, DocumentViewManager documentViewManager)
   at Spotfire.Dxp.Application.AnalysisApplication.<OpenPartiallyOpenedDocument>d__34.MoveNext()
   at Spotfire.Dxp.Application.AnalysisApplication.ConsumeDataLoadPromptRequests(IEnumerable`1 prompts)
   at Spotfire.Dxp.Application.AnalysisApplication.OpenFromLibraryCore(Guid entryId, DocumentOpenSettings settings)
   at Spotfire.Dxp.Forms.Application.FileUserActions.<>c__DisplayClass18.<OpenLibraryFile>b__16()
   at Spotfire.Dxp.Forms.Application.FormsProgressService.ProgressThread.DoOperationLoop()
-------------------------------------------------------------------------------------------

Issue/Introduction

While opening the analysis file, TIBCO Spotfire Analyst throws the error - "Attempt to create a document manager when the current document view is not attached."

Environment

All Supported OS

Resolution

This may occur if the correct version of custom component (Custom Visualization etc) that is compatible with the concerned Spotfire version has not been deployed.

Example: The above error message can appear due to 3.4.0.8 build present of JSViz inside the deployment area to which Spotfire Analyst is connected. To resolve this issue, use the build version-3.4.0.9 or above of JSViz.