[daisy] [JIRA] Updated: (DSY-643) backup tool: NPE with missing
parameters -l
Andreas Deininger (JIRA)
issues at cocoondev.org
Mon May 12 10:43:52 CEST 2008
[ http://issues.cocoondev.org//browse/DSY-643?page=all ]
Andreas Deininger updated DSY-643:
----------------------------------
Attachment: DSY-643-2.patch
You are raising a separate issue which should be fixed, too.
The uploaded patch "DSY-643-2.patch" addresses both issues raised.
In order to fix the issue raised by Karel, the patch now additionally upgrades CLI to version 1.1. With that version, the error message now is correct:
$ daisy-backup-tool -l brol
Missing required option: [-b Create a new backup, -v Print version info, -h Show this message, -r Restore an existing backup, -R Rehash files from an existing backup]
(followed by the generic help message)
> backup tool: NPE with missing parameters -l
> -------------------------------------------
>
> Key: DSY-643
> URL: http://issues.cocoondev.org//browse/DSY-643
> Project: Daisy
> Type: Bug
> Components: Backup
> Versions: 2.3
> Reporter: Andreas Deininger
> Priority: Minor
> Attachments: DSY-643-2.patch, DSY-643.diff
>
> How to reproduce: Invoke the backup tool without the -l parameter given:
> C:\>daisy-backup-tool.bat -b -d e:\backuplocation
> java.lang.NullPointerException
> at java.io.File.<init>(Unknown Source)
> at org.outerj.daisy.backupTool.BackupTool.main(BackupTool.java:69)
--
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