mm is null, line: 30 (Error code: -1001)

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

mm is null, line: 30 (Error code: -1001)

by rocco12345 on Tue Sep 13, 2016 5:02 am

Hello There,
Does anyone see this error already, I am using ff 48.0.2 and imacros 903
This error comes when I try to replay the following macro (I marked it when stops):

''''''''''''''''''''''''''''''''''''''USER''''''''''''''''''''''''''''''''''''
SET userid abc
SET username "<SP>'cde'"

SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*6 + 5); randomNumber;")
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAG POS=1 TYPE=SELECT FORM=ID:form1 ATTR=NAME:formfieldname_{{userid}} CONTENT=({{userid}},{{username}})
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAB T=2
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:open<SP>something
TAG POS=1 TYPE=A ATTR=TXT:open<SP>nextthing
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:frmPersonal ATTR=NAME:text EXTRACT=TXT
SET !VAR2 EVAL("var extr2=\"{{!EXTRACT}}\"; extr2.trim(); if (extr2.match(/abc/gi)) { extr2.replace(/abc/gi, 'aa'); } else { extr2.replace(/aa/gi, 'abc'); } ")
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:frmPersonal ATTR=NAME:text CONTENT={{!var2}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:frmPersonal ATTR=NAME:save
WAIT SECONDS={{!var1}}
TAB T=2
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:formAction ATTR=NAME:goback
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAB T=1
SET !EXTRACT null
SET !VAR1 null
SET !VAR2 null
SET userid null
SET username null
WAIT SECONDS={{!var1}}
''''''''''''''''''''''''''''''''''''''USER'''''''''''''''''''''''''''''''''''''


''''''''''''''''''''''''''''''''''''''USER''''''''''''''''''''''''''''''''''''
SET userid abc
SET username "<SP>'cde'"

SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*6 + 5); randomNumber;")
ONDIALOG POS=1 BUTTON=OK CONTENT=
The error comes for the next line: mm is null, line: 30 (Error code: -1001)
TAG POS=1 TYPE=SELECT FORM=ID:form1 ATTR=NAME:formfieldname_{{userid}} CONTENT=({{userid}},{{username}})
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAB T=2
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:open<SP>something
TAG POS=1 TYPE=A ATTR=TXT:open<SP>nextthing
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:frmPersonal ATTR=NAME:text EXTRACT=TXT
SET !VAR2 EVAL("var extr2=\"{{!EXTRACT}}\"; extr2.trim(); if (extr2.match(/abc/gi)) { extr2.replace(/abc/gi, 'aa'); } else { extr2.replace(/aa/gi, 'abc'); } ")
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:frmPersonal ATTR=NAME:text CONTENT={{!var2}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:frmPersonal ATTR=NAME:save
WAIT SECONDS={{!var1}}
TAB T=2
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:formAction ATTR=NAME:goback
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAB T=1
SET !EXTRACT null
SET !VAR1 null
SET !VAR2 null
SET userid null
SET username null
WAIT SECONDS={{!var1}}

Many thanks for your time!
rocco12345
 
Posts: 1
Joined: Tue Sep 13, 2016 4:52 am

Return to iMacros for Firefox

Who is online

Users browsing this forum: No registered users and 9 guests

-->