Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9093

Hawtio: Camel trace page does not unregister Jolokia requests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.1
    • fuse-7.0, fuse-7.1
    • Hawtio
    • None
    • % %
    • Hide

      1. Browse to the camel trace tab
      2. Click start tracing
      3. Browse to some other tab. E.g 'properties'
      4. Observe errors in the browser console log

      Show
      1. Browse to the camel trace tab 2. Click start tracing 3. Browse to some other tab. E.g 'properties' 4. Observe errors in the browser console log
    • Fuse 7.1 Sprint 30

      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.

            jnethert@redhat.com James Netherton
            jnethert@redhat.com James Netherton
            Mojmir Kubiste Mojmir Kubiste (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: