java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy

JIRA | Saran | 6 years ago
  1. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-9].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Hi, Am new to JIRA 4.1. Am running JIRA 4.1 as a service.My JIRA home directory is : C:\Program Files\Atlassian\Application Data\JIRA I have added my sample groovy script(groovyscript.groovy) in C:\Program Files\Atlassian\Application Data\JIRA\script I have added groovyrunner.jar in web-inf/lib. I tried to execute groovy script in workflow post function. When I give the script path name and click Add button am getting this below error. Oops - an error has occurred System Error A system error has occurred. Please try submitting this problem via the Support Request Page Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information: a description of your problem cut & paste the error and system information found below attach the application server log file ( C:\Program Files\Atlassian\Application Data\JIRA\log\atlassian-jira.log ) Cause: java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy Stack Trace: [hide] java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy at com.onresolve.jira.groovy.GroovyConditionFactory.getDescriptorParams(GroovyConditionFactory.java:59) at com.atlassian.jira.web.action.admin.workflow.AddWorkflowTransitionFunctionParams.addWorkflowDescriptor(AddWorkflowTransitionFunctionParams.java:71) at com.atlassian.jira.web.action.admin.workflow.AbstractAddWorkflowTransitionDescriptorParams.doExecute(AbstractAddWorkflowTransitionDescriptorParams.java:77) at webwork.action.ActionSupport.execute(ActionSupport.java:165) I have tried by giving the absolute path also but no luck. Please suggest.

    JIRA | 6 years ago | Saran
    java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy
  2. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-9].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Hi, Am new to JIRA 4.1. Am running JIRA 4.1 as a service.My JIRA home directory is : C:\Program Files\Atlassian\Application Data\JIRA I have added my sample groovy script(groovyscript.groovy) in C:\Program Files\Atlassian\Application Data\JIRA\script I have added groovyrunner.jar in web-inf/lib. I tried to execute groovy script in workflow post function. When I give the script path name and click Add button am getting this below error. Oops - an error has occurred System Error A system error has occurred. Please try submitting this problem via the Support Request Page Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information: a description of your problem cut & paste the error and system information found below attach the application server log file ( C:\Program Files\Atlassian\Application Data\JIRA\log\atlassian-jira.log ) Cause: java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy Stack Trace: [hide] java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy at com.onresolve.jira.groovy.GroovyConditionFactory.getDescriptorParams(GroovyConditionFactory.java:59) at com.atlassian.jira.web.action.admin.workflow.AddWorkflowTransitionFunctionParams.addWorkflowDescriptor(AddWorkflowTransitionFunctionParams.java:71) at com.atlassian.jira.web.action.admin.workflow.AbstractAddWorkflowTransitionDescriptorParams.doExecute(AbstractAddWorkflowTransitionDescriptorParams.java:77) at webwork.action.ActionSupport.execute(ActionSupport.java:165) I have tried by giving the absolute path also but no luck. Please suggest.

    JIRA | 6 years ago | Saran
    java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy
  3. 0

    Creating a java client node throws "script file extension not supported [groovy]", but script works as expected

    GitHub | 12 months ago | dimitris-athanasiou
    java.lang.IllegalArgumentException: script file extension not supported [groovy]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Grails 3 database-migration issue

    Stack Overflow | 1 year ago | cloudwalker
    java.lang.IllegalArgumentException: Script text to compile cannot be null!
  6. 0

    Hidden files should be ignored by the ScriptsService

    GitHub | 1 year ago | nizsheanez
    java.lang.IllegalArgumentException: script file extension not supported [gitkeep]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot find (or read) script file at: script/groovyscript.groovy

      at com.onresolve.jira.groovy.GroovyConditionFactory.getDescriptorParams()
    2. com.onresolve.jira
      GroovyConditionFactory.getDescriptorParams
      1. com.onresolve.jira.groovy.GroovyConditionFactory.getDescriptorParams(GroovyConditionFactory.java:59)
      1 frame
    3. com.atlassian.jira
      AbstractAddWorkflowTransitionDescriptorParams.doExecute
      1. com.atlassian.jira.web.action.admin.workflow.AddWorkflowTransitionFunctionParams.addWorkflowDescriptor(AddWorkflowTransitionFunctionParams.java:71)
      2. com.atlassian.jira.web.action.admin.workflow.AbstractAddWorkflowTransitionDescriptorParams.doExecute(AbstractAddWorkflowTransitionDescriptorParams.java:77)
      2 frames
    4. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:165)
      1 frame