Project: Eclipse_Platform_UI
Bug 194917 stack overflow error from working set management
Reported: 2007-06-29 10:10:30 | Status: verified fixed

stack overflow error on saving newly created bugzilla task. Error dialog said something strange about adding entry to the working set. -- Error Log -- Date: Fri Jun 29 10:05:52 EDT 2007 Message: task activity listener failed: org.eclipse.mylyn.internal.tasks.ui.workingsets.TaskWorkingSetUpdater@1d8c046 Severity: Error Plugin ID: org.eclipse.mylyn Stack Trace: java.lang.StackOverflowError at com.sun.org.apache.xerces.internal.dom.ParentNode.getLength(ParentNode.java:720) at org.eclipse.ui.XMLMemento.getChildren(XMLMemento.java:224) at org.eclipse.ui.internal.AggregateWorkingSet.restoreWorkingSet(AggregateWorkingSet.java:199) at org.eclipse.ui.internal.AbstractWorkingSet.getElementsArray(AbstractWorkingSet.java:151) at org.eclipse.ui.internal.AbstractWorkingSet.getElements(AbstractWorkingSet.java:139) at org.eclipse.ui.internal.AggregateWorkingSet.constructElements(AggregateWorkingSet.java:83) at org.eclipse.ui.internal.AggregateWorkingSet.restoreWorkingSet(AggregateWorkingSet.java:212) at org.eclipse.ui.internal.AbstractWorkingSet.getElementsArray(AbstractWorkingSet.java:151) at org.eclipse.ui.internal.AbstractWorkingSet.getElements(AbstractWorkingSet.java:139) at org.eclipse.ui.internal.AggregateWorkingSet.constructElements(AggregateWorkingSet.java:83) at org.eclipse.ui.internal.AggregateWorkingSet.restoreWorkingSet(AggregateWorkingSet.java:212) at org.eclipse.ui.internal.AbstractWorkingSet.getElementsArray(AbstractWorkingSet.java:151) at org.eclipse.ui.internal.AbstractWorkingSet.getElements(AbstractWorkingSet.java:139) ....

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkingSet.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/AggregateWorkingSet.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchMessages.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/IAggregateWorkingSetTest.java