[jboss-jira] [JBoss JIRA] Created: (JBPM-776) invalid business calendar properties lead to java.lang.StackOverflowError
Bernd Ruecker (JIRA)
jira-events at jboss.com
Thu Nov 9 13:34:41 EST 2006
invalid business calendar properties lead to java.lang.StackOverflowError
-------------------------------------------------------------------------
Key: JBPM-776
URL: http://jira.jboss.com/jira/browse/JBPM-776
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.1.1
Reporter: Bernd Ruecker
Assigned To: Tom Baeyens
Priority: Minor
if I configure the business calendar like this
weekday.monday= 8:00-12:30 & 13:30-24:00
I do not get any error-message but a exception
Caused by: java.lang.StackOverflowError
at sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(BaseCalendar.java:415)
at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2055)
at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1970)
at java.util.Calendar.setTimeInMillis(Calendar.java:1066)
at java.util.GregorianCalendar.<init>(GregorianCalendar.java:576)
at java.util.GregorianCalendar.<init>(GregorianCalendar.java:541)
at org.jbpm.calendar.BusinessCalendar.getCalendar(BusinessCalendar.java:153)
at org.jbpm.calendar.BusinessCalendar.findStartOfNextDay(BusinessCalendar.java:85)
at org.jbpm.calendar.Day.findNextDayPartStart(Day.java:81)
at org.jbpm.calendar.DayPart.add(DayPart.java:91)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
at org.jbpm.calendar.DayPart.add(DayPart.java:95)
Not a big deal, I think. But a quick look in the sources was not enough for me to provide a patch
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list