Bug 94077 - IndexOutOfBounds applying patch
Summary: IndexOutOfBounds applying patch
Status: RESOLVED FIXED
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: 3.1 M7   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 94108 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-08 23:12 EDT by Rafael Chaves CLA
Modified: 2005-05-09 09:27 EDT (History)
1 user (show)

See Also:


Attachments
patch that causes the problem (28.10 KB, text/plain)
2005-05-08 23:13 EDT, Rafael Chaves CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Chaves CLA 2005-05-08 23:12:12 EDT
n20050608

Looks a lot like bug 93901, which is supposed to be fixed since n20050607. Note
that the patch (will attach) that causes the problem was created using n20050606.

!ENTRY org.eclipse.ui 4 0 2005-05-08 23:01:34.346
!MESSAGE Index: 1, Size: 0
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
	at java.util.ArrayList.add(Unknown Source)
	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)
...
Comment 1 Rafael Chaves CLA 2005-05-08 23:13:31 EDT
Created attachment 20818 [details]
patch that causes the problem
Comment 2 Andre Weinand CLA 2005-05-09 08:35:10 EDT
fixed for I20050509
Comment 3 Andre Weinand CLA 2005-05-09 09:27:06 EDT
*** Bug 94108 has been marked as a duplicate of this bug. ***