Thomas Misilo created DS-1450:
---------------------------------

             Summary: stats-log-converter -m not working (Elastic Search 
Statistics)
                 Key: DS-1450
                 URL: https://jira.duraspace.org/browse/DS-1450
             Project: DSpace
          Issue Type: Bug
          Components: Statistics
    Affects Versions: 3.0
            Reporter: Thomas Misilo
            Priority: Major


When following the directions at 
https://wiki.duraspace.org/display/DSDOC3x/Elastic+Search+Usage+Statistics it 
says to try and use An example form of this command would be 
[dspace]/bin/dspace stats-log-converter -i dspace.log -o statistics.log -m -n 
however, I have tried this on two different systems and get the same error on 
either:

dspace@dspace-test log]$ dspace stats-log-converter -i dspace.log -m -o 
stats.log -n
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=38f8feea-122a-4f9a-869a-13d35ef4b7dd,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: 
file:/srv/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log 
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading: 
/srv/dspace/config/log4j.properties
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:616)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)


logs are named: dspace.log.YYYY-MM-DD

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

Reply via email to