Hi All,
We are encountering a problem in generating / displaying download 
statistics on a particular record in our repository. Since it was 
initially ingested, a number of actions were performed on it:
1. It was originally ingested with a .docx file to generated the handle 
which the authors requested to insert into the final publication.
2. The item was withdrawn, then re-instated.
3. The final version (pdf) was uploaded, and afterwards the original 
version (the docx) was deleted.

It appears that the download statistics cannot be generated, and the 
following (snippet) appears in the dspace.log below.

Any help in resolving the issue would be highly appreciated, as this is 
one of our most popular items in the repository
http://open.uct.ac.za/handle/11427/12937

Thanks,

David de la Croes
University of Cape Town Libraries



2015-07-22 09:14:23,142 ERROR 
org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer @ Error 
occurred while creating statistics for dso with ID: 13323 and type 2 and 
handle: 11427/12937
java.lang.NullPointerException
         at 
org.dspace.statistics.content.StatisticsDataVisits.getAttributes(StatisticsDataVisits.java:633)
         at 
org.dspace.statistics.content.StatisticsDataVisits.createDataset(StatisticsDataVisits.java:354)
         at 
org.dspace.statistics.content.StatisticsDisplay.getDataset(StatisticsDisplay.java:88)
         at 
org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer.renderViewer(StatisticsTransformer.java:340)
         at 
org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer.addBody(StatisticsTransformer.java:141)
         at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
         at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:606)
         at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
         at com.sun.proxy.$Proxy43.startElement(Unknown Source)
         at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
         at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
         at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
         at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240)
         at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
....


------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to