Nullable error is back after years of absence

Causing some issues for us, and I can’t seem to find a reason why. Some jobs won’t schedule a due date / start date out of the purple. I can get it to manually schedule if I leave the scheduler as Backward with no checkboxes. We generally run it with Override Material Constraints, and when I check that box this error occurs:

image

No BPM’s that should be affecting it, nothing new I can think of that would cause this either. I think it was Okay after our 2024.1.10 upgrade, but it could have just been missed by our purchasing and planning team.

No changes to the underlying resources / resource groups / operations on the assemblies either.

Very reminiscent of this problem in the past. I’ll probably skip the line and put this into Epicor directly today but am curious if anyone else is running into this since 2024.1.10?

2 Likes

This post has the code for moveJobitem with the parameters needed.

is there anything in the serverlog before or after the exception that would point to something?

I would slam the scheduling code into a ubaq and see if you can make it fail there.

It doesn’t point to anything directly in the error but does try to do get the calendar on resource group immediately before. But no one has changed anything with the calendar and is the one used across all of the operations of most of our methods so I think it’s a red herring, or something else down that line of method calls

I wonder if I look in SQL if any calendars are empty instead of NULL and if the rest are NULL

Or compare that to scheduling the same job without override constrained to see what is next when it completes.

Really was pretty much as the error log says I guess. There was a calendar tied to it at the resource level and the resource group level. Still not sure exactly why that would error it out in such an ambiguous way, but I removed the calendar from it as none of our other resources under that group have a calendar assigned outside the group’s calendar. I’ll see how MRP + the other processes do overnight.

3 Likes