• Shishir
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi Experts,

It Looks like i am battle with some interface implentation issue here!
I am getting the error:

Area java.lang.ClassCastException: com.sforce.soap.enterprise.sobject.impl.SObjectImpl cannot be cast to com.sforce.soap.enterprise.sobject.Account

From doing the following;
Code:
Account obj = (Account)sObjects[j];

Closely look at the trace reveals that, the Account and SObject interface and implementation classes in the packages;
com.sforce.soap.enterprise.sobject and
com.sforce.soap.enterprise.sobject.impl
Are not doing the job when deployed to the webservice server and hence the ClassCastException.

Do anyone know if this is a bug or something missing in my application!


Pls. Hlp.:smileysad: