UFT keeps crashing
Category:
Question ID: 110128
0
0

Exception of type: HP.QTP.Backend.Common.QTExceptions.QtpException. Source: HP.QTP.Backend.Common. Occured in HP.QTP.Backend.Common.Utils.AlmConfigurationData DownloadAlmTestConfigurationAndPrepareDataTable(HP.QTP.Backend.Common.IEntity, System.String, OTAWrapperLib.IRelationsManager3 ByRef, TDEXTENDEDAPILib.enumFwMode, System.String, System.String) method
Exception message is: Failed with path = [QC-TEST];;Subject\Active Regression\Offshore_Regression post Prime\Regression\CRM\Returns_Exchanges\Returns\GOV\127_CRM_RQ2.2_GOV_Return device with deactivation.;;, relationsManager = Mercury.QTP.OTAWrapper.ERI.RelationsHelper, baselineId = and threw the following exception: Object reference not set to an instance of an object.
Exception trace is: at HP.QTP.Backend.Common.Utils.QcUtils.DownloadAlmTestConfigurationAndPrepareDataTable(IEntity owner, String path, IRelationsManager3& relationsManager, enumFwMode qcMode, String baselineId, String configId)
at HP.QTP.Backend.Builders.ItemBuilders.TestBuilder.DownloadIfNeeded(String path, IEntity owner, Boolean isEntityWithUserAssets, IRelationsManager3 relationsManager, AlmConfigurationData& almConfigData)
at HP.QTP.Backend.Builders.ItemBuilders.TestBuilderBase`2.Load(String path, IEntity owner, Boolean openInReadOnlyMode)
at HP.QTP.Backend.Builders.ItemBuilders.BuilderBase`2.HP.QTP.Backend.Common.IBuilder.Load(String path, IEntity owner, Boolean openInReadOnlyMode)
at HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.InternalLoad(String path, IEntity owner, Boolean openInReadOnlyMode, String baselineId, Boolean forceUpdate)
at HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.Load(String rawPath, IEntity owner, Boolean openInReadOnlyMode, Boolean forceUpdateCache, String baselineId)
at HP.QTP.Backend.EntitiesFacade.Managers.EntitiesManagerBase.Load(String rawPath, IEntity owner, Boolean openInReadOnlyMode, String baselineId)
at HP.QTP.BackEndServices.BackEndManager.<>c__DisplayClass82_0.<OpenTest>b__0(Object dummyLoadInfo)
at HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
at HP.QTP.BackEndServices.BackEndManager.OpenTest(String testPath, Boolean openInReadOnlyMode, String baselineId)
at HP.QTP.ProjectSystem.QtpProjectService.LoadTestProject(LocationInfo locationInfo)
at HP.UFT.Common.Cache`2.GetOrCreate[TCreationInfo](TIdentifier identifier, Func`2 objectGenerator, TCreationInfo creationInfo)
at HP.QTP.ProjectSystem.QtpProjectService.LoadProject(ProjectLoadInformation projectLoadInfo)

Exception of type: System.NullReferenceException. Source: QTOTAWrapperEri. Occured in Void GetConfigMetaData(Int32, Int32, System.String, System.String ByRef, Boolean ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef) method
Exception message is: Object reference not set to an instance of an object.
Exception trace is: at Mercury.QTP.OTAWrapper.ERI.RelationsHelper.GetConfigMetaData(Int32 entityId, Int32 configId, String baselines, String& confName, Boolean& isConfUseExternDt, String& dtqcPath, String& dtfsPath, String& filter, String& mapping)
at HP.QTP.Backend.Common.Utils.QcUtils.DownloadAlmTestConfigurationAndPrepareDataTable(IEntity owner, String path, IRelationsManager3& relationsManager, enumFwMode qcMode, String baselineId, String configId)

SharpDevelop Version : 4.1.3.0-trunk-00000000
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 10.0.17763.0
Current culture : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Terminal Server Session
Working Set Memory : 430768kb
GC Heap Memory : 93289kb

Unexpected error while loading ‘{0}’. Please contact support.

—- Post-error application state information:
Installed 3rd party AddIns: [Micro Focus UFT File Dialog for UFT Only 14.50.0.0], [Micro Focus QTP ActiveScreen Pane 14.50.0.0], [Micro Focus QTP DataTable Addin 14.50.0.0], [Micro Focus QTP UTT Based Debugger 14.50.0.0], [Micro Focus QTP FileDialog Addin 14.50.0.0], [Micro Focus QTP Property Tabs 14.50.0.0], [Micro Focus QTP QtpBpt4ErpCrm Plugin 14.50.0.0], [Micro Focus ST Shell Services 14.50.0.0], [HPE SV ALM Integrations 4.20.0.0], [Micro Focus UFT Data Explorer 14.50.0.0], [Micro Focus UFT FileDialog Addin 14.50.0.0], [Micro Focus Theme Load commands 15.0.1.0], [UTT Configuration UI 14.50.0.0], [Debug Pad Wrapper Extension addin for UTT 14.50.0.0], [UTT Debug Basic implementation addin for UTT 14.50.0.0], [UTT File Dialog 14.50.0.0], [Micro Focus UFT File System Dialog Addin 14.50.0.0], [Micro Focus UFT ALM File Dialog Addin 14.50.0.0], [UTT Connection Addin 14.50.0.0], [Micro Focus UTT IDE commands 14.50.0.0], [UttBookmarkPad 14.50.0.0], [UttErrorListPad 14.50.0.0], [UttOutputPad 14.50.0.0], [UttTaskListPad 14.50.0.0]
Workbench.ActiveContent: HP.UFT.StartPage.StartPageViewContent
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>

Marked as spam
Posted by (Questions: 227, Answers: 22)
Asked on April 29, 2021 12:53 pm
103 views
Answers (1)
0
Private answer

Check your firewall settings for UFT and your application. You can also try a repair on the UFT install or even install a newer UFT version to see if that helps.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on April 29, 2021 12:54 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top