Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Uncaught exception thrown by REST service

Danny Boevee October 1, 2017

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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
AUG Leaders

Atlassian Community Events