Products | Versions |
---|---|
Spotfire Analyst | 7.8, 7.9, 7.10, 7.11, 7.12 |
Error message: Unable to read the file xyz.dxp. The file is not a valid DXP file. TargetInvocationException at Spotfire.Dxp.Framework: Exception has been thrown by the target of an invocation. (HRESULT: 80131604) Stack Trace: at Spotfire.Dxp.Framework.ApplicationModel.ProgressService.ExecuteWithProgressCancelable(String title, String description, ProgressOperation operation, Boolean showCancelButton) at Spotfire.Dxp.Forms.Application.FormsApplicationThread.ExecutePromptingOperation(String title, String description, PromptingApplicationInvocation promptingApplicationInvocation) at Spotfire.Dxp.Application.RichAnalysisApplication.Open(String filePath, DocumentOpenSettings documentOpenSettings) at Spotfire.Dxp.Main.Program.<>c__DisplayClass10.<OpenFile>b__f(LoadCallbackParameters parameters) at Spotfire.Dxp.Forms.Framework.Utilities.LoadFileHelper.LoadFile(LoadCallback callback, LoadCallbackParameters parameters, Form owningForm) DxpFileFormatException at Spotfire.Dxp.Framework: Exception of type 'Spotfire.Dxp.Framework.Persistence.DxpFileFormatException' was thrown. (HRESULT: 80131500) Stack Trace: at Spotfire.Dxp.Framework.Persistence.DxpDocumentFileReader.RequireEntry(ZipReader zipReader, String entryName) at Spotfire.Dxp.Framework.Persistence.DxpDocumentFileReader.LoadDocument(Stream docStream, List`1 trustedScriptHashes, PersistenceManager persistenceManager, IServiceProvider serviceProvider) at Spotfire.Dxp.Application.AnalysisApplication.<OpenDocumentFile>d__f.MoveNext() at Spotfire.Dxp.Forms.Application.FormsApplicationThread.<>c__DisplayClass1.<ExecutePromptingOperation>b__0() at Spotfire.Dxp.Forms.Application.FormsProgressService.ProgressThread.DoOperationLoop()
This can be caused by an issue which allowed incomplete or corrupt dxp files to get saved to disk or to the TIBCO Spotfire library. There is a fix that is released in the TIBCO Spotfire Server and TIBCO Spotfire client hotfixes which introduces validation during saving to prevent this issue. The related fixed issues are:
To avoid this issue moving forward, apply the hotfixes relevant to your Spotfire version on both the TIBCO Spotfire Server and the TIBCO Spotfire Analyst client: