11-09-21 12:55 AM
Originally there was NO JAB installed and we had no problems spying elements in applications using JRE7 or JRE1.8.0_181.
We started having to automate applications that are using older versions of Java so we manually installed JAB for JRE6, JRE1.6.0_12, and JRE1.6.0_24. Once installed we are able to spy elements in java applications that use those version with no issues. We verified that JAB is working correctly using both Java Ferret and Java Monkey.
Once JAB was installed we started having issues spying elements in Java applications that are using JRE7 or JRE1.8.0_181. When attempting to spy al element we get the following error, "There was an error during the spying operation." the details are as follows:
System.ApplicationException: Exception getting Java Identfier KeyBindings Exception: Index was outside the bounds of the array.
at BluePrism.AMI.clsAMI.Spy(clsElementTypeInfo& elementType, List`1& identifiers)
at AutomateUI.frmIntegrationAssistant.aa(Object fvg, EventArgs fvh)
all the elements will highlight. The error only comes when trying to select the element. I also tried to use the identify> Open application navigator option which leads to the error, "An error occurred retrieving the application model" with details as follows:
BluePrism.BPCoreLib.BluePrismException: Failed to get snapshot - ERROR - ERROR:Exception getting Java Identfier KeyBindings Exception: Index was outside the bounds of the array.
at BluePrism.AMI.clsAMI.GetElementTree(String mode, Boolean includeInvisible, clsProgressMonitor monitor, String snapshot)
at AutomateUI.frmApplicationTreeNavigator.d(Object fsw, DoWorkEventArgs fsx)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
I've tried a couple fixes presented such as restoring the WindowsAccessBridge-32.dll held in C:\Windows\SysWOW64 directory the from another machine. I also made sure that the JavaAccessBridge-64.dll, JAWTAccessBridge-64.dll, and WindowsAccessBridge-64.dll were all placed in the Blue Prism Limited\Blue Prism Automate directory. I even tried placing the JavaAccessBridge-32.dll, JAWTAccessBridge-32.dll, and WindowsAccessBridge-32.dll, JavaAccessBridge.dll, JAWTAccessBridge.dll, and WindowsAccessBridge.dll files there to see if it made a difference.
Nothing I have tried has allowed me to spy elements successfully in ALL versions of Java. I verified using java ferret and Java Monkey that JAB is working in the newer versions of Java as well.
Any help would be appreciated. Thank you in advance.
------------------------------
Bryant Backus
------------------------------
14-09-21 06:17 PM
18-09-21 12:14 PM