<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Ditrimi,</p>
<p>Thank you for the suggestion. It works as a workaround, we will
use it until the issue is solved.</p>
<p>Best,</p>
<p>Rui<br>
</p>
<pre class="moz-signature" cols="72">------------------
Rui Figueira
Coordenador do Nó Português do GBIF
<a class="moz-txt-link-abbreviated" href="mailto:ruifigueira@isa.ulisboa.pt">ruifigueira@isa.ulisboa.pt</a>
Instituto Superior de Agronomia
Herbário
Tapada da Ajuda, 1349-017 Lisboa, Portugal
Tel. +351 213653165 | Fax. +351 213653195
<a class="moz-txt-link-freetext" href="http://www.gbif.pt">http://www.gbif.pt</a>
<a class="moz-txt-link-freetext" href="http://www.isa.ulisboa.pt">http://www.isa.ulisboa.pt</a></pre>
<div class="moz-cite-prefix">On 9/7/21 1:33 PM, Dimitri Brosens
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAN3TheimKTMbOGpBQNZ4P7sr4WeFYrbOZrGxCwJhmX2u9w9-Wg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Rui,
<div><br>
</div>
<div>I think I had the same problem... This might be a
workaround, try to publish the data first (privately) and by
miracle the issue of the citation was fixed.</div>
<div>For me, the error was that I only had a blink screen when
navigating to the citations section..</div>
<div><br>
</div>
<div>Chrs,</div>
<div>Dimi</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Sep 7, 2021 at 1:15 PM
Rui Figueira <<a href="mailto:ruifigueira@isa.ulisboa.pt"
moz-do-not-send="true">ruifigueira@isa.ulisboa.pt</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear
all,<br>
<br>
We are using IPT 2.5.1, on a server with Java(TM) SE Runtime
Environment <br>
(build 1.8.0_131-b11) and tomcat7.<br>
<br>
In managing a newly created resource, if we navigate to
Metadata, <br>
section citation, we get the following error:<br>
<br>
=====<br>
<br>
FreeMarker template error (HTML_DEBUG mode; use RETHROW in
production!)<br>
<br>
Java method <br>
"org.gbif.ipt.model.Resource.generateResourceCitation(String,
String)" <br>
threw an exception when invoked on org.gbif.ipt.model.Resource
object <br>
"Resource ibi_mantodea_01"; see cause exception in the Java
stack trace.<br>
<br>
----<br>
FTL stack trace ("~" means nesting-related):<br>
- Failed at: ${action.resource.generateResourceCit...
[in template <br>
"WEB-INF/pages/manage/eml/citations.ftl" at line 14, column
41]<br>
----<br>
<br>
Java stack trace (for programmers):<br>
----<br>
freemarker.core._TemplateModelException: [... Exception
message was <br>
already printed; see it above ...]<br>
at <br>
freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289)<br>
at <br>
freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:261)<br>
at <br>
freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:65)<br>
at freemarker.core.MethodCall._eval(MethodCall.java:65)<br>
at freemarker.core.Expression.eval(Expression.java:81)<br>
<br>
...<br>
<br>
Caused by: java.lang.NullPointerException<br>
at java.util.Calendar.setTime(Calendar.java:1770)<br>
at
org.gbif.ipt.model.Resource.getPublicationYear(Resource.java:1240)<br>
at <br>
org.gbif.ipt.model.Resource.generateResourceCitation(Resource.java:1153)<br>
at <br>
org.gbif.ipt.model.Resource.generateResourceCitation(Resource.java:1113)<br>
at sun.reflect.GeneratedMethodAccessor967.invoke(Unknown
Source)<br>
<br>
=====<br>
<br>
Could anyone help to sort out how to resolve this problem? Let
me know <br>
if you need any more information.<br>
<br>
best,<br>
<br>
Rui<br>
<br>
-- <br>
------------------<br>
<br>
Rui Figueira<br>
Coordenador do Nó Português do GBIF<br>
<a href="mailto:ruifigueira@isa.ulisboa.pt" target="_blank"
moz-do-not-send="true">ruifigueira@isa.ulisboa.pt</a><br>
Instituto Superior de Agronomia<br>
Herbário<br>
Tapada da Ajuda, 1349-017 Lisboa, Portugal<br>
Tel. +351 213653165 | Fax. +351 213653195<br>
<a href="http://www.gbif.pt" rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.gbif.pt</a><br>
<a href="http://www.isa.ulisboa.pt" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.isa.ulisboa.pt</a><br>
<br>
_______________________________________________<br>
IPT mailing list<br>
<a href="mailto:IPT@lists.gbif.org" target="_blank"
moz-do-not-send="true">IPT@lists.gbif.org</a><br>
<a href="https://lists.gbif.org/mailman/listinfo/ipt"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.gbif.org/mailman/listinfo/ipt</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<p><span
style="font-size:10pt;color:rgb(31,73,125)"
lang="EN-US">Belgian Biodiversity
Platform </span></p>
<p><span style="font-size:10pt"
lang="EN-US">Dimitri Brosens </span><span
style="font-size:12px;color:rgb(73,74,76);font-family:"Noto
Sans",sans-serif"><a
href="https://orcid.org/0000-0002-0846-9116"
target="_blank"
moz-do-not-send="true">https://orcid.org/0000-0002-0846-9116</a></span></p>
<span
style="color:rgb(73,74,76);font-family:"Noto
Sans",sans-serif;font-size:14px"></span>
<p><span
style="font-size:10pt;color:rgb(247,150,70)"
lang="EN-US">Biodiversity Research
Liaison Officer</span></p>
Research Institute for Nature and
Forest<br>
Havenlaan 88 bus 73<br>
1070 Brussels
<p><span style="font-size:10pt">ORCID: </span><span
style="color:rgb(102,102,102);font-family:arial,helvetica,sans-serif;font-size:15px">0000-0002-0846-9116</span></p>
<p style="font-size:12.8px"><span
style="font-size:10pt;color:rgb(31,73,125)"><a
href="http://www.inbo.be/"
target="_blank"
moz-do-not-send="true">www.inbo.be</a><br>
</span><a
href="http://www.biodiversity.be/"
style="font-size:10pt"
target="_blank"
moz-do-not-send="true">www.biodiversity.be</a><br>
<a
href="http://www.beescommunity.be/"
style="font-size:10pt"
target="_blank"
moz-do-not-send="true">www.beescommunity.be</a></p>
<div
style="font-size:12.8px;color:rgb(136,136,136)"><font
size="1" color="#45818e"><b>WATCH
OUR BELGIAN BIODIVERSITY
PLATFORM MOVIES ON:</b></font></div>
<div
style="font-size:12.8px;color:rgb(136,136,136)"><font
size="1" color="#45818e"><a
href="http://vimeo.com/114955090"
style="color:rgb(17,85,204)"
target="_blank"
moz-do-not-send="true">http://vimeo.com/114955090</a> (data
publication activities)</font></div>
<div
style="font-size:12.8px;color:rgb(136,136,136)"><font
size="1" color="#45818e"><a
href="http://vimeo.com/114955160"
style="color:rgb(17,85,204)"
target="_blank"
moz-do-not-send="true">http://vimeo.com/114955160</a> (science-policy
activities)</font></div>
<div
style="font-size:12.8px;color:rgb(136,136,136)"><font
size="1" color="#45818e"><a
href="http://vimeo.com/114955193"
style="color:rgb(17,85,204)"
target="_blank"
moz-do-not-send="true">http://vimeo.com/114955193</a> (our
general mission)</font></div>
<div
style="font-size:12.8px;color:rgb(136,136,136)"><font
size="1" color="#45818e"><br>
</font></div>
<div
style="font-size:12.8px;color:rgb(136,136,136)"><font
size="1" color="#45818e"><br>
</font></div>
<p><img
src="https://docs.google.com/uc?export=download&id=1JTvUtZoChO_vGvQ65PAiQMRCNPaPubTV&revid=0BzsV0RNd6sTMOGQrRTRLeEhINldYbHVHZGhNVFJNaERpNjlrPQ"
moz-do-not-send="true" width="420"
height="63"><br>
</p>
<div
style="color:rgb(136,136,136);font-size:12.8px"><br>
<br>
</div>
<p style="text-align:center"
align="center"><a
href="http://www.biodiversity.be/"
target="_blank"
moz-do-not-send="true"><span
style="font-size:10pt;color:rgb(31,73,125);text-decoration:none"></span></a><span
style="font-size:10pt;color:rgb(31,73,125)"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>