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 - 127.0.0.1 /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(ASTReference.java:277)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:300)
    at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:202)
    at com.atlassian.velocity.DefaultVelocityManager.getEncodedBodyForContent(DefaultVelocityManager.java:143)
    at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.getHtml(JiraWebFragmentHelper.java:116)
    at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.renderVelocityFragment(JiraWebFragmentHelper.java:107)
    at com.atlassian.plugin.web.model.DefaultWebLink.getRenderedUrl(DefaultWebLink.java:35)
    at com.atlassian.jira.plugin.webfragment.model.JiraWebLink.getRenderedUrl(JiraWebLink.java:34)
    at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.convertWebItemToSimpleLink(DefaultSimpleLinkManager.java:257)
    at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:177)
    at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSection(DefaultSimpleLinkManager.java:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234)
    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:203)
    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
    at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
    at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
    at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.Template.merge(Template.java:256)

......

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

157 views 5 9
Read article

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