[daisy] [JIRA] Created: (DSY-470) backup tool should provide usefull
error-msg in case of missing required params
Marc Portier (JIRA)
issues at cocoondev.org
Sat May 19 04:32:20 CDT 2007
backup tool should provide usefull error-msg in case of missing required params
-------------------------------------------------------------------------------
Key: DSY-470
URL: http://issues.cocoondev.org//browse/DSY-470
Project: Daisy
Type: Improvement
Components: Backup
Versions: 2.0.1
Reporter: Marc Portier
Priority: Minor
The daisy-backup-tool requires to have a -l LOCATION option passed to it in the args.
If it is not set a nasty NPE is thrown:
java.lang.NullPointerException
at java.io.File.<init>(File.java:194)
at org.outerj.daisy.backupTool.BackupTool.main(BackupTool.java:69)
It would be better to check if the argument is set (I suppose commons cli has stuff for this) and switch to providing the -h output with some additional message if it is not.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list