Product: TIBCO Spotfire®
Saving an analysis file to the library in TIBCO Spotfire Analyst is resulting in "Error message: Could not publish
You may see the following error message while saving an analysis file to the library.
Error message: Could not publish Dashboard.
NullReferenceException at Spotfire.Dxp.Data:
Object reference not set to an instance of an object. (HRESULT: 80004003)
at Spotfire.Dxp.Data.InformationModel.Parameter.AddLibraryDependencies(HashSet`1 dependencies)
at Spotfire.Dxp.Data.InformationModel.InformationLinkElement.AddLibraryDependencies(HashSet`1 dependencies)
at Spotfire.Dxp.Application.AnalysisApplication.AddDependencies(LibraryEntry entry, Document document)
at Spotfire.Dxp.Application.AnalysisApplication.SaveAs(LibraryEntry entry, Document document, LibraryItemMetadataSettings metadataSettings, DocumentSaveSettings saveSettings)
The above error is seen if the Information Link associated to that specific file is either corrupted or not saved to the library. Here are few possible solutions:
1) Check if the Information Link has GUID mentioned in the Source Information of the analysis. If there is no GUID of Information Link then that clearly indicates that it is not saved to the library. See below for your reference:
2) Create the corrupted Information Link from scratch if the dxp is corrupted