Strange event log messages "Cancelling from .ctor"

The messages seem to occur at the same time as our nightly MRP run is executing. There are 100s of these messages, with one being generated every 1 or 2 seconds.

Has anyone else seen these?

Can I say ignore them? I’d have to find the internal thread but @Epic_Santiago can probably confirm. I remember this going by. It does not represent a problem except unneeded and unwanted clogging of the event log with messages that should not be there. My understanding is you can ignore this and should be got in most recent versions - I think.

This has previously been reported internally. The message text is misleading but what it indicates is that a scheduled task has been terminated.

1 Like

Trouble is when you have an event log filled with 100s or 1000s of pointless messages one is more likely to miss the important ones.

Is this to be fixed in future Epicor releases.??

I should clarify that the issue that has been reported is that the message text is incorrect. Improving that text will be fixed in an upcoming release although I can’t confirm which yet.

Even with the new text however, the messages will still be logged. They indicate that tasks are being cancelled. If that is unexpected, that would be a separate issue that needs to be looked into. I’m not an MRP expert but I can ask some colleagues about that.

2 Likes

I did a quick sanity check with a colleague and it is not expected that task should be getting cancelled during a normal run of MRP. So while the message text will be fixed in an upcoming release, you appear to be experiencing a separate issue with cancelled tasks. I suggest you open a ticket with support to investigate.

What do you mean by ‘cancelled tasks’?
Is this related to the suggestions that MRP is creating?

An MRP run consists of multiple sub-tasks running in parallel. These messages indicate that some of these sub-tasks are getting cancelled. I don’t know what the cause is and I’m not an MRP expert. Perhaps the task agent is stopping before the MRP run completes?

1 Like

I get thousands of “Cancelling from ctor” messages in the event log from the MRP run every night. It’s been going on for several years. I’ve posted to forums and an Epicor Case, but never got any explanation or solutions. On the strength of Santiago’s suggestion, I will submit another case and hope someone can get to the bottom of this.

2 Likes

I am asking our MRP team about this. Having a support ticket to associate with the investigation will go a long way towards prioritizing. Thanks.

I can put in a support ticket too as we are seeing the same events.

Thanks, Santiago.
I submitted CS0001932073 today and CS0001231411 in Nov 2018 for the exact same issue.

2 Likes

Here is the case # assigned CS0001932248 for my issue.

2 Likes

Quick update. The meaningless message text has been fixed and is currently going through QA. It’s on track for the 10.2.600 release but don’t hold me to that.

The root cause of why we are getting the message in the first place during a normal run of MRP is getting looked at next. This is a separate issue.

Thank you to those of you that posted their support case number. This helped prioritize these issues.

3 Likes

We get them too.

Last update on this. Both issues (incorrect error text and cancellation error during normal MRP run) have been fixed and sent to QA. Barring any issues, they will both go out with the 10.2.600 release. As always, don’t hold me to that :slight_smile:

1 Like

#SAFE HARBOR
:wink:

Of course

2 Likes

Will there be a fix for 10.2.400 and 10.2.500??

1 Like

Currently this is scheduled for 10.2.600 only. To request the fix at previous versions, please work with support where the request will be reviewed for approval per usual process.

I am slightly concerned about how that issue was fixed in 10.2.600. Is it simply suppressed? My concern would be if it were some sort a clue to an issue then hiding it would make it harder to troubleshoot certain issues. For example, I see a system where recently the app server has been going offline a lot after an upgrade to 10.2.500.x and in the event viewer all I see are these messages (with no context, no stack). I cannot say that they are related, but what if they are? Are we sure there is no value of seeing these messages?