Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65977

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: java.io.File.exists() is applicable for argument types: (java.lang.String) values:

    • Icon: Task Task
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      Hello There,

      I am using below code in my pipeline

       

      but we are getting below error in Jenkins,

      ------------------

      hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: java.io.File.exists() is applicable for argument types: (java.lang.String) values: [/jenkins/workspace/LDAP/result.txt]
      Possible solutions: exists(), list(), list(java.io.FilenameFilter), write(java.lang.String), wait(), size()
      at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:153)

      ---------------------------

      please guide what we are missing here, 

       

      Regards,

      Sam

          [JENKINS-65977] hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: java.io.File.exists() is applicable for argument types: (java.lang.String) values:

          There are no comments yet on this issue.

            Unassigned Unassigned
            samkhamk Sameer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: