Internal Error - ptVUserVars->_hDfePE is unexpectedly NOT NULL
I've just recorded a Web-HTTP/HTML script in URL mode (LoadRunner 11.52 build 4391).
It automatically adds web_concurrent_start(NULL); and web_concurrent_end(NULL); calls.
But it seems that everytime that a web_url or any other "web_" call is outside a concurrent "section" it fails to replay with this error:
Fatal Error -26499: Internal Error - ptVUserVars->_hDfePE is unexpectedly NOT NULL after xfeLrwSrvNetTaskItemPrimaryCreate. [MsgId: MERR-26499]
I'm new to LoadRunner, so I'm not sure if I did something wrong or if this is intended by design. But if so, then the recorder should not create such situations. Also, this error message could be a lot clearer, I found it tough to figure this out.
Re: Internal Error - ptVUserVars->_hDfePE is unexpectedly NOT NULL
Ok, I moved all web_reg_* calls outside the concurrent groups. It still failed with the same error, but on a web_url call way further into my script (also outside a concurrent section). This got head-scratching... why the first calls were ok?
I notice that the call that failed was the first one outside a concurrent section after a call that had weg_regs before it, but the web_url itself was inside a concurrent section. So I also moved it out and replayed.
The script ran further and failed near the end. Same situation, a web_reg_save_param_regexp call outside a concurrent group but the matching web_submit_data inside one. I moved it outside, and the script ran successfully.
I'm not sure though which solution is preferred or easier to do:
1 - wrap all calls into concurrent sections; or
2 - remove all web_reg_ calls and its subsequent web_[url, submit_data, etc] outside concurrent sections.