Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 votes
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 Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

194 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you