Products | Versions |
---|---|
Spotfire Analyst | 7.0 |
When you launch Spotfire Analyst from Package Builder with the default 7.0 Modules Distribution added, the Analyst may crash with one of the following errors:
1). In the Spotfire Analyst's Spotfire.Dxp.SupportDiagnostic.log:
=================================================
[Main Thread] FATAL Spotfire.Dxp.Main.Program [(null)] - Application Setup Error.
Spotfire.Dxp.Internal.Utilities.ApplicationSetupException: Failed to initialize extension. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Spotfire.Dxp.Data.Adapters.PostgreSqlBase, Version=16.7.8510.5728, Culture=neutral, PublicKeyToken=789861576bd64dc5' or one of its dependencies. The system cannot find the file specified.
at Spotfire.Dxp.Forms.Data.Adapters.Greenplum.GreenplumAddIn.RegisterViews(ViewRegistrar registrar)
at Spotfire.Dxp.Application.Extension.AddIn.Spotfire.Dxp.Framework.AddIn.IAddIn.RegisterViews(IServiceProvider serviceProvider)
at Spotfire.Dxp.Framework.AddIn.AddInManager.Spotfire.Dxp.Framework.Services.IServiceFactory.UseGlobalServices(GlobalServiceRegistry serviceProvider)
at Spotfire.Dxp.Framework.Services.GlobalServiceRegistry.GlobalServicesCreated(IServiceFactory serviceFactory, AddInManager addinManager)
--- End of inner exception stack trace ---
at Spotfire.Dxp.Framework.Services.GlobalServiceRegistry.GlobalServicesCreated(IServiceFactory serviceFactory, AddInManager addinManager)
at Spotfire.Dxp.Main.Program.<>c__DisplayClass1.<StartMain>b__0()
2017-02-01 15:56:06,738 [Main Thread] DEBUG Spotfire.Dxp.Application.Interop.AnalysisApplicationController [(null)] - Invoking Exited on COM callback.
2017-02-01 15:56:06,738 [Main Thread] ERROR Spotfire.Dxp.Loader.Program [(null)] - Program failed with an exception.
System.InvalidOperationException: No main form.
at Spotfire.Dxp.Forms.MainForm.get_Current()
at Spotfire.Dxp.Forms.Framework.ErrorDialog.ShowDialog(FormStartPosition startPos, String title, String message, Exception ex, String helpNamespace, String helpKeyword, Boolean okCancel, Severity severity, Form owningForm)
at Spotfire.Dxp.Forms.Framework.ErrorDialog.ShowDialog(FormStartPosition startPos, String title, String message, Exception ex, Severity severity)
at Spotfire.Dxp.Main.Program.<>c__DisplayClass1.<StartMain>b__0()
at Spotfire.Dxp.Framework.ApplicationModel.ApplicationThread.AssociateToCurrentThread(Executor executor)
at Spotfire.Dxp.Loader.ProgramLoader.StartMain(Dictionary`2 state, String[] args, String upgradePath, List`1 moduleFolders, StarterSplash starterSplash, Boolean isCalledByLegacyStarter, Boolean isLog4netConfigured, Version starterVersion)
at Spotfire.Dxp.Loader.ProgramLoader.InternalExecute(Dictionary`2 state, String[] args, Object splash, Version starterVersion, IList`1 moduleFolderList, String upgradePath, Boolean isCalledByLegacyStarter)
====================================================================
OR
2). In Visual Studio Debug:
====================================================================
TargerInvocationException was Unhandled , 'System.Reflection.TargetInvocationException' occured in Spotfire.Dxp.exe
====================================================================
When Package Builder launches Spotfire, it builds an explicit list of modules to load (saved in the Spotfire.Dxp.exe.config file). The modules chosen are the ones considered "Spotfire Modules" plus the custom ones. It is possible that it does not consider loading all of the connectors and since the connectors may have dependencies between themselves, that could be causing the crash. To resolve, you can do one of the following:
- Option 1: Remove the connectors from the Modules folder and then add it as a TIBCO Spotfire Distribution in the Package Builderor.