Uncaught exception thrown by REST service

Hi All,

I'm new to bamboo and trying out bamboo 6.2.1. I want to create a build branch with every new branch in bitbucket. Only bamboo does not create the new branch. When I restart bamboo the build branch is created. When I check the logs i'm getting every couple minutes the same error. 

Thank you,

Danny

2017-10-01 22:13:13,250 ERROR [http-nio-8085-exec-8] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: Illegal character in scheme name at index 0: \https://bamboo.server.com/rest/remote-event-consumer/latest/events/stash-branch-changed-remote-event

java.net.URISyntaxException: Illegal character in scheme name at index 0: \https://bamboo.server.com/rest/remote-event-consumer/latest/events/stash-branch-changed-remote-event

at java.net.URI$Parser.fail(URI.java:2848)

at java.net.URI$Parser.checkChars(URI.java:3021)

at java.net.URI$Parser.checkChar(URI.java:3031)

at java.net.URI$Parser.parse(URI.java:3047)

at java.net.URI.<init>(URI.java:588)

at com.atlassian.event.remote.impl.http.DefaultHttpUtil.getUrl(DefaultHttpUtil.java:93)

at sun.reflect.GeneratedMethodAccessor1210.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)

at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)

at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

1 answer

0 vote
Jeremy Owen Atlassian Team Oct 17, 2017

Hey Danny, 

Check your <bamboo-install>/conf/server.xml, specifically the scheme attribute on your port 8085 connector. Looks like there's a backslash in-front of https which needs to be removed.

That's pretty odd though, I'd expect your entire instance be behaving very strangely if that was the case.

Just double check the Base URL at Bamboo Administration > Overview > General Configuration too, but it has formatting validation that would have prevented that entry.

I recommend deleting & re-creating the application link between Bitbucket and Bamboo, if you have to fix anything unusual in the above configurations (or have fixed it previously).

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,096 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot