SFX File Reader causes NPE in XMLUI
-----------------------------------

                 Key: DS-1157
                 URL: https://jira.duraspace.org/browse/DS-1157
             Project: DSpace
          Issue Type: Bug
          Components: XMLUI
    Affects Versions: 1.7.2
            Reporter: Andrea Schweer
            Assignee: Andrea Schweer
            Priority: Major


We've had a few cases recently where item pages (XMLUI, DSpace 1.7.2) would 
throw an error ("Failed to process pipeline"); a DSpace restart usually fixed 
the problem. In digging around in the logs, I found that at least in one case, 
the underlying exception was:

Caused by: java.lang.NullPointerException
        at 
org.dspace.app.sfx.SFXFileReader.processFields(SFXFileReader.java:159)
        at org.dspace.app.sfx.SFXFileReader.doNodes(SFXFileReader.java:128)
        at org.dspace.app.sfx.SFXFileReader.loadSFXFile(SFXFileReader.java:60)
        at 
org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer.addPageMeta(ItemViewer.java:182)
        at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:218)
        ... 286 more

At this particular point, the site was being crawled by a Google Mini instance, 
which requests around 10 item pages at a time (within milliseconds of each 
other) -- not sure if this was related or not.

Since JSPUI uses the SFXFileReader as well, JSPUI may well be affected by this 
problem too. I noticed this on 1.7.2, but it doesn't look like the SFXReader 
code has changed substantially since then, so it probably affects 1.8.x and the 
3.x versions as well.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to