+ Start a Discussion
Money Care 7Money Care 7 

Error in Cmd data loader

Hi All

I have created a script for cmd data loader ,it working before fine.but now it si not working .its showing error like
C:\Program Files (x86)\salesforce.com\Data Loader\bin>process.bat "D:\Test" Invo
iceUpsert
2016-09-10 13:53:18,455 INFO  [main] controller.Controller initLog (Controller.j
ava:389) - Using built-in logging configuration, no log-conf.xml in C:\Program F
iles (x86)\salesforce.com\Data Loader\bin\log-conf.xml
2016-09-10 13:53:18,467 INFO  [main] controller.Controller initLog (Controller.j
ava:391) - The log has been initialized
2016-09-10 13:53:18,473 INFO  [main] process.ProcessConfig getBeanFactory (Proce
ssConfig.java:103) - Loading process configuration from config file: D:\Test\pro
cess-conf.xml
2016-09-10 13:53:18,649 INFO  [main] xml.XmlBeanDefinitionReader loadBeanDefinit
ions (XmlBeanDefinitionReader.java:315) - Loading XML bean definitions from file
 [D:\Test\process-conf.xml]
2016-09-10 13:53:18,776 INFO  [InvoiceUpsert] controller.Controller initConfig (
Controller.java:327) - config dir created at D:\Test
2016-09-10 13:53:18,793 INFO  [InvoiceUpsert] controller.Controller initConfig (
Controller.java:355) - The controller config has been initialized
2016-09-10 13:53:18,796 INFO  [InvoiceUpsert] process.ProcessRunner run (Process
Runner.java:116) - Initializing process engine
2016-09-10 13:53:18,797 INFO  [InvoiceUpsert] process.ProcessRunner run (Process
Runner.java:119) - Loading parameters
2016-09-10 13:53:19,665 INFO  [InvoiceUpsert] config.LastRun load (LastRun.java:
96) - Last run info will be saved in file: D:\Test\InvoiceUpsert_lastRun.propert
ies
2016-09-10 13:53:19,686 FATAL [main] process.ProcessRunner topLevelError (Proces
sRunner.java:238) - Unable to run process InvoiceUpsert
java.lang.RuntimeException: com.salesforce.dataloader.exception.ProcessInitializ
ationException: Error creating file: D:\InvoiceUpsertSucess.csv
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.jav
a:162)
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.jav
a:100)
        at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.ja
va:253)
Caused by: com.salesforce.dataloader.exception.ProcessInitializationException: E
rror creating file: D:\InvoiceUpsertSucess.csv
        at com.salesforce.dataloader.controller.Controller.setStatusFiles(Contro
ller.java:486)
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.jav
a:124)
        ... 2 more
Caused by: java.io.IOException: Error creating file: D:\InvoiceUpsertSucess.csv
        at com.salesforce.dataloader.controller.Controller.validateFile(Controll
er.java:506)
        at com.salesforce.dataloader.controller.Controller.setStatusFiles(Contro
ller.java:483)
        ... 3 more
C:\Program Files (x86)\salesforce.com\Data Loader\bin>

 
ManojSankaranManojSankaran
Hi,

The error has occured when creating a InvoiceUpsertSucess.csv file.

Kindly check whether you are able to manually crate a file in D drive. or else change the location to D:\Test.



Thanks
Manoj S