what does it mean by SSS_STATEMENT_COUNT_EXCEEDED?
# suitescript
d
what does it mean by SSS_STATEMENT_COUNT_EXCEEDED?
b
its probably the same thing as the instruction count exceeded
your script is trying to do too much work without yielding
fairly common if your script does binary operations
e
would this get thrown by fieldChanged hooks without
ignoreFieldChange
? (infinite loop)
b
i wouldnt expect it to, the tools to measure that stuff is serverside
you get a different error
d
I've got a calculation running in a loop, so I guess that's causing it?
It's not using any governance though
b
thats exactly what those errors are supposed to detect
d
I can't seem to catch it either, which is annoying ... stops me from gracefully dealing with it
b
not all errors can be caught, especially ones that are thrown by the java application server
in general there are limits to the amount of server resources you can use, the most obvious are goverance points
less obvious are memory or instruction count limits
there are also time limits
s
in my experience, hitting the instruction count exceeded error usually means a programming error of some sort.