Hi all,

every once in a while I get a NullPointerException at 
CollectionRecentSubmissions (line 147) when browsing 
communities/collections (Manakin 3.0). The log says the following:

org.apache.cocoon.ProcessingException: Failed to process pipeline
         at <map:serialize type="xml"> - 
resource://aspects/ViewArtifacts/sitemap.xmap:134:84
         at <map:transform type="CollectionViewer"> - 
resource://aspects/ViewArtifacts/sitemap.xmap:133:97
         at <map:transform type="Navigation"> - 
resource://aspects/ViewArtifacts/sitemap.xmap:72:59
         ...
Caused by: org.xml.sax.SAXException: An error was encountered while 
processing the 'aspect.artifactbrowser.CollectionRecentSubmissions' Wing 
based component: 
org.dspace.app.xmlui.aspect.artifactbrowser.CollectionRecentSubmissions
java.lang.NullPointerException
         at 
org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer.handleException(AbstractDSpaceTransformer.java:109)
         at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:248)
         ... 232 more
Caused by: java.lang.NullPointerException
         at 
org.dspace.app.xmlui.aspect.artifactbrowser.CollectionRecentSubmissions.addBody(CollectionRecentSubmissions.java:147)
         at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
         ...250 more

Restarting Tomcat resolves the issue, but clearly that's not very 
practical. I've had a look at the code and apparently 
getRecentlySubmittedItems() returns null. Is this a known issue?

Thanks,
Joachim

-- 
Joachim Bingel
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, 68161 Mannheim
+49 - (0)621-1581-456 | http://www.ids-mannheim.de      


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to