I've just installed Bamboo server version (5.7.2, 5.6.2) and I'm trying to create first build plan, but I have an error on Application (Stash) linking step (page: /plugins/servlet/applinks/listApplicationLinks )
Invocation of method 'getOrphanedTrustCertificates' in class com.atlassian.applinks.ui.velocity.ListApplicationLinksContext threw exception java.lang.IllegalStateException: adminConfig.currentApplication is not properly initialized! at com/atlassian/applinks/ui/admin/common_header.vm[line 11, column 20]
These docs didn't help.
I tried to reinstall Bamboo and I haven't "orphaned" linked application on this server.
Thank you for your question.
It seems you are missing to configure /etc/hosts (Linux) or C:\Windows\System32\drivers\etc\hosts (Windows) and due to that you are experiencing this issue.
Could you please run the following command from a Terminal, please:
# check your $HOSTNAME echo $HOSTNAME # try to ping $HOSTNAME ping $HOSTNAME
If it returns "ping: cannot resolve <hostname>: Unknown host" then add an entry into your /etc/hosts file. For that edit /etc/hosts file and add following:
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
Rafael P. Sperafico
Can you please run these queries:
SELECT * FROM trusted_apps_IPS; SELECT * FROM trusted_apps_URLS; SELECT * FROM trusted_apps; SELECT * FROM bandana WHERE BANDANA_key LIKE '%applink%'; SELECT * FROM bandana WHERE BANDANA_key LIKE '%com.atlassian.oauth%';
If any rows are returned, it probably means that changes haven't been committed. In this case, please run those queries again:
DELETE FROM trusted_apps_IPS; DELETE FROM trusted_apps_URLS; DELETE FROM trusted_apps; DELETE FROM bandana WHERE BANDANA_key LIKE '%applink%'; DELETE FROM bandana WHERE BANDANA_key LIKE '%com.atlassian.oauth%';
Then, open BAMBOO_HOME/xml-data/configuration/administration.xml and delete the entire <currentApplication> tag.
Then, restart the Bamboo instance and try to create the application link again.
If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.
Thanks in advance!
The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...
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!
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