SaumilBapat / dataloadercliq

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

FATAL error unable to run process (java.lang.NullPointerException) #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Migrated from Solaris to AIX

What is the expected output? What do you see instead?
WORKING WELL IN SOLARIS
2012-12-05 05:21:12,103 INFO  [main] controller.Controller initLog 
(Controller.java:388) - The log has been initialized
2012-12-05 05:21:12,475 INFO  [main] process.ProcessConfig getBeanFactory 
(ProcessConfig.java:103) - Loading process configuration from config file: 
/u01/psoft/epm900_851/bin/SFDC/dataloader_DEV/cliq_process/EXPORT/config/process
-conf.xml
2012-12-05 05:21:15,430 INFO  [main] xml.XmlBeanDefinitionReader 
loadBeanDefinitions (XmlBeanDefinitionReader.java:315) - Loading XML bean 
definitions from file 
[/u01/psoft/epm900_851/bin/SFDC/dataloader_DEV/cliq_process/EXPORT/config/proces
s-conf.xml]
2012-12-05 05:21:15,990 INFO  [EXPORT] controller.Controller initConfig 
(Controller.java:326) - config dir created at 
/u01/psoft/epm900_851/bin/SFDC/dataloader_DEV/cliq_process/EXPORT/config
2012-12-05 05:21:16,523 INFO  [EXPORT] controller.Controller initConfig 
(Controller.java:354) - The controller config has been initialized
2012-12-05 05:21:16,526 INFO  [EXPORT] process.ProcessRunner run 
(ProcessRunner.java:116) - Initializing process engine
2012-12-05 05:21:16,527 INFO  [EXPORT] process.ProcessRunner run 
(ProcessRunner.java:119) - Loading parameters
2012-12-05 05:21:24,155 INFO  [EXPORT] config.LastRun load (LastRun.java:96) - 
Last run info will be saved in file: 
/u01/psoft/epm900_851/bin/SFDC/dataloader_DEV/cliq_process/EXPORT/log/EXPORT_las
tRun.properties
2012-12-05 05:21:24,254 INFO  [EXPORT] process.ProcessRunner run 
(ProcessRunner.java:127) - Logging in to: 
https://cs3.salesforce.com/services/Soap/u/24.0
2012-12-05 05:21:24,419 INFO  [EXPORT] client.PartnerClient login 
(PartnerClient.java:478) - Beginning Partner Salesforce login ....
2012-12-05 05:21:24,480 INFO  [EXPORT] client.PartnerClient loginInternal 
(PartnerClient.java:519) - Salesforce login to 
https://cs3.salesforce.com/services/Soap/u/24.0/services/Soap/u/25.0 as user 
joice.thomas@aig.com.demo
2012-12-05 05:21:28,686 INFO  [EXPORT] dao.DataAccessObjectFactory 
getDaoInstance (DataAccessObjectFactory.java:51) - Instantiating data access 
object: 
/u01/psoft/epm900_851/bin/SFDC/dataloader_DEV/cliq_process/EXPORT/write/EXPORT.c
sv of type: csvWrite
2012-12-05 05:21:28,688 INFO  [EXPORT] process.ProcessRunner run 
(ProcessRunner.java:132) - Checking the data access object connection
2012-12-05 05:21:28,769 INFO  [EXPORT] process.ProcessRunner run 
(ProcessRunner.java:137) - Setting field types
2012-12-05 05:21:30,091 INFO  [EXPORT] process.ProcessRunner run 
(ProcessRunner.java:141) - Setting object reference types
2012-12-05 05:21:32,290 INFO  [EXPORT] process.ProcessRunner run 
(ProcessRunner.java:145) - Creating Map
2012-12-05 05:21:32,294 INFO  [EXPORT] action.OperationInfo instantiateAction 
(OperationInfo.java:95) - Instantiating action for operation: extract
2012-12-05 05:21:32,299 INFO  [EXPORT] controller.Controller executeAction 
(Controller.java:119) - executing operation: extract
2012-12-05 05:21:32,300 INFO  [EXPORT] action.AbstractAction execute 
(AbstractAction.java:115) - Loading: extract
2012-12-05 05:21:33,245 INFO  [EXPORT] progress.NihilistProgressAdapter 
setSubTask (NihilistProgressAdapter.java:78) - Processed 6 of 6 total records. 
Rate: 7,200,000 records per hour. Estimated time to complete: 0 minutes and 0 
seconds.  There are 6 successes and 0 errors.
2012-12-05 05:21:33,296 INFO  [EXPORT] progress.NihilistProgressAdapter 
doneSuccess (NihilistProgressAdapter.java:63) - The operation has fully 
completed.  There were 6 successful extractions and 0 errors.

