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
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