Does anyone have a clear understanding of why SSS_...
# suitescript
d
Does anyone have a clear understanding of why SSS_SCRIPT_DESERIALIZATION_FAILURE occurs in a scheduled script when restarting after a yield? Trying to debug someone else's scripting which has run for years and suddenly started doing this overnight.
b
nlapiYieldScript go through all the important memory related notes
d
Looks like it may have been an instance of nlapiLoadRecord open at the point of yielding causing the issue. Nullifying it before yielding the script now resumes. Why this has suddenly started to cause an issue after 7-8 years is a bit puzzling.
b
usually you want to yield at a convenient place rather than when you are about to run out of points
otherwise you have to deal with unlucky yield locations causing these sort of errors
d
The whole script (and wider process it involves) is a complete basket case created by our Netsuite Partner when we first went live.
b
in their defense, nlapiYieldScript was basically new at that time and the problems associated with it unknown
that said, you should always start planning on replacing scripts if your partner no longer maintains it
d
I'm slowly replacing everything they've done with SS2.0 and M/R where possible, but they created 100s of scripts and some nightmare issues with interconnected processes, so it's slow going.
b
i hope you have help, 100s sounds absurd for 1 person