I getting the java.lang.StackOverflowError at my application
interesting section Settings.Integrations event is running smoothly, but Jobs.Sap.GetECommerceMaterials event and similar events is crashing
my application communicates over SOAP and REST with SAP systems, SAP CRM system and Marketplace systems.
Firstly, you’re a few ColdBox updates behind, so run an “update” from CommandBox to pull in the latest. Secondly, the stack looks like you have a circular dependency injection. I added a check in some cases for that in a recent ColdBox update, but decting circular deps isn’t easy so it doesn’t catch everything. Track down your circular dependency and either remove it, or wrap one of them in a provider.
What version of ColdFusion is this? That error looks similar to an error that Coldbox has on Adobe 2018 due to an Adobe bug that will be fixed in update 2. If that is the case, add a CF Mapping in your Application.cfc called “/HTMLHelper” that points to that module inside the coldbox/system folder.
If Brads suggestion does not work you may try increasing the -Xss argument in your jvm config. You should still find and correct the circular dependency but increasing the stack size may get you through your launch.