Error saying " Cross-Process JS call failed...

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
curlytop010100
Posts: 1
Joined: Fri Oct 28, 2016 10:29 am

Error saying " Cross-Process JS call failed...

Post by curlytop010100 » Fri Oct 28, 2016 10:44 am

Hi,

My Imacros is acting very strangley I never encountered this problem in Imacros since using it for 4 years. An error always says "Error: cross-process JS call failed...(Error code:-1001) when clicking a particular link like:

TAG POS=1 TYPE=A ATTR=ID:mainForm:tab_custodianAccounts:0:link_custodianAccountId

or clicking similar to a next button in a website, example:

TAG POS=1 TYPE=IMG ATTR=SRC:https://mywebsite.com/voting/images/arr ... rd-new.png

This hasn't happened before . Really appreciate any help.

Thanks,
Mands
COSMOS
Posts: 20
Joined: Thu Jul 28, 2016 5:11 am

Re: Error saying " Cross-Process JS call failed...

Post by COSMOS » Wed Feb 01, 2017 2:09 pm

Hello,

Same error here :(
W7x64, iMacros for FF 8.9.7, FFv47.0.2 (i know my browser is a couple versions old but I'm afraid to update it..could this be the issue?)

All I'm doing is extracting a table as html, spliting it up and doing a for loop.
Oddly enough, iMacros does it's job good, the rest of the code seems to be broken.
So I have a for loop going through each <tr> from a table and trying to output the value with an alert.
I'm also using regex to remove all tags.

My error is Error: cross-process JS call failed, line -380 (Error code: -991)

-991 = Javascript parsing/evaluation error (i guess i need to triple check my js
-1001 = Unknown error (this is for curlytop010100)

var goToWebsite_macro = "CODE: URL GOTO=http://blablabla.com" + "\n";
iimPlay(goToWebsite_macro);

var tbl_xpath = "//div[@id='content']/table[1]/tbody";
var extract_tbl_macro = "CODE: TAG XPATH=" + '"' + tbl_xpath + '"' + " EXTRACT=HTM" + "\n";
iimPlay(extract_tbl_macro);

alert(iimGetLastExtract()); //this works fine

var arrTableRows = iimGetLastExtract().split('<tr');
for(let i=2; i<5; i++)
{
alert(arrTableRows);//getting the error here I guess
}

Thanks,
Post Reply