[Geoserver-devel] [jira] (GEOS-5383) Exception when opening a Coverage Layer description page using REST HTML format

Davide Savazzi created BugGEOS-5383
Exception when opening a Coverage Layer description page using REST HTML format

Issue Type:

BugBug

Affects Versions:

2.2.x

Assignee:

Andrea Aime

Components:

REST

Created:

30/Oct/12 4:16 AM

Description:

If I try to open a Coverage Layer description page using REST HTML format, for example: http://localhost:8080/geoserver/rest/workspaces/nurc/coveragestores/arcGridSample/coveragestores/Arc_Sample.html

I get a Freemarker exception:

 
Coverage " Expression properties is undefined on line 2, column 13 in CoverageInfo.ftl. The problematic instruction: ---------- ==> ${properties.name} [on line 2, column 11 in CoverageInfo.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression properties is undefined on line 2, column 13 in CoverageInfo.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:135) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:237) at org.restlet.ext.freemarker.TemplateRepresentation.write(TemplateRepresentation.java:112) at 

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Davide Savazzi

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)