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

sun dh July 10, 2013

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

0 votes
Justin Alex Paramanandan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2013

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.

0 votes
Christian Czaia _Decadis AG_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2013

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

Suggest an answer

Log in or Sign up to answer