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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • None
    • 5.3.8
    • None
    • None
    • Sprint 37 - Ends Jan 29
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: