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

Hawtio: undefined property in Camel route debugging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.0
    • Fix Version/s: fuse-7.1
    • Component/s: Hawtio, Karaf
    • Labels:
      None
    • Environment:

      Windows Server 2012 R2 Standard
      Google Chrome Version 66.0.3359.139 (Official Build) (64-bit)
      JBoss Fuse 7.0.0.fuse-000191-redhat-1

    • Steps to Reproduce:
      Hide

      1. Open Hawtio and do login
      2. Navigate to Camel and open any route
      3. Open Debug tab and Start debugging
      4. Add and then remove Breakpoint
      5. Stop debugging and then Start it again

      Show
      1. Open Hawtio and do login 2. Navigate to Camel and open any route 3. Open Debug tab and Start debugging 4. Add and then remove Breakpoint 5. Stop debugging and then Start it again
    • Sprint:
      Fuse 7.1 Sprint 30

      Description

      The following error message appears in the browser console after the breakpoint was added and then removed and debugging was started again:

      TypeError: Cannot read property 'getAttribute' of undefined
      at ChildScope.$scope.shouldDisableAddBreakpoint (hawtio-integration.js:21832)
      at fn (eval at compile (angular.js:15651), <anonymous>:4:198)
      at Scope.$digest (angular.js:18372)
      at Scope.$apply (angular.js:18649)
      at angular.js:20574
      at completeOutstandingRequest (angular.js:6428)
      at angular.js:6707

      TypeError: Cannot read property 'getAttribute' of undefined
      at ChildScope.$scope.shouldDisableAddBreakpoint (hawtio-integration.js:21832)
      at fn (eval at compile (angular.js:15651), <anonymous>:4:198)
      at Scope.$digest (angular.js:18372)
      at Scope.$apply (angular.js:18649)
      at Object.$apply (hawtio-core.js:3738)
      at Object.onBreakpoints [as success] (hawtio-integration.js:21972)
      at Array.parm.success (hawtio-jmx.js:2198)
      at hawtio-jmx.js:1738
      at Object.ajaxParams.success (hawtio-jmx.js:1423)
      at i (jquery.min.js:2)

      As I investigated it does not have any impact on the work but still this error is quite annoying.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jamesnetherton James Netherton
                Reporter:
                jsolovjo Juri Solovjov
                Tester:
                Lucia Drozdova
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: