Govardhan07 Super Contributor.
Super Contributor.
98 views

Create timesheet, search timesheet and search resources java.lang.StackOverflowError

Jump to solution

we are facing java.lang.StackOverflowError while Create timesheet, search timesheet and search resources.

 

The complete error is as below.

 

java.lang.StackOverflowError
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:281)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.java:277)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getComponents(ITGCalendarImpl.java:282)
at com.mercury.itg.core.calendar.impl.ITGCalendarImpl.getParentComponents(ITGCalendarImpl.j
 

 

Regards,

Govardhan

0 Likes
1 Solution

Accepted Solutions
Absent Member.. randull Absent Member..
Absent Member..

Re: Create timesheet, search timesheet and search resources java.lang.StackOverflowError

Jump to solution

Hi Govardhan,

 

This happens if the calendar is a parent to itself. Calendars are organized in a hierarchial structure. A calendar can be based on another (parent) calendar.  

 

Example:   When  table kdrv_calendars is queried "US" calendar would be a parent of itself , i.e. a circular dependency was introduced. That is why when PPM tried to load that calendar, it fell into infinite loop trying to resolve the circular dependency.

 

You can fix it doing the following,

 

Back up kdrv_calendars table and then execute this SQL:

 

update kdrv_calendars set parent_calendar_id=2 where calendar_id=20000;

commit;

 

That should fix the problem

Best regards,
Randall

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
3 Replies
Absent Member.. randull Absent Member..
Absent Member..

Re: Create timesheet, search timesheet and search resources java.lang.StackOverflowError

Jump to solution

Hi Govardhan,

 

This happens if the calendar is a parent to itself. Calendars are organized in a hierarchial structure. A calendar can be based on another (parent) calendar.  

 

Example:   When  table kdrv_calendars is queried "US" calendar would be a parent of itself , i.e. a circular dependency was introduced. That is why when PPM tried to load that calendar, it fell into infinite loop trying to resolve the circular dependency.

 

You can fix it doing the following,

 

Back up kdrv_calendars table and then execute this SQL:

 

update kdrv_calendars set parent_calendar_id=2 where calendar_id=20000;

commit;

 

That should fix the problem

Best regards,
Randall

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
mike_se Contributor.
Contributor.

Re: Create timesheet, search timesheet and search resources java.lang.StackOverflowError

Jump to solution

Hi Gorvardhan,

 

7.5 is no longer supported, so upgrade to one of the supported versions (9.1 or 9.2).

 

Below is a KCS article that may help.

 

We have seen this when a Calendar gets put in to a circular dependency.

 

-Mike

 

KM449320

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Govardhan07 Super Contributor.
Super Contributor.

Re: Create timesheet, search timesheet and search resources java.lang.StackOverflowError

Jump to solution

Thanks for your suggestions, what may be the reason behind this problem, how automatically the calendar is updated like parent to itself.

 

Thanks,

Govardhan

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.