Error with run UFT from Windows task manager

0

When I configured the windows task manager for run UFT from Vsd, the uft close when run from task windows and show the next error on the log file.

1.- I run OK UFT from of UFT interface. 2.- The error occurred when it's executed from the windows task manager.

2019-06-17 15:10:02,838 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:10:03,050 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [ 1] ERROR object repository file: C:\Users\sirhenry\AppData\Local\Temp\HP{DBDC24CC-3687-4081-BE44-98B3A61E4150}\Test\Action0\ObjectRepository.bdb is not found System.IO.DirectoryNotFoundException: No se puede encontrar la ruta . (Excepción de HRESULT: 0x80030003 (STG_E_PATHNOTFOUND)) en QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(String ObjectRepositoryVirtualPath, Int32& pCookie, Object& ppObjectRepository, Int32 bPerApplication) en HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(String bdbPath, Int32& objectManagerCookie, Object& localObjectManager) 2019-06-17 15:10:03,312 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [ 1] ERROR object repository file: C:\Users\sirhenry\AppData\Local\Temp\HP{DBDC24CC-3687-4081-BE44-98B3A61E4150}\Test\Action1\ObjectRepository.bdb is not found System.IO.DirectoryNotFoundException: No se puede encontrar la ruta . (Excepción de HRESULT: 0x80030003 (STG_E_PATHNOTFOUND)) en QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(String ObjectRepositoryVirtualPath, Int32& pCookie, Object& ppObjectRepository, Int32 bPerApplication) en HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(String bdbPath, Int32& objectManagerCookie, Object& localObjectManager) 2019-06-17 15:10:06,051 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: (((HRESULT)(hr)) >= 0) && spDispMicParType!=0 Func=CMicParamTypeMgr::Init File=e:\ft\qtp\win32_release\14.3.3501.0_clean\qtp\backend\core\parameters\parammgr\app\micparammgr\micparametertypemgr.cpp Line=242 ThreadID=121124 2019-06-17 15:10:09,399 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: false Func=CRepoContainer::ConnectToActionEvents File=RepoContainer.cpp Line=468 ThreadID=121124 2019-06-17 15:10:09,421 HP.QTP.Backend.Features.FeaturesManagement.SettingsListener [ 1] ERROR Could not UnRegister. System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at MicSetObjLib.ISettingsNotifier.UnRegister(String entryPath, UInt32 dwCookie) at HP.QTP.Backend.Features.FeaturesManagement.SettingsListener.Dispose(Boolean disposing) 2019-06-17 15:10:09,430 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:10:09,719 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:10:13,466 HP.QTP.InformationPanes [ 1] ERROR failed to check project, e=System.NullReferenceException: Object reference not set to an instance of an object. at HP.QTP.InformationPanes.MissingResources.SyntaxError.CheckProject(QtpTestBase qtpTestBase, IProject project) at HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject project) 2019-06-17 15:10:13,468 HP.QTP.InformationPanes [ 1] ERROR failed to check project, e=System.NullReferenceException: Object reference not set to an instance of an object. at HP.QTP.InformationPanes.MissingResources.MissingFunctionLibrary.CheckProject(QtpTestBase qtpTestBase, IProject project) at HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject project) 2019-06-17 15:10:13,473 HP.QTP.InformationPanes [ 1] ERROR failed to check project, e=System.NullReferenceException: Object reference not set to an instance of an object. at HP.QTP.InformationPanes.MissingResources.MissingRecoverySenario.CheckProject(QtpTestBase qtpTestBase, IProject project) at HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject project) 2019-06-17 15:10:13,474 HP.QTP.InformationPanes [ 1] ERROR failed to check project, e=System.NullReferenceException: Object reference not set to an instance of an object. at HP.QTP.InformationPanes.MissingResources.MissingEnvVarFile.CheckProject(QtpTestBase qtpTestBase, IProject project) at HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject project) 2019-06-17 15:10:13,646 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: false Func=CRepoContainer::ConnectToRepoListEvents File=RepoContainer.cpp Line=406 ThreadID=121124 2019-06-17 15:10:14,943 HP.QTP.Backend.Entities.ConnectionPointsManager [ 1] ERROR operation:StartReplay on System.__ComObject Failed :System.InvalidCastException: Specified cast is not valid. at QTP.BackEnd.Core.DocumentIfsLib._MicFlowReplayEvents.StartReplay(Int16 bDebug) at HP.QTP.Backend.Entities.ConnectionPointsManager.<>c__DisplayClass43_0.b__0(_MicFlowReplayEvents t) at HP.QTP.Backend.Common.EventHelperClasses.GenericConnectionPoint1.FireOnSingleItem(T item, Action1 actionToPerform, Action2 performOnOtherExceptions) 2019-06-17 15:10:14,944 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: (((HRESULT)(hr)) >= 0) && vtVal.vt == VT_I4 && vtVal.lVal == 1<br>Not running from SRF Func=CMobileAddInObj::ApplyExternalRnRSettings File=MobileAddinObj.cpp Line=103 ThreadID=121124 2019-06-17 15:10:18,183 HP.QTP.FrontEnd.LegacyCommands [ 1] ERROR Counter Monitor Start Replay event was called 2019-06-17 15:10:18,477 QcIntegration.QtOtaWrapper [ 1] ERROR Mercury.QTP.OTAWrapper.ModuleLogger.LogMessage trace log, HP.QTP.Infra.Exceptions.NotImplSinceNotConnectedException: GetRunID: this method is not impemented for non-connected qc. at HP.QTP.Integrations.QC.QCConnectionsManager.NotConnectedToQc.GetRunID() at Mercury.QTP.TDMReporter.TDMListener.InitializeIterations(), exception message 'GetRunID: this method is not impemented for non-connected qc.', exception source 'HP.QTP.Integrations.QC.QCConnectionsManager', exception stack trace: HP.QTP.Infra.Exceptions.NotImplSinceNotConnectedException: GetRunID: this method is not impemented for non-connected qc. at HP.QTP.Integrations.QC.QCConnectionsManager.NotConnectedToQc.GetRunID() at Mercury.QTP.TDMReporter.TDMListener.InitializeIterations() 2019-06-17 15:10:19,302 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: strHostAddress && strlen(strHostAddress) > 0<br>server parameter must not be null or empty Func=Hp4mRestChannel::SetServer File=RestChannel.cpp Line=211 ThreadID=121124 2019-06-17 15:10:19,302 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: SUCCEEDED(m_hrStatus) hr = 0x80070057 Func=CMobileSessionMgr::StartSession File=MobileSessionManager.cpp Line=295 ThreadID=121124 2019-06-17 15:10:19,302 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: SUCCEEDED(hr) hr = 0x80070057 Func=CMobileSessionMgr::StartSession File=MobileSessionManager.cpp Line=263 ThreadID=121124 2019-06-17 15:11:47,416 HTMLReportLogger.HTMLReportLoggerImp [ 1] ERROR Error occurred when saving snapshot in method 'SaveSnapshot'. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at TestObjectIfsLib.DispTestObject.GetROProperty(String Property, Object& PropertyData) at HTMLReportLogger.HTMLReportLoggerImp.GetROStringProperty(DispTestObject dps, String property) at HTMLReportLogger.HTMLReportLoggerImp.IsMobileDevice(DispTestObject topDispTestObj) at HTMLReportLogger.HTMLReportLoggerImp.SaveSnapshot(EventInfo eventInfo) 2019-06-17 15:11:47,637 HTMLReport [ 16] ERROR Referencia a objeto no establecida como instancia de un objeto. 2019-06-17 15:11:47,866 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: SUCCEEDED(m_hrStatus)<br>called but not connected hr = 0x80070057 Func=CMobileSessionMgr::StopReplay File=MobileSessionManager.cpp Line=983 ThreadID=121124 2019-06-17 15:11:48,833 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:11:48,861 LogCatASSERT [ 1] ERROR MIC_LOG_ASSERT. Expression: false Func=CRepoContainer::ConnectToRepoListEvents File=RepoContainer.cpp Line=425 ThreadID=121124 2019-06-17 15:11:49,005 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:11:49,084 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [ 1] ERROR object repository file: C:\Users\sirhenry\AppData\Local\Temp\HP\{DBDC24CC-3687-4081-BE44-98B3A61E4150}\Test\Action0\ObjectRepository.bdb is not found System.IO.DirectoryNotFoundException: No se puede encontrar la ruta . (Exception from HRESULT: 0x80030003 (STG_E_PATHNOTFOUND)) at QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(String ObjectRepositoryVirtualPath, Int32& pCookie, Object& ppObjectRepository, Int32 bPerApplication) at HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(String bdbPath, Int32& objectManagerCookie, Object& localObjectManager) 2019-06-17 15:11:49,229 HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature [ 1] ERROR object repository file: C:\Users\sirhenry\AppData\Local\Temp\HP\{DBDC24CC-3687-4081-BE44-98B3A61E4150}\Test\Action1\ObjectRepository.bdb is not found System.IO.DirectoryNotFoundException: No se puede encontrar la ruta . (Exception from HRESULT: 0x80030003 (STG_E_PATHNOTFOUND)) at QTP.BackEnd.Core.DocumentIfsLib.IRepositoriesLoader.Open(String ObjectRepositoryVirtualPath, Int32& pCookie, Object& ppObjectRepository, Int32 bPerApplication) at HP.QTP.Backend.Features.DocumentInformationFeature.ActionDocumentInformationFeature.GetLocalObjectRepositoryFromBdb(String bdbPath, Int32& objectManagerCookie, Object& localObjectManager) 2019-06-17 15:11:49,730 LogCatPackMobile [ 1] ERROR one of the remote host connection settings is missing 2019-06-17 15:11:50,541 HP.QTP.InformationPanes [ 1] ERROR failed to check project, e=System.NullReferenceException: Object reference not set to an instance of an object. at HP.QTP.InformationPanes.MissingResources.MissingRecoverySenario.CheckProject(QtpTestBase qtpTestBase, IProject project) at HP.QTP.InformationPanes.MissingResources.ErrorHanlderBase.CheckProject(IProject project) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func2 method, A arg1) en HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject, List1 checkType) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func2 method, A arg1) en HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject, List1 checkType) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func2 method, A arg1) en HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject, List1 checkType) 2019-06-17 15:11:50,605 HP.QTP.InformationPanes [ 9] ERROR failed to check project, e=System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadFunction[A,R](Func2 method, A arg1) en HP.QTP.InformationPanes.MissingResources.ErrorPaneCheckService.CheckAllErrors(IProject targetProject, List`1 checkType) 2019-06-17 15:11:50,713 LogCatTestOps [ 1] ERROR The Record Replay Manager Rack has been terminated, but there are still objects which hold references to it Func=CRRManagerOwnedRack::Terminate File=e:\ft\qtp\win32_release\14.3.3501.0_clean\qtp\backend\recordreplay\rrinfra\qtrrmanager\app\qtrrmanager\rrmanagerrack.cpp Line=131 ThreadID=121124

hp-uft
uft14
asked on Stack Overflow Jun 17, 2019 by Marcelo Tamayo

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0