Wrapped getActive method in try catch block, and updated method calls.
Wrap *only* access to activeElement in try-catch block.
Removed not needed try catch.
Changelog entry.
Merge branch 't/10030'