<div dir="ltr">Hi,<br><br>The JDK version shouldn't be a problem. This seems like the report is encountering some data it can't handle. Can you send us a MySQL dump of your ASpace database so we can try and replicate the problem on our end?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 3:31 AM, Emma Jolley <span dir="ltr"><<a href="mailto:EJOLLEY@nla.gov.au" target="_blank">EJOLLEY@nla.gov.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">My apologies for not having sent through the information about the Log. I have to liaise for some time with our IT to get this information. They have sent me
 the following information which may be of help?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Many thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Emma<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">****<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">The log entry when running (as an example) the report mentioned in the email below is:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">D, [2015-08-10T17:58:14.599000 #3236] DEBUG -- : Thread-10076116: GET /repositories/2/reports/accessionsunprocessedreport?lock_version=&format=json [session: nil]</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">D, [2015-08-10T17:58:14.602000 #3236] DEBUG -- : Thread-10076116: Post-processed params: {:format=>"json", :repo_id=>2}</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p><span style="font-size:9.0pt;font-family:Courier;color:#007f00;background:aqua">D, [2015-08-10T17:58:14.892000 #3236] DEBUG -- : Thread-10076116: Responded with [404, {"Content-Type"=>"application/json; charset=UTF-8", "Cache-Control"=>"private, must-revalidate,
 max-age=0", "Content-Length"=>"144"}, ["{\"error\":{\"AccessionsUnprocessedReport\":[\"net.sf.jasperreports.engine.JRException: Error executing SQL statement for : accessionsUnprocessed\"]}}"]]... in 292.0ms</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered shared/_breadcrumb.html.erb (1.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered /opt/archivesspace-1.3.0/archivesspace/plugins/nla_accession_reports/frontend/views/reports/index.html.erb within layouts/application (82.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered shared/_browser_support.html.erb (0.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered shared/_header_user.html.erb (6.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered shared/_header_global.html.erb (6.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered site/_branding.html.erb (0.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered shared/_advanced_search.html.erb (5.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered shared/_header_repository.html.erb (18.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered site/_footer.html.erb (0.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">  Rendered shared/_templates.html.erb (2.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">Completed 200 OK in 448.0ms (Views: 114.0ms)</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#011993"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Which is not helpful as it essentially just says exactly what gets displayed on the interface.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Courier;color:#011993;background:#ebebeb">net.sf.jasperreports.engine.JRException: Error executing SQL statement for : accessionsUnprocessed</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">I’ve run the query in this report directly against the database successfully (cut and paste from </span><span style="font-size:9.0pt;font-family:Courier;color:#011993;background:#ebebeb">reports/Accessions/AccessionsUnprocessedReport/AccessionsUnprocessedReport.jrxml</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"> and
 substituting in the repo id) so I think the SQL itself is sound. </span><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Further info:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">The report config being used are:<u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">#AppConfig[:report_page_layout] = "letter landscape"</span><span style="color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">AppConfig[:enable_jasper] = true </span><span style="color:#011993"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Courier;color:#011993;background:#ebebeb">AppConfig[:compile_jasper] = true</span><span style="font-size:9.0pt;font-family:Courier;color:black"> </span><span style="color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">I’ve tried with the report_page_layout both commented and uncommented.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">The java version is:<u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">java version "1.7.0_85"</span><span style="color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">OpenJDK Runtime Environment (rhel-2.6.1.3.el6_7-x86_64 u85-b01)</span><span style="color:#011993"><u></u><u></u></span></p>
<p style="background:#ebebeb"><span style="font-size:9.0pt;font-family:Courier;color:#011993">OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)</span><span style="color:#011993"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Could there be an issue with using the OpenJDK rather than Oracle’s JDK perhaps ?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Brian Hoffman<br>
<b>Sent:</b> Friday, 14 August 2015 12:37 PM<br>
<b>To:</b> Archivesspace Users Group</span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Problems with ASpace reports<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is it possible that your database was restored from a backup or that you created your database elsewhere and then imported it into MySQL? If so, you may simply be missing the stored procedures the Jasper reports rely on. There is a PR concerning
 this issue here:<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://github.com/archivesspace/archivesspace/pull/244" target="_blank">https://github.com/archivesspace/archivesspace/pull/244</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Brian<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Aug 7, 2015, at 5:49 AM, Chris Fitzpatrick <<a href="mailto:Chris.Fitzpatrick@lyrasis.org" target="_blank">Chris.Fitzpatrick@lyrasis.org</a>> wrote:<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">Hi Emma,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">Can you look at what's being output into the log? <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">The easiest way to see what the report is doing is to look at the Jasper XML, which you can see here =><a href="https://github.com/archivesspace/archivesspace/blob/master/reports/Accessions/AccessionsUnprocessedReport/AccessionsUnprocessedReport.jrxml#L20-L37" title="Cmd+Click or tap to follow the link" target="_blank">https://github.com/archivesspace/archivesspace/blob/master/reports/Accessions/AccessionsUnprocessedReport/AccessionsUnprocessedReport.jrxml#L20-L37</a><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">The basic SQL query is defined in the <query> tag, with the formatting happening below. You can edit this file to fit your needs, then restart ASpace to have it recompiled. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">b,chris.<span> </span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<div name="divtagdefaultwrapper">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Chris Fitzpatrick | Developer, ArchivesSpace<br>
Skype: chrisfitzpat  | Phone: <a href="tel:918.236.6048" value="+19182366048" target="_blank">918.236.6048</a><br>
<a href="http://archivesspace.org/" target="_blank">http://archivesspace.org/</a></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<div>
<div class="MsoNormal" style="text-align:center;background:white" align="center">
<span style="font-family:"Calibri","sans-serif"">
<hr style="width:428.5pt" align="center" size="3" width="714">
</span></div>
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>
 <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Emma Jolley <<a href="mailto:EJOLLEY@nla.gov.au" target="_blank">EJOLLEY@nla.gov.au</a>><br>
<b>Sent:</b><span> </span>Friday, August 7, 2015 7:13 AM<br>
<b>To:</b><span> </span>Archivesspace Users Group (<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>)<br>
<b>Subject:</b><span> </span>Re: [Archivesspace_Users_Group] Problems with ASpace reports</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Chris</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">We have had the same issues as Robin with the reports. We have tried to implement your suggested solutions below but now received the
 following error message which I’ve copied below. Any advice on this?</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In addition, I have asked previously but have never received an answer – I wonder if there is any documentation on what criteria the
 reports use to identify records that meet the nominated criteria. For example what fields is used to indicate an unprocessed Accession and what field is used to indicate an uncatalogued accession?</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Many thanks</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Emma</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white"><image007.png><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif""> </span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> </span></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><span> </span>[<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]<span> </span><b>On
 Behalf Of<span> </span></b>Chris Fitzpatrick<br>
<b>Sent:</b><span> </span>Thursday, 6 August 2015 9:16 PM<br>
<b>To:</b><span> </span>Archivesspace Users Group<br>
<b>Cc:</b><span> </span>Zalduendo, Ines; Wendler, Robin King; Della Monica, Ilaria<br>
<b>Subject:</b><span> </span>Re: [Archivesspace_Users_Group] Problems with ASpace reports</span><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="background:white"> <u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">Hi Robin,<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">So, first you need to make sure you compiled your jasper reports on startup. To do this, edit the config.rb file to have:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">AppConfig[:compile_jasper]<span> </span>=<span> </span>true<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">and restart ASpace.<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">This will compile the jasper jxml files ( which is most likely what's causing the "can't convert nil to String" errors)<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">Also, you'll need to look at both your application and database server and make sure you're not running into a performance issue. Reports can hit the database really
 hard, so the timeout errors you're seeing could be the result of your server running out of RAM. <u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">In regards to the CSV and Excel and HTML files, yes I would say those are formatted rather poorly by default. You can edit this by modifing your Jasper reports using
 something like iReport or<span> </span><a href="http://community.jaspersoft.com/project/jaspersoft-studio" target="_blank">Jasper studio</a>. Just be sure to recompile your reports.<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">For the parameters, yes this feature is going to be included in a future release. I believe those labels are artifacts from AT. <u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif"">best, Chris. <u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-family:"Calibri","sans-serif""> <u></u><u></u></span></p>
<div>
<div name="divtagdefaultwrapper">
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Chris Fitzpatrick | Developer, ArchivesSpace<br>
Skype: chrisfitzpat  | Phone: <a href="tel:918.236.6048" value="+19182366048" target="_blank">918.236.6048</a><br>
<a href="http://archivesspace.org/" target="_blank">http://archivesspace.org/</a></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif""> </span><u></u><u></u></p>
<div>
<div class="MsoNormal" style="text-align:center;background:white" align="center">
<span style="font-family:"Calibri","sans-serif"">
<hr align="center" size="2" width="98%">
</span></div>
<div>
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><span> </span><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
 on behalf of McElheny, Robin G. <<a href="mailto:robin_mcelheny@harvard.edu" target="_blank">robin_mcelheny@harvard.edu</a>><br>
<b>Sent:</b><span> </span>Wednesday, August 5, 2015 5:55 PM<br>
<b>To:</b><span> </span>Archivesspace Users Group<br>
<b>Cc:</b><span> </span>Zalduendo, Ines; Wendler, Robin King; Della Monica, Ilaria<br>
<b>Subject:</b><span> </span>[Archivesspace_Users_Group] Problems with ASpace reports</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif""> </span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">At Harvard, we are having major problems with the reporting functionality in the latest ArchivesSpace release. We have tested
 the reports in our own installation and in the ASpace sandbox with very little success. See below for more details.</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">We didn’t see any issues in JIRA that reflects these problems. Has anyone else encountered them? If so, have you resolved them
 – and how?</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Record selection issues:</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">The Accessions Acquired and Accessions Production reports supposedly allow for specified time periods, but no date parameters show up in the report user interface.</span><u></u><u></u></li></ul>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><image008.jpg><u></u><u></u></p>
</div>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">In other cases it is unclear how/where to select records for the report (e.g. Digital Object Record). No selection parameters appear in the report interface. Are we supposed to browse records, then select them
 using the check boxes, then generate reports?</span><u></u><u></u></li></ul>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:initial initial">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Report format issues:</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">In cases where we were able to download CSV and Excel reports (Accessions Cataloged, Accessions Deaccessions List, Accessions Inventory), we were unable to sort these reports because the formatting appears to
 be frozen. The output of the report does not match the file type. It is like getting a static document layered on top of a spreadsheet, rather than an actual spreadsheet.</span><u></u><u></u></li></ul>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">Xlsx downloads don't export uniform cell sizes, so Excel sorting returns a warning saying "this operation requires the merged cells to be identically sized"</span><u></u><u></u></li></ul>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">In order for the Xlsx downloads to be useful, each field should be in a separate column to allow tallying and sorting, but the ASpace downloads don’t do this. Some examples:</span><u></u><u></u></li></ul>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">In the case of the Accession Deaccession List Report, opening the CSV download in Excel resulted in a very messy, single column
 spreadsheet that broke data about one deaccesion across multiple rows. (Example: row 48= "Additional records of the League of Women Voters (Cambridge, Mass.),,,,,,1376,,," and row 49 = ",Accession Date:,,05/01/1968,Extent:,1.00 Linear_feet,,,,:").</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:initial initial">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Here is a screen shot:</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><image009.jpg></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">Here’s another example:</span><u></u><u></u></li></ul>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><image010.jpg></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">In the case of an HTML report, it displays page footers – odd for online display.</span><u></u><u></u></li></ul>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><image011.jpg></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:initial initial">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Report failure/timeout:</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">We encountered many failures.</span><u></u><u></u></li></ul>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">Example:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">When we attempted to download an XLSX AccessionsAcquired report in the ArchivesSpace sandbox, we got the following message:<u></u><u></u></p>
</div>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">Internal Server Error (500)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">Request Method:            GET<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">Request URL:    <span> </span><a href="http://localhost:8089/repositories/4/reports/accessionsacquiredreport?lock_version=&format=xlsx" target="_blank">http://localhost:8089/repositories/4/reports/accessionsacquiredreport?lock_version=&format=xlsx</a><u></u><u></u></p>
</div>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">(TypeError) can't convert nil into String<u></u><u></u></p>
</div>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
 <u></u><u></u></p>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white">Another example:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="line-height:13.8pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><image012.jpg></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<ul style="margin-top:0cm" type="disc">
<li class="MsoNormal" style="line-height:13.8pt;background:white;background-repeat:repeat">
<span style="font-family:"Calibri","sans-serif"">We were unable to generate any successful Resource reports. All attempts to download reports in any format resulted in “Waiting for (server)” messages with no results.</span><u></u><u></u></li></ul>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Robin McElheny</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Associate University Archivist for Collections and Public Services</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Harvard University Archives</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Pusey Library</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Cambridge, MA 02138</span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Email:<span> </span><a href="mailto:robin_mcelheny@harvard.edu" target="_blank">robin_mcelheny@harvard.edu</a></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Phone: <a href="tel:617-495-2461" value="+16174952461" target="_blank">617-495-2461</a></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Fax: <a href="tel:617-495-8011" value="+16174958011" target="_blank">617-495-8011</a></span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="background:white;background-repeat:initial initial">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span style="font-family:"Calibri","sans-serif""><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></span><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Nathan Stevens<br>Programmer/Analyst<br>Digital Library Technology Services<br>New York University<br><br>1212-998-2653<br><a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a></div>
</div>