You need to sign in to do that
Don't have an account?

Internal Salesforce Error while trying to delete records using batch Apex
10:29:01.602 (147602972910)|SYSTEM_METHOD_EXIT|[218]|LIST<Account_Territory__c>.add(Object)
10:29:01.602 (147602978431)|SYSTEM_METHOD_ENTRY|[216]|system.ListIterator.hasNext()
10:29:01.602 (147602986344)|SYSTEM_METHOD_EXIT|[216]|system.ListIterator.hasNext()
10:29:01.603 (147603015860)|SYSTEM_CONSTRUCTOR_ENTRY|[224]|<init>()
10:29:01.603 (147603044944)|SYSTEM_CONSTRUCTOR_EXIT|[224]|<init>()
10:29:01.603 (147603054198)|SYSTEM_METHOD_ENTRY|[225]|LIST<Account_Territory__c>.isEmpty()
10:29:01.603 (147603069413)|SYSTEM_METHOD_EXIT|[225]|LIST<Account_Territory__c>.isEmpty()
10:29:01.603 (147603376705)|SYSTEM_METHOD_ENTRY|[226]|Database.delete(LIST<SObject>, Boolean)
10:29:01.603 (147603403830)|DML_BEGIN|[226]|Op:Delete|Type:Account_Territory__c|Rows:2000
10:46:41.895 (1207895617727)|DML_END|[226]
The log ends here and shows Internal Salesforce error.. is there any wrong with line 226??

10:29:01.602 (147602978431)|SYSTEM_METHOD_ENTRY|[216]|system.ListIterator.hasNext()
10:29:01.602 (147602986344)|SYSTEM_METHOD_EXIT|[216]|system.ListIterator.hasNext()
10:29:01.603 (147603015860)|SYSTEM_CONSTRUCTOR_ENTRY|[224]|<init>()
10:29:01.603 (147603044944)|SYSTEM_CONSTRUCTOR_EXIT|[224]|<init>()
10:29:01.603 (147603054198)|SYSTEM_METHOD_ENTRY|[225]|LIST<Account_Territory__c>.isEmpty()
10:29:01.603 (147603069413)|SYSTEM_METHOD_EXIT|[225]|LIST<Account_Territory__c>.isEmpty()
10:29:01.603 (147603376705)|SYSTEM_METHOD_ENTRY|[226]|Database.delete(LIST<SObject>, Boolean)
10:29:01.603 (147603403830)|DML_BEGIN|[226]|Op:Delete|Type:Account_Territory__c|Rows:2000
10:46:41.895 (1207895617727)|DML_END|[226]
The log ends here and shows Internal Salesforce error.. is there any wrong with line 226??