You need to sign in to do that
Don't have an account?
CLK
System.TypeException: Invalid conversion from runtime type SET<String> to SET<Id>
System.TypeException: Invalid conversion from runtime type SET<String> to SET<Id>
getting this error when trying to test future method which takes parameter of SET<ID> and i am passing
SET<ID> only.
I dont know whay it happening, can anybody knows it.
Post your code.
The obvious answer is that, regardless of what you think, you are not actually using Set<Id>, but actually Set<String>. So, I'd recheck your assumptions. Or, perhaps it's complaining about some other bit of code than you think it's complaining about. Either way, can't do much without code.
Best, Steve.
that was Salesforce bug and fixed automatically.
It happen with salesforce's java implementation.
thanks