+ Start a Discussion
Angie YzaguirreAngie Yzaguirre 

Issue with trigger deployment

I have a trigger that was set up way before me and I do not want to delete:
User-added image

I now have a new simple trigger that I'd like to deploy, but I am getting this error code:

TestClass.TestBenchmarkTrigger(), Details: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Due_Date__c]: [Due_Date__c] Class.TestClass.TestBenchmarkTrigger: line 12, column 1

Can anyone see what is happening on line 12 that I need to fix or change??
Shaijan ThomasShaijan Thomas
1. Open TestClass
2. Check method TestBenchmarkTrigger
3. Check the line number here. The error is not from the trigger. 
4. Line number 67 you are updating some object. 
5. Check the object whether it calls the TestClass and Method
Shaijan Thomas
Angie YzaguirreAngie Yzaguirre
Forgive me for being extremely new to Apex, but can you tell me what you mean by Open TestClass?  
Angie YzaguirreAngie Yzaguirre
Is there an Apex Class that I can write on this trigger in order for it to have more than 0% code coverage?