Can't login into Jira with the ${project.key} problem

After I press the lgoin button, the page still stay at .../secure/Dashboard.jspa

The relative logs from atlassian-jira.log:

2013-06-24 13:04:59,868 http-8080-2 WARN anonymous 784x39x1 - /secure/Dashboard.jspa [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = getEncodedBodyFromContent [line 1,column 22] : ${project.key} is not a valid reference.
    at org.apache.velocity.runtime.parser.node.ASTReference.render(
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(
    at com.atlassian.velocity.DefaultVelocityManager.getEncodedBodyForContent(
    at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.getHtml(
    at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.renderVelocityFragment(
    at com.atlassian.plugin.web.model.DefaultWebLink.getRenderedUrl(
    at com.atlassian.jira.plugin.webfragment.model.JiraWebLink.getRenderedUrl(
    at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.convertWebItemToSimpleLink(
    at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(
    at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSection(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(
    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(
    at org.apache.velocity.runtime.parser.node.ASTReference.execute(
    at org.apache.velocity.runtime.parser.node.ASTReference.value(
    at org.apache.velocity.runtime.parser.node.ASTExpression.value(
    at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(
    at org.apache.velocity.Template.merge(


2 answers

I'm not sure what you want. Can you log in successfully? I had the log entry once because of a problem in a custom plugin...Didn't have to do anything with JIRA though..

Have you installed any plugins recently to your instance? Check for this, as what @Christian mentioned, maybe this latest plugin is the source of your issues due to some incompatibilities.

You can remove them by performing the following:

  1. Shutdown JIRA
  2. Delete the plugin from$JIRA_HOME/plugins/installed-plugins
  3. Delete the following as well:
    1. $JIRA_HOME/plugins/.osgi-plugins
    2. $JIRA_HOME/plugins/.bundled-plugins
  4. Start JIRA back up.

Check whether you can log into JIRA. If you can, just let us know what is the latest plugin that you've installed, which may be causing this problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,426 views 2 7
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you