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

Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • echarts-api-plugin
    • None

      I received the following stack trace in 2.404 after running a simple Pipeline job with no build history. The Pipeline job is the sample Maven project with tests and just runs a standard junit step to collect the test results.

      Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
          redraw http://127.0.0.1/static/33658b63/plugin/echarts-api/js/trend-chart.js:96:44
          renderAsynchronously http://127.0.0.1/static/33658b63/plugin/echarts-api/js/trend-chart.js:132
          genMethod/proxy[methodName]/</< http://127.0.0.1/adjuncts/33658b63/org/kohsuke/stapler/bind.js:52
          promise callback*genMethod/proxy[methodName]/< http://127.0.0.1/adjuncts/33658b63/org/kohsuke/stapler/bind.js:46
          promise callback*genMethod/proxy[methodName] http://127.0.0.1/adjuncts/33658b63/org/kohsuke/stapler/bind.js:43
          renderAsynchronously http://127.0.0.1/static/33658b63/plugin/echarts-api/js/trend-chart.js:131
          renderConfigurableTrendChart http://127.0.0.1/static/33658b63/plugin/echarts-api/js/trend-chart.js:171
          <anonymous> http://127.0.0.1/job/pipeline/:131
      

      Setting a breakpoint, model is undefined, so JSON.parse can't parse it.

            drulli Ulli Hafner
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: