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

bamboo 6.6 link to stash 3.11 - java.lang.IllegalStateException

bgeniusca October 12, 2018

I am having a problem setting up an Application link between Bamboo 6.6 and Stash 3.11 (yeah it is old).  In Bamboo, on the "Configure Application Link" page, the status is "Network Error".  Selecting "Edit" for the application link shows a java.lang.IllegalStateException (see the bottom for details).  Googling found references to this exception, but it had to do with Bamboo Cloud being run in Java 1.6, rather than Java 1.8.  We are running Java 1.8 on our server.

https://confluence.atlassian.com/display/APPLINKS061/Application+links+version+matrix?_ga=2.189389100.685518206.1539363042-2130972567.1521475733#Applicationlinksversionmatrix-exception

The above URL states that Stash 3.11 uses AppLinks 4.3 and Bamboo uses AppLinks 5.4.5.  Is this just a case of Stash being too old (different major releases of AppLinks)?  If so, it looks like we need to get to at least BitBucketServer 4.0?  Or, is there another way to access Git repositories in Stash 3.11 from Bamboo 6.6?

 

Thanks, Maury

 

 

java.lang.IllegalStateException: XSRF: A mutative operation was attempted on BandanaItem within a non-mutative HTTP request: https://bamboo.vibehcm.com/rest/applinks/3.0/status/648bc886-1deb-34be-abe7-e309d706f43f?_=1539365038487 : [null]->
->[[0, com.atlassian.oauth.consumer.ConsumerService:host.__HOST_SERVICE__, <properties>
  <property name="privateKey" value="MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC78zfigTStzKmXCtRsH7GAeJdTIxXxoe8HcdlIKBVwugFuJI2cVbJ/o5v5hWbdyhgv+Bbjh6uYeFGt+2T83Anohxe5Tj9Yd+I8CCr3yKppgbuk6NKFN8vldw7Kt1PqjvlY52ejpuTO8z6LNfuugux0RKOBIKVoIk721M33rSs6BS+7X3z+iNp37YJNiQu7Z8i1DHwtwLyQ4ZPmICyUVSvSAmNaoMWd0jqsMVHg/c5DJoR1w9EAQiJYrH8V8P36yxqRkp9bkKvaKE7vjyn/XuzwDnxqxMB4k9eNZ5/dmgzFl3F3zR1bgLP/H52qqrKLBNwQrvqhvwn5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5RknsG02yV4sW9M36qFMPFRaTJQyhpzDt0d3lk4ZUbp/ZzfEHkQ0Q/q6fU1iQDkUDua1n08IyaYj5z8hI6EjyQyua0jRWUCitya+jrSnDwWgaJlzQ1HHk4htUasp50UERC4Uai2nWyGUc/1spDvdfxOh23TPIj0/e2T2i+IH4="/>
  <property name="name" value="Bamboo"/>
  <property name="key" value="Bamboo:8275351515"/>
  <property name="description" value="Atlassian Bamboo at https://bamboo.vibehcm.com "/>
  <property name="signatureMethod" value="RSA_SHA1"/>
  <property name="publicKey" value="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu/M34oE0rcyplwrUbB+xgHiXUyMV8aHvB3HZSCgVcLoBbiSNnFWyf6Ob+YVm3coYL/gW44ermHhRrftk/NwJ6IcXuU4/WHfiPAgq98iqaYG7pOjShTfL5XcOyrdT6o75WOdno6bkzvM+izX7roLsdESjgSClaCJO9tTN960rOgUvu198/ojad+2CTYkLu2fItQx8LcC8kOGT5iAslFUr0gJjWqDFndI6rDFR4P3OQyaEdcPRAEIiWKx/FfD9+ssakZKfW5Cr2ihO748p/17s8A58asTAeJPXjWef3ZoMxZdxd80dW4Cz/x+dqqqyiwTcEK76ob8J+SxE34NqZV84hwIDAQAB"/>
</properties>]]

1 answer

0 votes
bgeniusca October 12, 2018

Okay, I figured out how to connect directly to the Stash git repository using a Git link rather than a BitBucket Server/Stash link.  That answers my immediate problem.

However, it would still be nice to get a confirmation about my suspicion about the AppLinks versions in/compatibility, if anyone knows for sure.

 

Thanks again, Maury

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events