Why we are getting this StackOverflowError in logs after deploying code in server?
Hi Team,
We are implementing functionalities of XYZ workitem by performing integration between two systems as we have deployed our code in the server (6.0.6.1) 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 org.quartz.core.JobRunShell.run(JobRunShell.java:224) [quartz-2.1.7.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz-2.1.7.jar:?]
Caused by: java.lang.StackOverflowError
at org.eclipse.lyo.oslc4j.enovia.services.WorkItemServices.<init>(WorkItemServices.java:134) ~[classes/:?]
org.quartz.SchedulerException: Job threw an unhandled exception.
at org.quartz.core.JobRunShell.run(JobRunShell.java:224) [quartz-2.1.7.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz-2.1.7.jar:?]
Caused by: java.lang.StackOverflowError
at org.eclipse.lyo.oslc4j.enovia.services.WorkItemServices.<init>(WorkItemServices.java:134) ~[classes/:?]
Can you please assist on this issue?
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 22 '23, 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?
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 22 '23, 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.