NullReferenceException at Schedule.ClockUpdateSolved
I don't know why this is happening. Another dev is going to have to help.

currentRuleSet = se.ruleSet;
message = se.message;

se is null, causing the NRE.

I've tried several times to fix this and just can't figure it out.

Merged post

I've added a null check in 1.1.4 but I don't believe this will fix the issue.
Hi Nivex.

So that null check you added in 1.1.4 now negates any rules. And tracing seems to break. Changing the currentRuleSet = se?.ruleSet; on line 1758 back to currentRuleSet = se.ruleSet; seems to fix it but the DynamicPVP plugin then causes the NRE again. I'm going to see if I can help troubleshoot the issue. I'm going to start with how DynamicPVP uses AddOrUpdateMapping. I have no NRE's with any mappings created manually, only the ones added dynamically it seems.
Ya, I know. Unfortunately i dont know how to resolve it. So thanks for helping 
Hello @nivex , it would be wise to correct this error first before updating the plugin. First find a solution and then update. Thank you all, knowing that I am also trying to find a solution, a fix, to this problem.
It would be wise, but I'm not going to stop updating just because I'm not able to fix an issue. I've already asked for help, and I'm still trying to come up with a solution myself. So I'm not abandoning the issue. Thank you for understanding 

The solution to the user is to either 1) not use the new version or 2) find an alternative. A solution to the issue will be found

Merged post

To note, I've debugged the relevant code to determine where the error occurs. That's why a null check was added there. I realize its not the solution, and I've made mention of this in the update notes. Hopefully you're able to determine how to solve this. I'm at a loss because there isn't a distinction in the code that gives any hint to why this happens. I've also went so far as to disable each new feature to see if it makes a difference, to no avail. So in my opinion, the solution is likely a very simple one once determined
ok not my plugin but I want to help. I don't have a solution...yet...(I haven't had time lately to fully investigate) but I do know that the problem SEEMS to come from DynamicPVP. With DynamicPVP loaded and TruePVE set to run on a schedule you get NRE or the TruePVE rules are ignored entirely because of the null check in TruePVE. If you disable the schedule in TruePVE or unload DynamicPVP the issue seems to be resolved temporarily. This has been my workaround every week since this started.

My gut is telling me the issue is with DynamicPVP and how it interacts with TruePVE. So that's where I'm going to focus my efforts hunting for this error. If anyone has any other discoveries to share please do so we can figure this out. Thanks.
Locked automatically