EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB34581: "Error while trying to launch application: There is an unhandled Java Exception." error occurs when launching MicroStrategy Configuration Wizard


Community Admin

• Strategy


"Error while trying to launch application: There is an unhandled Java Exception." error occurs when launching MicroStrategy Configuration Wizard

SYMPTOM:
The following error occurs when launching Strategy Configuration Wizard:

ka04W000000Ocb8QAC_0EM440000002Wfm.jpeg


Sample Code/Error
Error while trying to launch application: There is an unhandled Java Exception. For more information try lauching 'macfgwizw.exe -logsettings' to get the resulting macfgwizw.log file (typically, this file is located at C:\Program Files\Common Files\MicroStrategy\Log).

 
 
 
In macfgwizw.log file, the following error messages appear:

Sample Code/Error
**********************************************************************************************************************************************************

Exception occurred:
java.lang.ExceptionInInitializerError
com.Strategy.web.objects.admin.DataSourceImpl.populate(Unknown Source)
com.Strategy.web.objects.admin.DataSourceEnumeratorImpl.populate(Unknown Source)
com.Strategy.web.objects.admin.DataSourceEnumeratorImpl.<init>(Unknown Source)
com.Strategy.web.objects.admin.DataSourceEnumerator.getInstance(Unknown Source)
com.Strategy.tools.macfgwiz.backbone.common.Commons.get3TierExistingPSNs(Unknown Source)
com.Strategy.tools.macfgwiz.ui.graphic.steps.UpgradeNCSPSNStep$UpgradeNCSPSNPanel.init(Unknown Source)
com.Strategy.tools.macfgwiz.ui.graphic.steps.UpgradeNCSPSNStep$UpgradeNCSPSNPanel.<init>(Unknown Source)
com.Strategy.tools.macfgwiz.ui.graphic.steps.UpgradeNCSPSNStep.<init>(Unknown Source)
com.Strategy.tools.macfgwiz.ui.graphic.ConfigurationWizard.createWizard(Unknown Source)
com.Strategy.tools.macfgwiz.ui.graphic.ConfigurationWizard.startWizard(Unknown Source)
com.Strategy.tools.macfgwiz.ui.graphic.ConfigurationWizard.main(Unknown Source)
iles\Common Files\MicroStrategy\WebTransform.jar;C:\Program Files\Common Files\MicroStrategy\WebApp.jar;C:\Program Files\Common Files\MicroStrategy\WebPlatform.jar;
Java home: C:\Program Files\Common Files\MicroStrategy\JRE\160_07\Win32
Java version: 1.6.0_07
OS Arch: x86
OS Name: Windows Vista
Max Heap Space: 512M
Main Class: com/MicroStrategy/tools/macfgwiz/ui/graphic/ConfigurationWizard
**********************************************************************************************************************************************************

  
CAUSE:
There is an invalid data source in the registry or the data source name of Strategy metadata contains special characters.
 
ACTION:
Follow either of the methods below to address the issue:

  1. Remove any special characters from the data source name of Strategy metadata .
  2. Perform a complete uninstall and reinstall of Strategy product. 

If none of the suggestions above address the issue, then use Process Monitor to capture the file or registry access process when launching configuration wizard. Follow the steps below to get macfgwizw.log file and send it to Strategy Technical Support for further investigation:

  1. Open a cmd window and navigate to C:\Program Files\Common Files\Strategy to locate the 'macfgwizw.exe' file.
  2. In the same directory, run the command "macfgwizw.exe-logsettings". This should bring out the Configuration Wizard and create the log file.
  3. Go to C:\Program Files\Common Files\MicroStrategy\Log to get the macfgwizw.log.

Comment

0 comments

Details

Knowledge Article

Published:

July 21, 2017

Last Updated:

July 21, 2017