Hi ,
I am trying with salesforce adapter but I am facing the problem while importing the metadata.
I am getting the error like this .
Cannot browse external metadata for adapter instance<Salesforce_Test> at <VENKATA-PC:3500>.
<Can't browse adapter metadata.
Could not obtain root objects (Adapter:'Salesforce_Test')..(BODI-1112008).
Possible reasons:
1. Cannot start adapter instance.
2. Job Server is not started.
3. Adapter data store is not adjusted after import.
4. Adapter was shutdown but not restarted yet (BODI-1112326).
I started the adapter instance and it is running with green color.
Job server is started
This is the first time trying to import .
Adapter is running .
I successfully created the the salesforce account and created sample task also.
I created the adapter datastore with required credentials successfully.
But i don't know why I am facing this problem.
Please find the below adapter's trace log.
8/27/13 4:44:55 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
8/27/13 4:44:57 PM Thread[Thread-10,5,main] Stopping the Salesforce.com session
8/27/13 4:45:01 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
8/27/13 4:45:03 PM Thread[Thread-10,5,main] Stopping the Salesforce.com session
8/27/13 4:45:39 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
8/27/13 4:48:28 PM Thread[Thread-18,5,main] Stopping the Salesforce.com session
8/27/13 4:48:29 PM Thread[Thread-10,5,main] Error browsing root nodes. Xml generated so far: []. java.lang.NullPointerException
at com.acta.adapter.salesforce.metadata.SForceBrowsing.getRootNodes(SForceBrowsing.java:77)
at com.acta.adapter.sdk.AdapterRunnerImpl.processBrowseRoot(AdapterRunnerImpl.java:2374)
at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:106)
at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:448)
at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1600)
at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
8/27/13 4:48:47 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
8/27/13 4:49:28 PM Thread[Thread-10,5,main] Stopping the Salesforce.com session
8/27/13 4:49:30 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
8/27/13 4:49:41 PM Thread[Thread-10,5,main] Stopping the Salesforce.com session
8/27/13 4:49:44 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
8/27/13 4:50:12 PM Thread[Thread-10,5,main] Stopping the Salesforce.com session
8/27/13 4:57:09 PM Thread[Thread-10,5,main] Starting the Salesforce.com session
Please find the below adapter's error log.
27/13 4:48:29 PM Error browsing root nodes. Xml generated so far: []. java.lang.NullPointerException
at com.acta.adapter.salesforce.metadata.SForceBrowsing.getRootNodes(SForceBrowsing.java:77)
at com.acta.adapter.sdk.AdapterRunnerImpl.processBrowseRoot(AdapterRunnerImpl.java:2374)
at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:106)
at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:448)
at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1600)
at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
Please help me how to resove this problem .
Thanks & Regards,
Ramana.