java.lang.IllegalArgumentException: Invalid uri 'http:<span class="code-comment" style="color: #808080">//git.XXX/<span class="code-keyword" style="color: #000091; color: #808080">rest</span>/api/1.0/projects/XxX/repos/x/browse/Jenkinsfile?at=ü': Invalid query </span> at org.apache.commons.httpclient.HttpMethodBase.&lt;init&gt;(HttpMethodBase.java:222) at org.apache.commons.httpclient.methods.GetMethod.&lt;init&gt;(GetMethod.java:89)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by fabian...@gmail.com (JIRA), 1 year ago
Invalid uri 'http:<span class="code-comment" style="color: #808080">//git.XXX/<span class="code-keyword" style="color: #000091; color: #808080">rest</span>/api/1.0/projects/XxX/repos/x/browse/Jenkinsfile?at=ü': Invalid query </span> at org.apache.commons.httpclient.HttpMethodBase.&lt;init&gt;(HttpMethodBase.java:222) at org.apache.commons.httpclient.methods.GetMethod.&lt;init&gt;(GetMethod.java:89)
java.lang.IllegalArgumentException: Invalid uri 'http:<span class="code-comment" style="color: #808080">//git.XXX/<span class="code-keyword" style="color: #000091; color: #808080">rest</span>/api/1.0/projects/XxX/repos/x/browse/Jenkinsfile?at=ü': Invalid query </span> at org.apache.commons.httpclient.HttpMethodBase.&lt;init&gt;(HttpMethodBase.java:222) at org.apache.commons.httpclient.methods.GetMethod.&lt;init&gt;(GetMethod.java:89)
at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getRequestStatus(BitbucketServerAPIClient.java:428)
at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.checkPathExists(BitbucketServerAPIClient.java:246)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource$1.exists(BitbucketSCMSource.java:360)
at org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory$1.isHead(WorkflowBranchProjectFactory.java:51)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.observe(BitbucketSCMSource.java:363)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveBranches(BitbucketSCMSource.java:326)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:279)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:148)
at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:294)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.