-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
Kurator Sprint 5
-
100
FP-Akka-1.0-SNAPSHOT jar doesn't fail gracefully when given no command line parameters.
Execution does give help for command line options, but then throws error messages and hangs instead of exiting.
$ java -jar FP-Akka-1.0-SNAPSHOT-allinone.jar
|
-e VAL : encoding for output file
|
-i VAL : Input records from CSV file
|
-o VAL : output records to file
|
-q VAL : query for MongoDB
|
java.io.FileNotFoundException: /home/tianhong/Downloads/data/test.json (No such file or directory)
|
at java.io.FileOutputStream.open(Native Method)
|
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
|
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
|
....
|
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
|
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
|
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
|
|
Read 0 records
|
Stopped Reader
|
|