java.lang.IllegalArgumentException: Cannot read checksums of null or non-existent file.

JFrog JIRA | Yoav Landman | 4 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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

    {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

    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 read checksums of null or non-existent file.

      at org.jfrog.build.api.util.FileChecksumCalculator.calculateChecksums()
    2. org.jfrog.build
      FileChecksumCalculator.calculateChecksums
      1. org.jfrog.build.api.util.FileChecksumCalculator.calculateChecksums(FileChecksumCalculator.java:52)
      1 frame
    3. org.jfrog.hudson
      ArtifactoryGenericConfigurator$1.tearDown
      1. org.jfrog.hudson.generic.GenericArtifactsDeployer.buildDeployDetailsFromFileEntry(GenericArtifactsDeployer.java:95)
      2. org.jfrog.hudson.generic.GenericArtifactsDeployer.assembleArtifactsToDeploy(GenericArtifactsDeployer.java:82)
      3. org.jfrog.hudson.generic.GenericArtifactsDeployer.<init>(GenericArtifactsDeployer.java:56)
      4. org.jfrog.hudson.generic.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:235)
      4 frames
    4. Hudson
      Executor.run
      1. hudson.model.Build$RunnerImpl.doRun(Build.java:150)
      2. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
      3. hudson.model.Run.run(Run.java:1434)
      4. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      5. hudson.model.ResourceController.execute(ResourceController.java:88)
      6. hudson.model.Executor.run(Executor.java:239)
      6 frames