1. SANTHOSH S
  2. PowerBuilder
  3. Thursday, 12 September 2024 08:21 AM UTC

We have a PowerBuilder desktop based application build in PB 2017 R3 and we are trying to automate this application using TOSCA version 2023.2.1 X64 but we are facing errors when we try to scan the application and please find the error details below and in the attached .

Connection to the application lost. Maybe the application was closed or refreshed during the scan process.

Details:
Tricentis.Automation.XScan.Tasks.ApplicationRefreshedOrClosedException: Connection to the application lost. Maybe the application was closed or refreshed during the scan process.
---> Tricentis.Automation.Execution.AutomationException: Cannot process the PowerBuilder application. You need to first enable it using PowerBuilderEnabler.
---> System.ArgumentNullException: Value cannot be null. (Parameter 'type')
at System.ArgumentNullException.Throw(String paramName)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at Tricentis.Automation.WinXEngine.PowerBuider.Core.DwTestServices..ctor()
at Tricentis.Automation.WinXEngine.PowerBuider.Adapters.DwAdapter..ctor(PbDataWindowTechnical pbDataWindowTechnical, Validator validator)
--- End of inner exception stack trace ---
at Tricentis.Automation.WinXEngine.PowerBuider.Adapters.DwAdapter..ctor(PbDataWindowTechnical pbDataWindowTechnical, Validator validator)
at InvokeStub_DwAdapter..ctor(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Tricentis.Automation.Creation.ObjectActivator.InvokeConstructor[T](CreationGuide guide, ConstructorInfo ctor)
at Tricentis.Automation.Creation.ObjectActivator.CreateInstances[T](CreationGuide creationGuide)
at Tricentis.Automation.Creation.Generic.Factory`3.CreateInstancesFromTypesInternal[TTypeToInstantiate](IEnumerable`1 types, Boolean constructorCanBeNull, Nullable`1 bindingFlags, Object[] constructorParameters)
at Tricentis.Automation.Engines.Adapters.InternalAdapterFactory.Map[TSpecificTypeToCreate](ITechnical toBeMapped, String engineId, Object[] constructorParameters, Boolean useCache)
at Tricentis.Automation.Engines.Adapters.InternalAdapterFactory.<>c__DisplayClass22_0`1.<Map>b__0(ITechnical toDecide)
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
at Tricentis.Automation.Engines.Adapters.Controllers.ContextAdapterController`1.SearchTechnicalsAndCreateAdapters(IAlgorithmicAssociation algorithmicAssociation, Boolean useCache)
at Tricentis.Automation.Engines.Adapters.Controllers.ContextAdapterController`1.SearchAdapters(IAssociation association)
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
at Tricentis.Automation.Engines.Adapters.Controllers.ContextAdapterController`1.SearchAdapters(IBusinessAssociation businessAssociation)
at Tricentis.Automation.Engines.Adapters.Controllers.AdapterController.Search()
at Tricentis.Automation.Engines.Representations.Controllers.RepresentationController.SearchRepresentations(IAdapterController adapterController)
at Tricentis.Automation.Engines.Representations.Controllers.ContextRepresentationController`1.SearchRepresentation()
at Tricentis.Automation.XScan.Result.Tasks.DefaultScanTask.DoScan(IScanRepresentationNode parentNode)
at Tricentis.Common.Helpers.EnumerableExtension.ForEach[T](IEnumerable`1 items, Action`1 action)
at Tricentis.Automation.XScan.Result.Tasks.DefaultScanTask.DoScan(IScanRepresentationNode parentNode)
at Tricentis.Common.Helpers.EnumerableExtension.ForEach[T](IEnumerable`1 items, Action`1 action)
at Tricentis.Automation.XScan.Result.Tasks.DefaultScanTask.DoScan(IScanRepresentationNode parentNode)
at Tricentis.Automation.XScan.Result.Tasks.DefaultScanTask.ExecuteTask()
at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteItemInSafeMode(TaskExecutionItem runningTaskExecutionItem)
--- End of inner exception stack trace ---
at Tricentis.Automation.XScan.Tasks.TaskExecutor.HandleExceptionThrownInTask(IScanTask runningTask, TaskInfo taskInfo)
at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteRunningExecutionItem(TaskExecutionItem runningTaskExecutionItem)
at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteFollowUpTasks(TaskExecutionItem parentItem)
at Tricentis.Automation.XScan.Tasks.TaskExecutor.ExecuteItemInSafeMode(TaskExecutionItem runningTaskExecutionItem)

Can you please advise on this request and help us to resolve this issue ASAP.

Thanks and Regards,

Santhosh Somu

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 12 September 2024 16:08 PM UTC
  2. PowerBuilder
  3. # 1

Hi Santhosh ;

   I would suggest contacting the product vendor Tricentis and their Support Team for this issue.

Regards .. Chris

Comment
  1. Arnd Schmidt
  2. Thursday, 12 September 2024 20:21 PM UTC
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.