9.1 Protect Crashes When Opening

Version 5

    Symptoms

     

    When you open Protect and error appears and the program crashes

    ErrorSorryanUnexpectederror.PNG

     

    In the ST.ProtectManaged log you will see the following error

    Logs are located

    C:\ProgramData\LANDesk\Shavlik Protect\Logs

     

    2014-06-05T14:51:09.0756408Z 0001 I TaskbarNotification.cs:138|Connection failed to "Name of the Hosted Virtual Machine": No credential supplied.

    2014-06-05T14:51:09.1293593Z 0008 I WorkItemController.cs:304|Starting...

    2014-06-05T14:51:09.1303360Z 0008 I WorkItemController.cs:339|...done

    2014-06-05T14:51:09.3032119Z 0001 C Launcher.cs:73|System.InvalidOperationException: Crash from main UI thread

    ---> System.InvalidOperationException: Crash from main UI thread ---> System.NullReferenceException: Object reference not set to an instance of an

    object. at ST.UI.Controllers.Machines.VirtualServerController.<SaveAsync>b__25(FindVirtualInventoryResult r)

    at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext() at ST.UI.Controllers.Machines.VirtualServerController.<SaveAsync>d__27.MoveNext()

     

    Cause

     

    The crash is being caused by missing credentials for hypervisors.

     

    Resolution

     

    Do not click on the "OK" in the error this will allow you to navigate in the Program, instead move the pop up out of the way and create valid credentials for these hypervisors under Manage > Credentials. Set these credentials for the hypervisor under the Virtual Inventory view.

     

    If the Console does not launch and you only see the error. Edit the user.config file to bypass the virtual machine refresh when launching protect so that you can make the proper credential edits.

    Open the following folder. Replace <logged on user name> with the use that is logged on, and the strongName might be different.

     

    C:\Users\<logged on user name>\AppData\Local\LANDesk_Software,_Inc\ST.Protect.exe_StrongName_d0lqlz1kmud40uzklaub23nzftivjxwo\9.1.0.0

     

    Backup the User.config file

    Open User.config

     

    Under the console node, add or replace the following attribute changing the date to be 1 day out:

    timeOfLastVMServerAutoRefresh="05/02/2014 17:15:32"

     

    It should look like this:

     

    <?xml version="1.0" encoding="utf-8"?>

    <configuration>

    <st>

    <st.ui>

    <console windowSize="1441, 800" windowLocation="0, 0" windowState="Normal"

    navigatorWidth="180" navigatorCollapsed="false" treeWindowSplitterDistance="225"

    navigatorArchiveItems="true" navigatorAssetScanTemplates="true"

    navigatorDeploymentTemplates="true" navigatorFavorites="true"

    navigatorMachineGroups="true" navigatorPatchGroups="true"

    navigatorPatchScanTemplates="true" navigatorPowerTemplates="true"

    navigatorPolicies="true" navigatorPatchScansAndDeployments="true"

    gridWindowSplitterDistance="225" deploymentTrackingViewSplitterDistance="250"

    mvTopSplitterDistance="250" mvBottomSplitterDistance="449"

    pvSplitterDistance="400" threatEventsSplitterDistance="400"

    networkMonitorwindowLocation="270, 50" networkMonitorWindowSize="1065, 700"

    reportGalleryWindowLocation="32, 32" reportGallerySummaryWindowSize="975, 700"

    scanStatusWindowState="Normal" showPatchInformationalItems="true"

    timeOfLastVMServerAutoRefresh="05/02/2014 17:15:32" navigatorITScriptsTemplates="true" />

    <viewOptions threatEventsCutoff="30.00:00:00" lastRole="Role Based Administration is not enabled"

    autoCloseRefreshFiles="false" myScansOnly="false" daysInRecentScans="15"

    ignoreBulletinOpenWarning="false" autoCloseDownloadWindows="false"

    showNewsfeedColumn="true" scriptResultsCutoff="30.00:00:00" />

    <chartOptions top10MissingPatches="Rotate" top10VulnerableMachines="Rotate"

    patchLevel="Rotate" missingPatchBySeverity="Rotate" osDistribution="Rotate"

    agentVsAgentless="Rotate" threatStatusByCategory="Rotate"

    percetInfected="Rotate" percentThreatsByRisk="Rotate" top10InfectedMachines="Rotate"

    top10Threats="Rotate" />

    <taskbarNotification eventDigestInterval="00:05:00" scansCompletedInterval="00:01:00" />

    <trackerOptions showDone="true" showFailed="true" showInProgress="true"

    updateInterval="00:00:30" visibleDays="7" />

    </st.ui>

    </st>

    </configuration>

     

    Open Protect and verify credentials associated with the all ESX servers..

     

    Affected Products

     

    Protect Version 9.1