Exceptions when viewing a plan's repository settings

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After upgrading Bamboo, an exception show up in the UI when viewing a plan's repository settings. 

There are errors similar to the following in the logs pointing out to missing ftl files that Bamboo is trying to render and fails:

2013-02-15 12:59:04,811 ERROR [qtp1254402771-153] [BambooFreemarkerManager] Error while rendering template: /com/atlassian/bamboo/plugins/git/gitRepositoryEditAdvancedOptions.ftl

And there are warnings similar to the following in the logs right before the .ftl errors that are showing that Bamboo is trying to render pages in a context-less way:

2013-02-15 11:40:38,114 WARN [qtp900409598-141] [ValidActionContextMarker] Detected a potentially invalid action context, returning null
2013-02-15 11:40:38,114 WARN [qtp900409598-141] [ValidActionContextMarker] Detected a potentially invalid action context, returning null

Cause

The web.xml file from the previous bamboo version is being used by mistake. 

Workaround

If the the old bamboo installation directory is not deleted, check and make sure the web.xml file from the new version is being used. If not, it should be replaced.

  • We are in the process of improving the troubleshooting steps for this type of problems to have more clear error messages in the logs, until then analyzing the logs and checking for the correct web.xml file are the only trusted troubleshooting  steps for this specific problem.

 

Last modified on Jul 10, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.