[
https://jira.duraspace.org/browse/DS-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Masár updated DS-1265:
---------------------------
Labels: papercut (was: )
> Sitemap generator does not defend against empty repository
> ----------------------------------------------------------
>
> Key: DS-1265
> URL: https://jira.duraspace.org/browse/DS-1265
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.8.1
> Reporter: Mark H. Wood
> Labels: papercut
>
> When there are zero items in the repository, 'dspace generate-sitemaps'
> throws an NPE.
> Exception: null
> java.lang.NullPointerException
> at
> org.dspace.app.sitemap.AbstractGenerator.closeCurrentFile(AbstractGenerator.java:138)
> at
> org.dspace.app.sitemap.AbstractGenerator.finish(AbstractGenerator.java:155)
> at
> org.dspace.app.sitemap.GenerateSitemaps.generateSitemaps(GenerateSitemaps.java:238)
> at
> org.dspace.app.sitemap.GenerateSitemaps.main(GenerateSitemaps.java:110)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel