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
Andrew DIAndrew DI 

Change Set issue during/after Deployment

Change Set is validated succesfully.

Change Set is deployed succesfully.

But during this process and after we have some errors like

'trigger body is invalid and failed recompilation: Dependent class is invalid and needs recompilation:'

 

I understand when you are working on code in sandbox. But I validated Change Set. How we can have this error after validation?

 

Also, while we were having those errors when I went to 'Compile all classes" I had a 'line -1, column -1: Internal Salesforce.com error: 1241187738-6285 (-1059396970)' error.

 

What is this?

 

My assumption is that I missed a class/triggere which I refactored and forget to include in Change Set. But how come I had Change Set validated succesfully?

AsitM9AsitM9

there may be  some invalid code in your test class. 

 

@istest(callout=true)
public class A{
}

 

Andrew DIAndrew DI
If so, how it was validated in production?
Satish_SFDCSatish_SFDC

For the internal Server Error, you would have to create a salesforce case, so support can check what exactly caused this error.

 

Regards,

Satish Kumar

AsitM9AsitM9

in the previous version's the checking was soft. In our case same thing was  happened.

If you edit the class with that error after that you can't save it.

Andrew DIAndrew DI
I can't edit anything in production, it's forbidden.
I can in sandbox. But everything is OK there. And by the way, now everything is working OK without performing any actions.
Really weird...