Hi all. I am trying to import old statistics into version 3.2. I have run [dspace]/bin/dspace stats-log-converter on my log files, and it creates the intermediate file as:
**************************************************************************** 20101126164959890,view_community,22,2010-11-26T16:49:59,anonymous,163.200.216.114 20101126165016503,view_community,84,2010-11-26T16:50:16,anonymous,163.200.216.114 20101126165029623,view_collection,143,2010-11-26T16:50:29,anonymous,163.200.216.114 20101126170546800,view_collection,143,2010-11-26T17:05:46,[email protected],163.200.216.114 20101126170630951,view_bitstream,1235,2010-11-26T17:06:30,[email protected],163.200.216.114 20101126170630951,view_bitstream,1041,2010-11-26T17:06:30,[email protected],163.200.216.114 **************************************************************************** When I run [dspace]/bin/dspace stats-log-importer on this file, I get: **************************************************************************** [dspace@umkn-dsp01 bin]$ ./dspace stats-log-importer -s -i /dspace-run/bin/dspace.log.2010-11-26 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=575c4966-ed00-46ef-9547-fbe21927b2e8,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/dspace-run/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /dspace-run/config/log4j.properties Processing file: /dspace-run/bin/dspace.log.2010-11-26 Error seeking country while seeking 2747848818 Error seeking country while seeking 2747848818 Error seeking country while seeking 2747848818 Error seeking country while seeking 2747848818 Error seeking country while seeking 2747848818 Error seeking country while seeking 2747848818 Exception: null java.lang.NullPointerException at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:343) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:511) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) **************************************************************************** Can anybody help with this please? ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ 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

