<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Java Application - There was an error during the spying operation in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45043#M1370</link>
    <description>Hey everyone.&lt;BR /&gt;&lt;BR /&gt;I am trying to open and Spy a Java application but when I try to Identify anything on the application I get this error:&lt;BR /&gt;&lt;BR /&gt;There was an error during the spying operation.&lt;BR /&gt;System.InvalidOperationException: External AppMan reader thread exited before response from query&lt;BR /&gt;at BluePrism.AMI.clsAMI.Spy(clsElementTypeInfo&amp;amp; elementType, List`1&amp;amp; identifiers)&lt;BR /&gt;at AutomateUI.frmIntegrationAssistant.HandleSpyOrLaunchClick(Object sender, EventArgs e)&lt;BR /&gt;&lt;BR /&gt;This is my first time trying to build a process for a Java based application. in the Application Wizard I located the .jar file, but when trying to Launch it nothing happens. Then I tried with the "Utility - Environment - Start Process" and using the .exe file and then Attach to it that all works, but when spying I get the above error after a few seconds.&lt;BR /&gt;&lt;BR /&gt;If I set the application as a Windows Application in the Wizard and use the exe file, I can launch it but unable to spy any elements but the application window.&lt;BR /&gt;&lt;BR /&gt;This is my setup:&lt;BR /&gt;Windows 10 64-bit - v. 20H2&lt;BR /&gt;Blue Prism version: 7.0.1.49890&lt;BR /&gt;Java: JRE 1.8.0_201 64-bit&lt;BR /&gt;Java Access Bridge installed with JRE and enabled in Ease of Access settings.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stefan Hansen&lt;BR /&gt;RPA Dev&lt;BR /&gt;Bestseller&lt;BR /&gt;Europe/Copenhagen&lt;BR /&gt;------------------------------</description>
    <pubDate>Wed, 29 Jun 2022 10:51:00 GMT</pubDate>
    <dc:creator>stefan.hansen</dc:creator>
    <dc:date>2022-06-29T10:51:00Z</dc:date>
    <item>
      <title>Java Application - There was an error during the spying operation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45043#M1370</link>
      <description>Hey everyone.&lt;BR /&gt;&lt;BR /&gt;I am trying to open and Spy a Java application but when I try to Identify anything on the application I get this error:&lt;BR /&gt;&lt;BR /&gt;There was an error during the spying operation.&lt;BR /&gt;System.InvalidOperationException: External AppMan reader thread exited before response from query&lt;BR /&gt;at BluePrism.AMI.clsAMI.Spy(clsElementTypeInfo&amp;amp; elementType, List`1&amp;amp; identifiers)&lt;BR /&gt;at AutomateUI.frmIntegrationAssistant.HandleSpyOrLaunchClick(Object sender, EventArgs e)&lt;BR /&gt;&lt;BR /&gt;This is my first time trying to build a process for a Java based application. in the Application Wizard I located the .jar file, but when trying to Launch it nothing happens. Then I tried with the "Utility - Environment - Start Process" and using the .exe file and then Attach to it that all works, but when spying I get the above error after a few seconds.&lt;BR /&gt;&lt;BR /&gt;If I set the application as a Windows Application in the Wizard and use the exe file, I can launch it but unable to spy any elements but the application window.&lt;BR /&gt;&lt;BR /&gt;This is my setup:&lt;BR /&gt;Windows 10 64-bit - v. 20H2&lt;BR /&gt;Blue Prism version: 7.0.1.49890&lt;BR /&gt;Java: JRE 1.8.0_201 64-bit&lt;BR /&gt;Java Access Bridge installed with JRE and enabled in Ease of Access settings.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stefan Hansen&lt;BR /&gt;RPA Dev&lt;BR /&gt;Bestseller&lt;BR /&gt;Europe/Copenhagen&lt;BR /&gt;------------------------------</description>
      <pubDate>Wed, 29 Jun 2022 10:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45043#M1370</guid>
      <dc:creator>stefan.hansen</dc:creator>
      <dc:date>2022-06-29T10:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application - There was an error during the spying operation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45044#M1371</link>
      <description>Hi Stephan&lt;BR /&gt;&lt;BR /&gt;If the app is Java, then choosing Windows Application in the wizard will not work because the Java spy mode will not be enabled, and the other modes like Win32 and UIA will not work on a Java app.&lt;BR /&gt;&lt;BR /&gt;It would be worth looking at how the application is launched from Windows - see if the shortcut properties contain any special parameters or switches like "C:\Program Files\My App\myapp.jar" /special-switch. It could be that you need to include these in the BP app manager to mimic way Windows launches the app.&lt;BR /&gt;&lt;BR /&gt;It can also be useful to sanity check that JAB is working independently of BP, by using the test tools freely available from Oracle.&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1391144872" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1391144872&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/Guides/java-access-bridge/installation-verification.htm?tocpath=Guides%7CJava%20Access%20Bridge%20(JAB)%7C_____4" target="test_blank"&gt;https://bpdocs.blueprism.com/bp-6-10/en-us/Guides/java-access-bridge/installation-verification.htm?tocpath=Guides%7CJava%20Access%20Bridge%20(JAB)%7C_____4&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2022 11:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45044#M1371</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-06-29T11:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application - There was an error during the spying operation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45045#M1372</link>
      <description>Hello Stefan,&lt;BR /&gt;&lt;BR /&gt;Just checking - What is the application manager mode you have chosen in application modeler. Try setting it to embedded if not done already and your target application has not dependency on bitness.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2022 14:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45045#M1372</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-06-29T14:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application - There was an error during the spying operation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45046#M1373</link>
      <description>If I do that, then I get this error when trying to attach to the application:&lt;BR /&gt;&lt;BR /&gt;Internal : Failed to perform step 1 in Navigate Stage 'Attach' on page 'Launch' - Could not initialise Java Access Bridge support - Failed to load Java Access Bridge DLL. The file could not be found in any of the following expected locations - &lt;BR /&gt;Application Directory: C:\Program Files\Blue Prism Limited\Blue Prism Automate\WindowsAccessBridge-32.dll&lt;BR /&gt;System Directory: C:\WINDOWS\SysWOW64\WindowsAccessBridge-32.dll&lt;BR /&gt;Windows Directory: C:\WINDOWS\WindowsAccessBridge-32.dll&lt;BR /&gt;Current Directory: C:\Program Files\Blue Prism Limited\Blue Prism Automate\WindowsAccessBridge-32.dll&lt;BR /&gt;&lt;BR /&gt;It seems to be looking for a Java 32-bit dll file when I have 64-bit version installed.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stefan Hansen&lt;BR /&gt;RPA Dev&lt;BR /&gt;Bestseller&lt;BR /&gt;Europe/Copenhagen&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jun 2022 09:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45046#M1373</guid>
      <dc:creator>stefan.hansen</dc:creator>
      <dc:date>2022-06-30T09:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application - There was an error during the spying operation</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45047#M1374</link>
      <description>The Shortcut opens the exe file not a jar file. and no special arguments:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29800.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29931i8AFB856E4814E8A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="29800.png" alt="29800.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;JavaMonkey and Java Ferret is just empty. I turned on all tracking in Ferret and opened the Java Application. Nothing.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29801.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29929iFA84CD718EF5BC02/image-size/large?v=v2&amp;amp;px=999" role="button" title="29801.png" alt="29801.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stefan Hansen&lt;BR /&gt;RPA Dev&lt;BR /&gt;Bestseller&lt;BR /&gt;Europe/Copenhagen&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jun 2022 09:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Java-Application-There-was-an-error-during-the-spying-operation/m-p/45047#M1374</guid>
      <dc:creator>stefan.hansen</dc:creator>
      <dc:date>2022-06-30T09:57:00Z</dc:date>
    </item>
  </channel>
</rss>

