Wednesday, June 22, 2016

25 Basic Deployment or Test Classes Issues During Deployment in Salesforce

1.System.DmlException: ConvertLead failed. First exception on row 0; first error: ENTITY_IS_DELETED, entity is deleted: []

2.System.NullPointerException: Argument 1 cannot be null

3.System.LimitException: Too many SOQL queries: 101

4.System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, SampleTrigger: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0 with id a4980000001paQSAAY; first error:

5.first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, SampleTrigger: execution of AfterUpdate caused by: System.NullPointerException: Attempt to de-reference a null object Trigger.SampleTrigger: line 181, column 1: [] Trigger.ChildTrigger: line 85, column 1 Trigger.ChildTrigger: line 50, column 1: []

6.System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, OrderRequest: execution of AfterInsert caused by: System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: [] Trigger.OrderRequest: line 81, column 1: []

7.System.LimitException: Too many query rows: 50001

8.No such column 'Unique_Key__c' on entity 'End_Date_Ruleset__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

9.This custom field is referenced elsewhere in salesforce.com. : Field Updates.

10.Field Project_Quarter__c does not exist. Check spelling.

11.In field: field - no CustomField named Job_Profile__c.ID_to_get_cluster_value__c found

12.An object 'Lead-ETS/WMI Lead Page Layout' of type Layout was named in package.xml, but was not found in zipped directory

13.An object 'Lead.IsUKCreatedLead__c' of type CustomField was named in package.xml, but was not found in zipped directory

14.System.DmlException: ConvertLead failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, System.DmlException: Update failed. First exception on row 0 with id 00Q8000001e17G8EAI; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, UpdateAcctShippingAddr: execution of AfterUpdate caused by: System.LimitException: Too many SOQL queries: 101

15.Fatal Error null: The changes you requested require salesforce.com to temporarily lock your organization's administration setup. However, the administration setup has already been locked by another change. Please wait for the previous action to finish, then try again later.

16.Invalid field Billing_Email__c for SObject Account

17.System.QueryException: List has no rows for assignment to SObject

18.Stack Trace: Class.SendEmailQuote.generateEmailBody: line 941, column 1 Class.SendEmailQuote.<init>: line 151, column 1 Class.TestSendEmailQuote.Test1: line 73, column

19.Cannot update a field to a Lookup, MasterDetail, or Hierarchy from something else

20.Apex class 'QuoPDF_US' does not exist

21.Dependent class is invalid and needs recompilation: QuoPDF_US: line 58, column 20: Invalid type: Sales_Cond_Type__c

22.Invalid type: Sales_Type__c

23. new_quote does not exist or is not a valid override for action New.

24. Field is not writeable: Service_Order__c.CreatedById

25. Code Coverage Failure Your code coverage is 74%. You need at least 75% coverage to complete this deployment.


Thanks for visiting...Enjoy!

No comments: