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

Checkout on bitbucket server fail with IllegalArgumentException "Name cannot contain '/'"

    • 934.4.2

      See : https://issues.jenkins.io/browse/JENKINS-75207

       

      not sure what plugin should be fixed though 

       

      error:

      java.lang.IllegalArgumentException: Name cannot contain '/'
      at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.<init>(SCMFile.java:83)
      at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.<init>(BitbucketSCMFile.java:58)
      at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getFile(BitbucketServerAPIClient.java:1086)
      at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.type(BitbucketSCMFile.java:109)
      at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.getType(SCMFile.java:265)
      at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.isFile(SCMFile.java:238)
      at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.content(BitbucketSCMFile.java:86)
      at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:335)
      at PluginClassLoader for workflow-multibranch//org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:113)
      at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311)
      at hudson.model.ResourceController.execute(ResourceController.java:101)
      at hudson.model.Executor.run(Executor.java:445) 

          [JENKINS-75208] Checkout on bitbucket server fail with IllegalArgumentException "Name cannot contain '/'"

          Giovanni DS added a comment -

          Experiencing same issue updating from 934.3.2 to 934.4.0.

          Giovanni DS added a comment - Experiencing same issue updating from 934.3.2 to 934.4.0.

          Basil Crow added a comment -

          nfalco FYI

          Basil Crow added a comment - nfalco FYI

          Nikolas Falco added a comment -

          Nikolas Falco added a comment - Let me know the incremental build fix the issue: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/cloudbees-bitbucket-branch-source/934.4.1996.vf900c117b_25e

          Giovanni DS added a comment -

          Hi nfalco,
          Tested the incremental build, working correctly.

          Giovanni DS added a comment - Hi nfalco , Tested the incremental build, working correctly.

          Pet added a comment -

          Hi,
          we have the same problem with the version
          934.4.1996.vf900c117b_25e
          bg

          Pet added a comment - Hi, we have the same problem with the version 934.4.1996.vf900c117b_25e bg

          Giovanni DS added a comment -

          Thanks a lot for releasing 934.4.1, nfalco. I had to downgrade to the previous version after installing the incremental build because Jenkins was not picking the update up. Installed and working correctly.

          Thanks again.

          Giovanni DS added a comment - Thanks a lot for releasing 934.4.1, nfalco . I had to downgrade to the previous version after installing the incremental build because Jenkins was not picking the update up. Installed and working correctly. Thanks again.

          Javier added a comment -

          Thanks for the 934.4.1 version. It's work fine!

          Javier added a comment - Thanks for the 934.4.1 version. It's work fine!

          Michiel added a comment -

          We have the 934.4.1 version installed but are getting the same error unfortunately .. if there is some way for me to help debug please let me know

          Michiel added a comment - We have the 934.4.1 version installed but are getting the same error unfortunately .. if there is some way for me to help debug please let me know

          Nikolas Falco added a comment -

          burua please post logs so maybe I can understand what is the use case that fails

          Nikolas Falco added a comment - burua please post logs so maybe I can understand what is the use case that fails

          Franz added a comment - - edited

          For us version 934.4.1 is also broken. Here is the log:

          java.lang.IllegalArgumentException: Name cannot contain '/'
          at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.<init>(SCMFile.java:83)
          at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.<init>(BitbucketSCMFile.java:58)
          at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.client.repository.BitbucketRepositorySource.toBitbucketSCMFile(BitbucketRepositorySource.java:90)
          at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getFile(BitbucketCloudApiClient.java:879)
          at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.type(BitbucketSCMFile.java:109)
          at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.getType(SCMFile.java:265)
          at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.isFile(SCMFile.java:238)
          at PluginClassLoader for cloudbees-bitbucket-branch-source//com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.content(BitbucketSCMFile.java:86)
          at PluginClassLoader for scm-api//jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:335)
          at PluginClassLoader for workflow-multibranch//org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:113)
          at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311)
          at hudson.model.ResourceController.execute(ResourceController.java:101)
          at hudson.model.Executor.run(Executor.java:445)
          

          Looks like the fix in 934.4.1 was only for Bitbucket Server and not Bitbucket Cloud, which is what we use.

          Franz added a comment - - edited For us version 934.4.1 is also broken. Here is the log: java.lang.IllegalArgumentException: Name cannot contain '/' at PluginClassLoader for scm-api //jenkins.scm.api.SCMFile.<init>(SCMFile.java:83) at PluginClassLoader for cloudbees-bitbucket-branch-source //com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.<init>(BitbucketSCMFile.java:58) at PluginClassLoader for cloudbees-bitbucket-branch-source //com.cloudbees.jenkins.plugins.bitbucket.client.repository.BitbucketRepositorySource.toBitbucketSCMFile(BitbucketRepositorySource.java:90) at PluginClassLoader for cloudbees-bitbucket-branch-source //com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getFile(BitbucketCloudApiClient.java:879) at PluginClassLoader for cloudbees-bitbucket-branch-source //com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.type(BitbucketSCMFile.java:109) at PluginClassLoader for scm-api //jenkins.scm.api.SCMFile.getType(SCMFile.java:265) at PluginClassLoader for scm-api //jenkins.scm.api.SCMFile.isFile(SCMFile.java:238) at PluginClassLoader for cloudbees-bitbucket-branch-source //com.cloudbees.jenkins.plugins.bitbucket.filesystem.BitbucketSCMFile.content(BitbucketSCMFile.java:86) at PluginClassLoader for scm-api //jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:335) at PluginClassLoader for workflow-multibranch //org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:113) at PluginClassLoader for workflow-job //org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:445) Looks like the fix in 934.4.1 was only for Bitbucket Server and not Bitbucket Cloud, which is what we use.

            nfalco Nikolas Falco
            istocia2 pawel
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: