[
https://issues.jboss.org/browse/TEIID-1847?page=com.atlassian.jira.plugin...
]
Van Halbert commented on TEIID-1847:
------------------------------------
No, but looking at similar logic in Teiid, GetUpdatedExecutionImpl, its handling the
exception in the same manner that's at issue in 5.5.4.
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