problem
The above JS error happend.
On investigating the code this can happen if someone searches and closes immediately the search window. The below mentioned "Anonymous function" in SearchReplace.js is called with delay, that means the Search window can be closed between triggering the functions (via search) and handling the delayed code. A closed window is not checked in the delayed code. This check would be the solution.
trace
timeline
The timeline shows that the user searched and closed the window in the same second:
6min 50 s |
user.click |
#searchreplacewindow #searchreplacetabpanel #searchButton => .x-btn-inner-default-toolbar-small |
6min 50 s |
ajax.request |
POST /editor/segment/terms |
6min 50 s |
user.moveCursorTo |
121,553 |
6min 50 s |
ajax.request |
GET /editor/alikesegment/4237762 |
6min 50 s |
user.click |
#searchreplacewindow #searchreplacetabpanel button[text=Schließen] => .x-btn-inner-default-toolbar-small |
6min 51 s |
ajax.load |
/editor/segment/terms, status: 200 OK, duration: 0.4 s |
6min 51 s |
jsexception |
Die Eigenschaft "getActiveTab" eines undefinierten oder Nullverweises kann nicht abgerufen werden. |