Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338262 - StringIndexOutOfBoundsException when removing parent/version
Summary: StringIndexOutOfBoundsException when removing parent/version
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Tatavu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 14:22 EST by Paul Tatavu CLA
Modified: 2021-04-19 13:25 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 Paul Tatavu CLA 2011-02-25 14:22:32 EST
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1937) ~[na:1.6.0_20]
	at org.eclipse.m2e.core.ui.internal.editing.PomEdits.removeChild(PomEdits.java:248) ~[org.eclipse.m2e.core.ui/:na]
	at org.eclipse.m2e.editor.pom.MavenPomEditorPage$10$1.process(MavenPomEditorPage.java:561) ~[na:na]
	at org.eclipse.m2e.core.ui.internal.editing.PomEdits.performOnDOMDocument(PomEdits.java:368) ~[org.eclipse.m2e.core.ui/:na]
	at org.eclipse.m2e.editor.pom.MavenPomEditorPage$10.modifyText(MavenPomEditorPage.java:552) ~[na:na]
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2599) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4647) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4510) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4933) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2417) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4601) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Text.windowProc(Text.java:2243) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4946) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2523) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3713) [org.eclipse.swt.win32.win32.x86_3.7.0.v3721b.jar:na]
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2697) [org.eclipse.ui.workbench_3.7.0.I20110127-0800.jar:na]
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2661) [org.eclipse.ui.workbench_3.7.0.I20110127-0800.jar:na]
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2495) [org.eclipse.ui.workbench_3.7.0.I20110127-0800.jar:na]
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) [org.eclipse.ui.workbench_3.7.0.I20110127-0800.jar:na]
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) [org.eclipse.core.databinding.observable_1.3.0.I20100824-0800.jar:na]
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) [org.eclipse.ui.workbench_3.7.0.I20110127-0800.jar:na]
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) [org.eclipse.ui.workbench_3.7.0.I20110127-0800.jar:na]
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) [org.eclipse.ui.ide.application_1.0.300.I20101206-1300.jar:na]
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) [org.eclipse.equinox.app_1.3.100.v20110110.jar:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) [org.eclipse.osgi_3.7.0.v20110124-0830.jar:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) [org.eclipse.osgi_3.7.0.v20110124-0830.jar:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) [org.eclipse.osgi_3.7.0.v20110124-0830.jar:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) [org.eclipse.osgi_3.7.0.v20110124-0830.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_20]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_20]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_20]
	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_20]
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) [org.eclipse.equinox.launcher_1.2.0.v20110124-0830.jar:na]
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) [org.eclipse.equinox.launcher_1.2.0.v20110124-0830.jar:na]
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410) [org.eclipse.equinox.launcher_1.2.0.v20110124-0830.jar:na]
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386) [org.eclipse.equinox.launcher_1.2.0.v20110124-0830.jar:na]
Comment 3 Denis Roy CLA 2021-04-19 13:25:12 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/