After upgrading to Lucee 126.96.36.199, we started receiving hundreds of these errors in lucee-stderr.XXXX-XX-XX.log:
Exception in thread "Thread-NNNNN" java.lang.NullPointerException
The servers this is happening on eahc send out ~50k emails/day (CFMAIL), and while most emails are still being delivered, a great many are falling through the cracks.
Windows Server 2016 64-bit
I've analyzed this ticket & I couldn't able to reproduce the issue. Mails were working fine for me. Please add detailed description to reproduce the issue it helps me to find out the issue
most likely a concurrency issue that is hard to reproduce, could only happen in a certain JVM implementation.
ATM there are 2 objects that could cause the issue, with 188.8.131.52-SNAPSHOT we will change the code, so the stacktrace will show us which object exatly causes this.
Will inform here asap version is avialble for testing.
fyi, to replicate (184.108.40.206-SNAPSHOT):
i ran one of your tests to create a "bad email" that shows up in the scheduler https://github.com/lucee/Lucee/blob/9d9aff960e6f3eb68ac8d817291c00bc1015b51d/test/tickets/LDEV1537/test2.cfm
then attempted to execute the "failed" mail task, to which I get this exact same NPE exception
I run the above code I'm getting NPE as well.