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

Fix MultiValuedMapImpl class not found for clone repository script

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.0.10
    • Fix Version/s: 5.0.13
    • Labels:
      None
    • Sprint:
      Sprint 31 - Ends July 11
    • Critical Points:
      0

      Description

      The following exception occurs when you go to the Admin -> Built-in scripts section and the clone repo script does not appear:

      2017-07-01 20:24:49,677 WARN  [http-nio-7990-exec-5] admin @64YVOAx1224x278x1 1x4ljkr 172.17.0.1 "GET /rest/scriptrunner/latest/canned/available HTTP/1.1" c.o.s.runner.ScriptRunnerImpl Script bundle://126.0:0/com/onresolve/scriptrunner/canned/bitbucket/admin/CloneRepo.groovy failed to load/compile
      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      bundle://126.0:0/com/onresolve/scriptrunner/canned/bitbucket/admin/CloneRepo.groovy: 42: unable to resolve class com.sun.jersey.core.util.MultivaluedMapImpl
       @ line 42, column 1.
         import com.sun.jersey.core.util.MultivaluedMapImpl
         ^
      1 error
      	at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
      	at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:946)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:593)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:542)
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: