• Voltum Consulting
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,

We are trying to move Reports from Sandbox to Production, but we got the below error while validating the deployment:

Component Errors:

TestCallResultTrigger.testAssignment(), Details: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED,
 
CallResult; null, Details: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required; Average test coverage across all Apex Classes and Triggers is 0%, at least 75% test coverage is required.
 
Apex Test Failures:
 
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED, EXCLUDED) Cannot read from apex_class and apex_t 
Stack Trace: Class.TestCallResultTrigger.setupTestData: line 57, column 1 Class.TestCallResultTrigger.testAssignment: line 87, column 1

Please find the screenshot below:

User-added image

May we know the reason and how do we rectify this error? We don't see any Flows in Sandbox.

Please let us know for any clarification.
Hi,

We are trying to move Reports from Sandbox to Production, but we got the below error while validating the deployment:

Component Errors:

TestCallResultTrigger.testAssignment(), Details: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED,
 
CallResult; null, Details: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required; Average test coverage across all Apex Classes and Triggers is 0%, at least 75% test coverage is required.
 
Apex Test Failures:
 
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED, EXCLUDED) Cannot read from apex_class and apex_t 
Stack Trace: Class.TestCallResultTrigger.setupTestData: line 57, column 1 Class.TestCallResultTrigger.testAssignment: line 87, column 1

Please find the screenshot below:

User-added image

May we know the reason and how do we rectify this error? We don't see any Flows in Sandbox.

Please let us know for any clarification.
Hi,

We are trying to move Reports from Sandbox to Production, but we got the below error while validating the deployment:

Component Errors:

TestCallResultTrigger.testAssignment(), Details: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED,
 
CallResult; null, Details: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required; Average test coverage across all Apex Classes and Triggers is 0%, at least 75% test coverage is required.
 
Apex Test Failures:
 
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED, EXCLUDED) Cannot read from apex_class and apex_t 
Stack Trace: Class.TestCallResultTrigger.setupTestData: line 57, column 1 Class.TestCallResultTrigger.testAssignment: line 87, column 1

Please find the screenshot below:

User-added image

May we know the reason and how do we rectify this error? We don't see any Flows in Sandbox.

Please let us know for any clarification.