Dear All, Recently the stat-report-general we have set to run daily has generated error messages as attached. The first line said that it filed to read the file... I have checked the file and found it there with proper permissions.
What I am suspecting is that, the said file may be generated by other script and was locked. But still don't know how to figure it out. Anyone has such experience before and any good solution to this matter? Thanks. Panyarak Ngamsritragul Prince of Songkla University. ---------- Forwarded message ---------- Date: Sun, 5 Feb 2012 05:00:03 +0700 (ICT) From: Cron Daemon <[email protected]> To: [email protected] Subject: Cron <tomcat6@kb> /opt/psukb/bin/stat-report-general Failed to read input file: /opt/psukb/log/dspace-log-general-2012-2-5.dat Exception: null java.lang.NullPointerException at org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:400) at org.dspace.app.statistics.ReportGenerator.processReport(ReportGenerator.java:260) at org.dspace.app.statistics.CreateStatReport.statReportGeneral(CreateStatReport.java:330) at org.dspace.app.statistics.CreateStatReport.main(CreateStatReport.java:164) 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:212) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

