[ 
https://jira.duraspace.org/browse/DS-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark H. Wood updated DS-1411:
-----------------------------

    Fix Version/s:     (was: 3.1)
                   3.2
    
> uncaught NPE in stats-log-converter -m
> --------------------------------------
>
>                 Key: DS-1411
>                 URL: https://jira.duraspace.org/browse/DS-1411
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API, Statistics
>    Affects Versions: 3.0
>            Reporter: Ivan Masár
>              Labels: papercut
>             Fix For: 3.2
>
>
> This happens when a wildcard match on input file name (-m) results in empty 
> file set. It should be caught and a helpful error message reported.
> dspace@demo:~/dspace/log$ ~/dspace/bin/dspace stats-log-converter -i 
> dspace.log -o statistics.log -m -n
> Exception: null
> java.lang.NullPointerException
>       at 
> org.dspace.statistics.util.ClassicDSpaceLogConverter.main(ClassicDSpaceLogConverter.java:357)
>       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:601)
>       at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
> https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-api/src/main/java/org/dspace/statistics/util/ClassicDSpaceLogConverter.java#L357

--
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

------------------------------------------------------------------------------
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_jan
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to