If you start tracing for a Camel application and then browse to some other page, the console log begins to be filled with exceptions like:
hawtio-integration.js:23572 Uncaught TypeError: Cannot read property 'scrollHeight' of null
|
at isTableScrolled (hawtio-integration.js:23572)
|
at Jolokia.populateRouteMessages (hawtio-integration.js:23542)
|
at Jolokia.lcb (hawtio-jmx.js:1681)
|
at Array.success (hawtio-jmx.js:1645)
|
at hawtio-jmx.js:1738
|
at Object.ajaxParams.success (hawtio-jmx.js:1423)
|
at i (jquery.min.js:2)
|
at Object.fireWith [as resolveWith] (jquery.min.js:2)
|
at z (jquery.min.js:4)
|
at XMLHttpRequest.<anonymous> (jquery.min.js:4)
|
The problem stems from the trace page registering a Jolokia request to poll for trace event updates and then failing to unregister this when the user navigates to some other page.