BUT GETTING ERROR IN AIX
2012-12-05 05:53:55,652 INFO  [main] controller.Controller initLog 
(Controller.java:388) - The log has been initialized
2012-12-05 05:53:55,665 INFO  [main] process.ProcessConfig getBeanFactory 
(ProcessConfig.java:103) - Loading process configuration from config file: 
/u01/psoft/epm900_851/bin/SFDC/dataloader_QA/cliq_process/EXPORT/config/process-
conf.xml
2012-12-05 05:53:55,937 INFO  [main] xml.XmlBeanDefinitionReader 
loadBeanDefinitions (XmlBeanDefinitionReader.java:315) - Loading XML bean 
definitions from file 
[/u01/psoft/epm900_851/bin/SFDC/dataloader_QA/cliq_process/EXPORT/config/process
-conf.xml]
2012-12-05 05:53:56,110 FATAL [EXPORT] process.ProcessRunner topLevelError 
(ProcessRunner.java:238) - Unable to run process EXPORT
java.lang.NullPointerException
        at com.salesforce.dataloader.controller.Controller.<init>(Controller.java:105)
        at com.salesforce.dataloader.controller.Controller.getInstance(Controller.java:211)
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:110)
        at com.salesforce.dataloader.process.ProcessRunner.run(ProcessRunner.java:100)
        at com.salesforce.dataloader.process.ProcessRunner.main(ProcessRunner.java:253)

What version of the product are you using? On what operating system?
WORKING IN SOLARIS 
Data loader :dataloader-25.0.2-uber.jar
CLIQ : 2.2.0
OS : SunOS ftwdsops2g1 5.10 Generic_142900-13 sun4u sparc SUNW,SPARC-Enterprise
NOT WORKING IN AIX
Data loader :dataloader-25.0.2-uber.jar
CLIQ : 2.2.0
OS:AIX duccaspshcm03 1 6 00F6F0844C00

Please provide any additional information below.
I am not able to find out the error. Please reply if i need to do any changes 
in configuration when we move to AIX. Everything is working well in Solaris. 
Please help .

Original issue reported on code.google.com by joice...@gmail.com on 5 Dec 2012 at 11:46

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?
WORKING IN SOLARIS 
JAVA:
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)

NOT WORKING IN AIX
JAVA:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr9fp1-20110208_03(SR9 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20110203_74
623 (JIT enabled, AOT enabled)
J9VM - 20110203_074623
JIT  - r9_20101028_17488ifx3
GC   - 20101027_AA)
JCL  - 20110203_01

Can anybody give a clue .. 

Original comment by joice...@gmail.com on 6 Dec 2012 at 4:28

GoogleCodeExporter commented 8 years ago
Did you just copy the cliq files from Solaris to AIX?  Are the files in exactly 
the same directory?
The paths are specified in the .sh file and if you moved the files then this 
could be a problem.

You should rerun CLIq on AIX and setup the files again.

Original comment by vijay.swamidass@gmail.com on 10 Dec 2012 at 8:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
yes i copied the CLIq on AIX and rerun it,I tried by giving the jar file name 
and path.But same error :( . Could java environment make any issue ? like 
environment variables (classpath,library,home etc).

Original comment by joice...@gmail.com on 11 Dec 2012 at 3:20

GoogleCodeExporter commented 8 years ago
Hi joice,
have you solved this problem on AIX?

Original comment by marcozz...@gmail.com on 15 Apr 2014 at 1:56

GoogleCodeExporter commented 8 years ago
Hi Marco,
 No , i didn't get a solution till now. I think it is not supported in the AIX version.

Original comment by joice...@gmail.com on 15 Apr 2014 at 2:25

GoogleCodeExporter commented 8 years ago
I submitted a patch for this at: 
https://github.com/forcedotcom/dataloader/pull/54

Original comment by ghatc...@gmail.com on 9 Feb 2015 at 6:22

Attachments: