function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Samy.SaiedSamy.Saied 

System.UnexpectedException: Salesforce System Error: 1705006492-5272 (-1190835780) (-1190835780)

Hi,

 

I am trying to use the new feature in Winter Release 13 (Test.LoadData) but I keep receiving this error:

System.UnexpectedException: Salesforce System Error: 1705006492-5272 (-1190835780) (-1190835780)

 

All I did is added a CSV as a Static Resource and below is the CSV:

of_Expected_Converted_Loans__c,Swap_Curve__c,Missing_converted_loans__c,Loans_prchsd_at_premium_after_Def__c,Total_Amount_to_Snap_Prior_to_Holdback__c,Total_Loans__c,Deferral_Amount__c,Contracts_in_Deferral__c,Indication_Rate_Pricing_Date__c,Tranche_ID_external_ID__c,Tranche_Notes__c,Payment_Holdback__c,of_Loans_w_client_rate_RBC_Rate__c,Purchase_Date__c,In_term_Amount__c,Final_FTP_Diff_Max__c,PSA_Date__c,of_Converted_Loans__c,Windows_and_Doors__c,Holdback_Collected_on_Prior_Purchase__c,Weighted_Average_Bureau_Score__c,of_Loans_without_FTP_Indication__c,Name,of_Loans_without_LTFP_Indication__c,Face_Value_of_Converted_Deferrals__c,of_Loans_expected_for_repurchase__c,Weighted_Avg_Rate_for_Deferral_Loans__c,Total_of_Contracts__c,FTP_Output__c,FTP_Date__c,Final_FTP_Diff_Min__c,of_Loans_without_Final_FTP_Actual__c,Premium__c,FTP_Process_Date__c,Net_Amount_to_Snap__c,Stage_Owner__c,Stage__c,of_Loans_older_than_6_months__c,Weighted_Avg_Disc_Rate_for_loan_in_RPay__c,Below_620_Bureau_Score__c,Tranche_contains_rejected_Loans__c,Total_Assignment_Amount__c,of_Loans_without_PPayment_Indication__c,Final_FTP_Diff_Avg__c,of_Unexpected_Converted_Loans__c
0,,FALSE,67.29559748,2328286.04,318,711881.56,32.70440252,10/04/2012,,,101242.08,0,16/04/2012,1312958.76,0.0591,,0,18.44434874,67467.41,729.6864676,0,730,0,0,0,4.203527258,318,a0AS0000004uGsTMAU,16/04/2012,-0.1957,0,303445.72,20/04/2012,2294511.37,,Stage 1: Review,46,5.417701104,6.315508869,FALSE,2024840.32,0,-0.102136164,318

 

And here is my code:

 

static testMethod void testFullCycle() {
List<sObject> ls = Test.loadData(Tranche__c.sObjectType, 'TestData_01_01_Tranche');
insert ls;

}

 

The error is reported in the first line of the function. I don't know what exactly is the problem, so if anyone can help?

askmikemaskmikem

Did you ever resolve this one?  I am having the same issue.  My first thought is that it has to do with look-up fields.  How'd you get around this one?

Samy.SaiedSamy.Saied

I believe it was never solved, but if I recall right, there was some limitation to what data types to be used.

Andrew B. DavisAndrew B. Davis
Your data CSV should not contain any columns (fields) that are formula fields or system defined fields. Such fields are not writable and may generate an error when you attempt an import. Remove those fields and re-attempt.