B4nanaF1sh / dataloadercliq

Automatically exported from code.google.com/p/dataloadercliq
0 stars 0 forks source link

could not instantiate class: class com.salesforce.dataloader.action.BulkLoadAction. #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am facing the following error while i am trying upload data from Oracle 
server to SFDC.
Size of data is more than 1.5 lakh.

2012-12-13 14:00:05,027 INFO  [main] controller.Controller initLog 
(Controller.java:391) - The log has been initialized
2012-12-13 14:00:05,027 INFO  [main] process.ProcessConfig getBeanFactory 
(ProcessConfig.java:78) - Loading process configuration from config file: 
D:\SFDC_LANE7_TEST\conf\process-conf.xml
2012-12-13 14:00:05,058 INFO  [main] xml.XmlBeanDefinitionReader 
loadBeanDefinitions (XmlBeanDefinitionReader.java:163) - Loading XML bean 
definitions from file [D:\SFDC_LANE7_TEST\conf\process-conf.xml]
2012-12-13 14:00:05,105 INFO  [main] core.CollectionFactory <clinit> 
(CollectionFactory.java:66) - JDK 1.4+ collections available
2012-12-13 14:00:05,105 INFO  [main] core.CollectionFactory <clinit> 
(CollectionFactory.java:71) - Commons Collections 3.x available
2012-12-13 14:00:05,855 INFO  [UpsertInventory] controller.Controller 
initConfig (Controller.java:352) - The controller config has been initialized
2012-12-13 14:00:05,855 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:93) - Initializing process engine
2012-12-13 14:00:05,855 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:96) - Loading parameters
2012-12-13 14:00:05,855 INFO  [UpsertInventory] config.LastRun load 
(LastRun.java:101) - Last run info will be saved in file: 
D:\SFDC_LANE7_TEST\log\UpsertInventory_lastRun.properties
2012-12-13 14:00:05,870 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:104) - Logging in to: https://test.salesforce.com/
2012-12-13 14:00:05,870 INFO  [UpsertInventory] client.PartnerClient login 
(PartnerClient.java:989) - Beginning Partner Salesforce login ....
2012-12-13 14:00:05,886 INFO  [UpsertInventory] client.PartnerClient login 
(PartnerClient.java:998) - Salesforce login to 
https://test.salesforce.com//services/Soap/u/19.0 as user 
odsuser@wolterskluwer.com.uat
2012-12-13 14:00:06,511 INFO  [UpsertInventory] dao.DataAccessObjectFactory 
getDaoInstance (DataAccessObjectFactory.java:51) - Instantiating data access 
object: queryInventory of type: databaseRead
2012-12-13 14:00:06,511 INFO  [UpsertInventory] xml.XmlBeanDefinitionReader 
loadBeanDefinitions (XmlBeanDefinitionReader.java:163) - Loading XML bean 
definitions from file [D:\SFDC_LANE7_TEST\conf\database-conf.xml]
2012-12-13 14:00:06,558 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:109) - Checking the data access object connection
2012-12-13 14:00:06,777 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:114) - Setting field types
2012-12-13 14:00:07,870 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:118) - Setting object reference types
2012-12-13 14:00:22,449 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:122) - Creating Map
2012-12-13 14:00:22,449 INFO  [UpsertInventory] action.OperationInfo 
instantiateAction (OperationInfo.java:66) - Instantiating operation ui action: 
upsert
2012-12-13 14:00:22,512 INFO  [UpsertInventory] database.DatabaseContext 
setSqlParamValues (DatabaseContext.java:179) - SQL using parameter value 
process.lastRunDate = 2010-01-01 02:00:00.0
2012-12-13 15:14:27,388 FATAL [UpsertInventory] action.OperationInfo 
unsupportedInstantiation (OperationInfo.java:79) - Error instantiating 
operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.
2012-12-13 15:14:27,403 FATAL [main] process.ProcessRunner topLevelError 
(ProcessRunner.java:214) - Unable to run process UpsertInventory
java.lang.RuntimeException: java.lang.UnsupportedOperationException: Error 
instantiating operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.
                at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:139)
                at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.java:229)
Caused by: java.lang.UnsupportedOperationException: Error instantiating 
operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.
2012-12-13 14:00:05,027 INFO  [main] controller.Controller initLog 
(Controller.java:391) - The log has been initialized
2012-12-13 14:00:05,027 INFO  [main] process.ProcessConfig getBeanFactory 
(ProcessConfig.java:78) - Loading process configuration from config file: 
D:\SFDC_LANE7_TEST\conf\process-conf.xml
2012-12-13 14:00:05,058 INFO  [main] xml.XmlBeanDefinitionReader 
loadBeanDefinitions (XmlBeanDefinitionReader.java:163) - Loading XML bean 
definitions from file [D:\SFDC_LANE7_TEST\conf\process-conf.xml]
2012-12-13 14:00:05,105 INFO  [main] core.CollectionFactory <clinit> 
(CollectionFactory.java:66) - JDK 1.4+ collections available
2012-12-13 14:00:05,105 INFO  [main] core.CollectionFactory <clinit> 
(CollectionFactory.java:71) - Commons Collections 3.x available
2012-12-13 14:00:05,855 INFO  [UpsertInventory] controller.Controller 
initConfig (Controller.java:352) - The controller config has been initialized
2012-12-13 14:00:05,855 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:93) - Initializing process engine
2012-12-13 14:00:05,855 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:96) - Loading parameters
2012-12-13 14:00:05,855 INFO  [UpsertInventory] config.LastRun load 
(LastRun.java:101) - Last run info will be saved in file: 
D:\SFDC_LANE7_TEST\log\UpsertInventory_lastRun.properties
2012-12-13 14:00:05,870 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:104) - Logging in to: https://test.salesforce.com/
2012-12-13 14:00:05,870 INFO  [UpsertInventory] client.PartnerClient login 
(PartnerClient.java:989) - Beginning Partner Salesforce login ....
2012-12-13 14:00:05,886 INFO  [UpsertInventory] client.PartnerClient login 
(PartnerClient.java:998) - Salesforce login to 
https://test.salesforce.com//services/Soap/u/19.0 as user abc@xyz.com
2012-12-13 14:00:06,511 INFO  [UpsertInventory] dao.DataAccessObjectFactory 
getDaoInstance (DataAccessObjectFactory.java:51) - Instantiating data access 
object: queryInventory of type: databaseRead
2012-12-13 14:00:06,511 INFO  [UpsertInventory] xml.XmlBeanDefinitionReader 
loadBeanDefinitions (XmlBeanDefinitionReader.java:163) - Loading XML bean 
definitions from file [D:\SFDC_LANE7_TEST\conf\database-conf.xml]
2012-12-13 14:00:06,558 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:109) - Checking the data access object connection
2012-12-13 14:00:06,777 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:114) - Setting field types
2012-12-13 14:00:07,870 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:118) - Setting object reference types
2012-12-13 14:00:22,449 INFO  [UpsertInventory] process.ProcessRunner run 
(ProcessRunner.java:122) - Creating Map
2012-12-13 14:00:22,449 INFO  [UpsertInventory] action.OperationInfo 
instantiateAction (OperationInfo.java:66) - Instantiating operation ui action: 
upsert
2012-12-13 14:00:22,512 INFO  [UpsertInventory] database.DatabaseContext 
setSqlParamValues (DatabaseContext.java:179) - SQL using parameter value 
process.lastRunDate = 2010-01-01 02:00:00.0
2012-12-13 15:14:27,388 FATAL [UpsertInventory] action.OperationInfo 
unsupportedInstantiation (OperationInfo.java:79) - Error instantiating 
operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.
2012-12-13 15:14:27,403 FATAL [main] process.ProcessRunner topLevelError 
(ProcessRunner.java:214) - Unable to run process UpsertInventory
java.lang.RuntimeException: java.lang.UnsupportedOperationException: Error 
instantiating operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.
                at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:139)
                at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.java:229)
Caused by: java.lang.UnsupportedOperationException: Error instantiating 
operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.

What version of the product are you using? On what operating system?
i am using the Data loader version 19.

Please provide any additional information below.
it is working fine for 40k records.

Please provide the solution !

Original issue reported on code.google.com by chaudhar...@gmail.com on 14 Dec 2012 at 12:48

GoogleCodeExporter commented 8 years ago
2012-12-13 15:14:27,388 FATAL [UpsertInventory] action.OperationInfo 
unsupportedInstantiation (OperationInfo.java:79) - Error instantiating 
operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.
2012-12-13 15:14:27,403 FATAL [main] process.ProcessRunner topLevelError 
(ProcessRunner.java:214) - Unable to run process UpsertInventory
java.lang.RuntimeException: java.lang.UnsupportedOperationException: Error 
instantiating operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.
                at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:139)
                at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.java:229)
Caused by: java.lang.UnsupportedOperationException: Error instantiating 
operation upsert: could not instantiate class: class 
com.salesforce.dataloader.action.BulkLoadAction.

Original comment by chaudhar...@gmail.com on 14 Dec 2012 at 12:49

GoogleCodeExporter commented 8 years ago
Dataloader 19 is old.  Can you try with a newer version?

Original comment by vijay.swamidass@gmail.com on 18 Dec 2012 at 7:49