Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19323

RegExp related Javascript exception on job configuration page

    Details

    • Similar Issues:

      Description

      Upgraded to Jenkins 1.528. Since we upgraded the job configuration page stays in loading state (because of a javascript exception):

      Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'sonar'
      (anonymous function)
      e.targetUrl hudson-behavior.js:416
      registerValidator hudson-behavior.js:428
      (anonymous function) behavior.js:111
      (anonymous function) behavior.js:107
      Behaviour.applySubtree behavior.js:93
      Behaviour.apply behavior.js:76
      (anonymous function) behavior.js:71
      window.onload behavior.js:125
      

      The URL path for this exception is /job/sonar-analyse/configure. We have this issue on all jobs.

        Attachments

          Issue Links

            Activity

            Hide
            tchap Ondrej Kupka added a comment -

            The fast fix I posted above seems to work for people, what about your try that as one well, Christian Hünniger? Just find your hudson-behavior.js and add the line to the right spot (somewhere around line 416).

            Regards,
            Ondrej Kupka

            Show
            tchap Ondrej Kupka added a comment - The fast fix I posted above seems to work for people, what about your try that as one well, Christian Hünniger ? Just find your hudson-behavior.js and add the line to the right spot (somewhere around line 416). Regards, Ondrej Kupka
            Hide
            pedersen Björn Pedersen added a comment -
            Show
            pedersen Björn Pedersen added a comment - This seems to be related to https://issues.jenkins-ci.org/browse/JENKINS-19248
            Hide
            markogerber Stephan Lehmann added a comment -

            Argh. Sorry Björn Pedersen didn't discovered this issue before creating.

            Show
            markogerber Stephan Lehmann added a comment - Argh. Sorry Björn Pedersen didn't discovered this issue before creating.
            Hide
            chuenniger Christian Hünniger added a comment - - edited

            @Ondrej Kupka - Thank you. Has helped.

            Show
            chuenniger Christian Hünniger added a comment - - edited @Ondrej Kupka - Thank you. Has helped.
            Hide
            jglick Jesse Glick added a comment -

            Believed to have been resolved with the fix in JENKINS-19457.

            Show
            jglick Jesse Glick added a comment - Believed to have been resolved with the fix in JENKINS-19457 .

              People

              • Assignee:
                Unassigned
                Reporter:
                markogerber Stephan Lehmann
              • Votes:
                6 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: