Bug 94108 - Index out of bounds applying patch
Summary: Index out of bounds applying patch
Status: RESOLVED DUPLICATE of bug 94077
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 09:03 EDT by Darin Wright CLA
Modified: 2005-05-09 09:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2005-05-09 09:03:39 EDT
Using N20050509-0010, I attempted to apply the patch in bug 74559 to 
org.eclipse.debug.ui in HEAD and got this exception:

!ENTRY org.eclipse.ui 4 0 2005-05-09 07:57:35.234
!MESSAGE Index: 1, Size: 0
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
	at java.util.ArrayList.add(ArrayList.java:403)
	at org.eclipse.compare.internal.patch.Patcher.doPatch(Patcher.java:733)
	at org.eclipse.compare.internal.patch.Patcher.patch(Patcher.java:620)
	at org.eclipse.compare.internal.patch.Patcher.patch(Patcher.java:607)
	at org.eclipse.compare.internal.patch.Patcher.apply(Patcher.java:897)
	at org.eclipse.compare.internal.patch.PreviewPatchPage.updateTree
(PreviewPatchPage.java:595)
	at org.eclipse.compare.internal.patch.PreviewPatchPage.buildTree
(PreviewPatchPage.java:514)
	at org.eclipse.compare.internal.patch.PreviewPatchPage.setVisible
(PreviewPatchPage.java:131)
	at org.eclipse.jface.wizard.WizardDialog.updateForPage
(WizardDialog.java:1030)
	at org.eclipse.jface.wizard.WizardDialog.access$2
(WizardDialog.java:1013)
	at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1003)
	at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
	at org.eclipse.jface.wizard.WizardDialog.showPage
(WizardDialog.java:1001)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed
(WizardDialog.java:753)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:345)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
	at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:89)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2901)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2534)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:803)
	at org.eclipse.jface.window.Window.open(Window.java:781)
	at org.eclipse.compare.internal.patch.CompareWithPatchAction.run
(CompareWithPatchAction.java:65)
	at org.eclipse.compare.internal.BaseCompareAction.run
(BaseCompareAction.java:26)
	at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:246)
	at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:538)
	at org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent
(ActionContributionItem.java:400)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2901)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2534)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:315)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:103)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:230)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:345)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:158)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:328)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:272)
	at org.eclipse.core.launcher.Main.run(Main.java:974)
	at org.eclipse.core.launcher.Main.main(Main.java:950)
Comment 1 Andre Weinand CLA 2005-05-09 09:27:05 EDT

*** This bug has been marked as a duplicate of 94077 ***