Issue 11806
occurrence search exception: occurrence.SearchAction.getDatasetTitle(java.lang.String)
11806
Reporter: mdoering
Assignee: fmendez
Type: Bug
Summary: occurrence search exception: occurrence.SearchAction.getDatasetTitle(java.lang.String)
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2012-08-31 18:26:32.808
Updated: 2013-08-29 14:44:19.294
Resolved: 2012-10-17 15:57:10.849
Description: http://localhost:8080/occurrence/search?nubKey=5314&datasetKey=8c6aacda-2fd5-48a6-9b27-c673163ce2dd
results in:
Method public java.lang.String org.gbif.portal.action.occurrence.SearchAction.getDatasetTitle(java.lang.String) threw an exception when invoked on org.gbif.portal.action.occurrence.SearchAction@4f227bc5
Method public java.lang.String org.gbif.portal.action.occurrence.SearchAction.getDatasetTitle(java.lang.String) threw an exception when invoked on org.gbif.portal.action.occurrence.SearchAction@4f227bc5
The problematic instruction:
----------
==> ${action.getDatasetTitle(occ.datasetKey)!} [on line 128, column 76 in WEB-INF/pages/occurrence/search.ftl]
----------
Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Method public java.lang.String org.gbif.portal.action.occurrence.SearchAction.getDatasetTitle(java.lang.String) threw an exception when invoked on org.gbif.portal.action.occurrence.SearchAction@4f227bc5
at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.DefaultToExpression._getAsTemplateModel(DefaultToExpression.java:100)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
]]>