TIBCO Spotfire installed client crashes on startup when the size of file the "ProbedModulesCached.xml" is 0 KB or corrupt

TIBCO Spotfire installed client crashes on startup when the size of file the "ProbedModulesCached.xml" is 0 KB or corrupt

book

Article ID: KB0078369

calendar_today

Updated On:

Products Versions
Spotfire Analyst All Versions

Description

The TIBCO Spotfire installed client crashes upon start up, and a pop up will appear stating:
TIBCO Spotfire has stopped working
A problem caused the program to stop working correctly. Windows will close this program and notify you if a solution is available.
In the Event Viewer, you will see an event like:
Log Name:      Application
Source:        .NET Runtime
Date:          1/1/2019 11:36:24 AM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      myComputer
Description:
Application: Spotfire.Dxp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Xml.XmlException
   at System.Xml.XmlTextReaderImpl.Throw(System.Exception)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlLoader.Load(System.Xml.XmlDocument, System.Xml.XmlReader, Boolean)
   at System.Xml.XmlDocument.Load(System.Xml.XmlReader)
   at Spotfire.Dxp.Internal.Xml.SafeXmlHelper.LoadXmlDocument(System.IO.TextReader)
   at Spotfire.Dxp.Framework.ModuleHandling.ModuleReferenceCollection.Read(System.String)
   at Spotfire.Dxp.Framework.ModuleHandling.ModuleReferenceCollection.ReadFromFile(System.String)
   at Starter.Program.Run(Spotfire.Dxp.Starter.StarterSplashWrapper, System.Collections.Generic.Dictionary`2<System.String,System.Object>, Boolean)
   at Starter.Program.ExecuteRunLoopWithBootstrapFlag(System.String[], Boolean)
   at Starter.Program.Main(System.String[])

Issue/Introduction

TIBCO Spotfire installed client crashes on startup when the size of file the "ProbedModulesCached.xml" is 0 KB or corrupt

Resolution

This is caused by one of the internal configuration files being corrupted, or empty (0 KB). For example, if the "ProbedModulesCached.xml" file in folder C:\Users\USERNAME\AppData\Local\TIBCO\Spotfire\x.xx\Settings is found to be empty and 0 KB, then this crash will occur. 

To resolve, delete the 0 KB sized "ProbedModulesCached.xml" file, and launch the client again. The file will get automatically created again by the client and the client should successfully launch.