You need to sign in to do that
Don't have an account?
Saugandh K
Deployement validation error in MutlipicklistFrequency_PostInstall and PageControllerTestMethods_2
When I give 'Run all test' while deploying the following error occurs.
There is an App 'Multi-Select Picklist Frequency Reports' which is the only related thing I could understand from the error.
This appeared suddenly and I believe I have not worked on any of the following classes. Please guide me to find out the root cause and to solve it.
There is an App 'Multi-Select Picklist Frequency Reports' which is the only related thing I could understand from the error.
This appeared suddenly and I believe I have not worked on any of the following classes. Please guide me to find out the root cause and to solve it.
Issue : List Has No Row For Assignment to SObject
For this you can check you code/ line no and update your code like this:
You have written like this (Which is giving error)
Account a = [select id, name from Account where name = 'test' ];
Instead of using this we should use like that:
List<Account> lstAccount = [select id, name from Account where name = 'test'];
if (lstAccount.size() > 0)
{
Account a = lstAccount.get(0);
}
Please let me know if there is any issue.
Thanks
Niraj