[teiid-issues] [JBoss JIRA] (TEIID-1847) Salesforce connector does not report UnexpectedErrorFault exceptions correctly when calling getUpdated
Steven Hawkins (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Nov 22 12:14:40 EST 2011
[ https://issues.jboss.org/browse/TEIID-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644831#comment-12644831 ]
Steven Hawkins commented on TEIID-1847:
---------------------------------------
Was this reproduced in Teiid/EDS?
> Salesforce connector does not report UnexpectedErrorFault exceptions correctly when calling getUpdated
> ------------------------------------------------------------------------------------------------------
>
> Key: TEIID-1847
> URL: https://issues.jboss.org/browse/TEIID-1847
> Project: Teiid
> Issue Type: Bug
> Components: Salesforce Connector
> Reporter: Marc Shirley
> Labels: salesforce
>
> When encountering an UnexpectedErrorFault with com.sforce.soap.partner.SoapBindingStub.GetUpdated(), com.metamatrix.connector.salesforce.connection.SalesforceConnection.getUpdated() throws a null error message instead of the message returned from Salesforce. It appears that the getUpdated() method is using java.rmi.RemoteException.getMessage() when it should be using SFDC com.sforce.soap.partner.fault.ApiFault.getExceptionMessage() for "UnexpectedErrorFault" exceptions. Associated stack trace below.
> [Salesforce Connector_1246|9725_Worker_106|0] ERROR <CONNECTOR|0> Connector worker process failed for atomic-request=5707647.13.7.333713
> ConnectorException: Status ERROR: com.metamatrix.core code=0 null
> at com.metamatrix.connector.salesforce.connection.SalesforceConnection.getUpdated(SalesforceConnection.java:737)
> at com.metamatrix.connector.salesforce.execution.GetUpdatedExecutionImpl.execute(GetUpdatedExecutionImpl.java:65)
> at com.metamatrix.connector.salesforce.execution.ProcedureExecutionParentImpl.execute(ProcedureExecutionParentImpl.java:86)
> at com.metamatrix.dqp.internal.datamgr.impl.ConnectorWorker.processNewRequest(ConnectorWorker.java:275)
> at com.metamatrix.dqp.internal.datamgr.impl.ConnectorWorker.process(ConnectorWorker.java:141)
> at com.metamatrix.common.queue.QueueWorker.run(QueueWorker.java:64)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list