Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-272

Custom Web Item - Static Type checker won't return result

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.8
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Jan 29
    • Critical Points:
      0

      Description

      When pasting in the path to a script in the "Custom web item" script fragment form, the static type checker starts running, as expected. It stops running and the space where the result should be is blank. The following exception is thrown:

      2017-12-11 15:39:29 [http-nio-8080-exec-4] ERROR c.a.p.r.c.e.j.ThrowableExceptionMapper - Uncaught exception thrown by REST service: Cannot get property 'name' on null object

      java.lang.NullPointerException: Cannot get property 'name' on null object

      at com.onresolve.scriptrunner.canned.common.StaticCompilationChecker.doScript(StaticCompilationChecker.groovy:106)

      Tested on Bitbucket v5.0.0

        Attachments

          Structure

            Activity

              People

              Assignee:
              amarkham Adam Markham
              Reporter:
              scheesley Stephen Cheesley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel