It's all about the answers!

Ask a question

Why we are getting this StackOverflowError in logs after deploying code in server?

Y Deepak (712) | asked Sep 22, 9:29 a.m.

 Hi Team,

We are implementing functionalities of XYZ workitem by performing integration between two systems  as we have deployed our code in the server ( and after that we are getting errors in our log file, but when we are running the code in our local there is no error.

The error we are getting in the log it is mentioned below:

2023-09-22 09:05:00 ERROR ErrorLogger:2361 - Job (DEFAULT.CreateTask threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception.
at [quartz-2.1.7.jar:?]
at org.quartz.simpl.SimpleThreadPool$ [quartz-2.1.7.jar:?]
Caused by: java.lang.StackOverflowError
at<init>( ~[classes/:?]

Can you please assist on this issue?

Ralph Schoon commented Sep 22, 10:06 a.m. | edited Sep 22, 10:18 a.m.

 If you create your own code, there is no service to debug that for you. Especially if the information provided is as lacking as yours is. There is pretty much no information in your question. Back in the day, I have tried to write up what I would expect in the question: How should I ask a question in the Forum if I want to receive useful answers?

Also it is your code that throws the exception, I would suggest to use the available means to remote debug your code and enhance logging and exception handling so you can understand what goes wrong.

Ralph Schoon commented Sep 22, 10:40 a.m. | edited Sep 22, 10:44 a.m.

PS: Stack overflow is usually happening if the function calls do not terminate and functions call themselves. For example create a work item due to some event and that causes the same event, which triggers creation of a new work item and so forth.

Since you do not explain what you do, why etc, no way of telling. 

Be the first one to answer this question!

Register or to post your answer.