Actions
Bug #1920
closedStringIndexOutOfBoundsException in DeltaProcessor.isAbsorbed()
Start date:
10/19/2011
Due date:
% Done:
100%
Estimated time:
Detected in build:
0.13.119
Platform:
Published in build:
0.13.123
Description
При попытке изменить имя, а потом идентификатор получил exception. После этого с требованием ничего сделать не удается, похоже, т.к. имя файла в ФС уже изменилось, а Requality он фигурирует со старым.
eclipse.buildId=M20110210-1200 java.version=1.6.0_22 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.linuxtools.product Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.linuxtools.product Error Wed Oct 19 13:46:04 CEST 2011 Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". java.lang.StringIndexOutOfBoundsException: String index out of range: 22 at java.lang.String.substring(String.java:1946) at com.unitesk.requality.eclipse.core.DeltaProcessor.isAbsorbed(DeltaProcessor.java:166) at com.unitesk.requality.eclipse.core.DeltaProcessor.findNodeMove(DeltaProcessor.java:154) at com.unitesk.requality.eclipse.core.DeltaProcessor.processDelta(DeltaProcessor.java:97) at com.unitesk.requality.eclipse.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:57) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181) at org.eclipse.core.internal.resources.Resource.move(Resource.java:1614) at org.eclipse.core.internal.resources.Resource.move(Resource.java:1565) at com.unitesk.requality.eclipse.core.ResourceStorage.changeNodeId(ResourceStorage.java:265) at com.unitesk.requality.core.TreeNode.setId(TreeNode.java:73) at com.unitesk.requality.nodetypes.Requirement.setId(Requirement.java:125) at com.unitesk.requality.eclipse.views.properties.MainPropertySection$2.focusLost(MainPropertySection.java:120) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:3391) at org.eclipse.swt.widgets.Control.gtk_event_after(Control.java:2760) at org.eclipse.swt.widgets.Text.gtk_event_after(Text.java:1308) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1738) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4796) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4360) at org.eclipse.swt.internal.gtk.OS._gtk_widget_grab_focus(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_widget_grab_focus(OS.java:12693) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2170) at org.eclipse.swt.widgets.Composite.forceFocus(Composite.java:526) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2163) at org.eclipse.swt.widgets.Control.setFocus(Control.java:3760) at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1372) at org.eclipse.swt.browser.MozillaDelegate.gtk_event(MozillaDelegate.java:124) at org.eclipse.swt.browser.MozillaDelegate.eventProc(MozillaDelegate.java:56) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8189) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1238) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2237) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Updated by Alexey Demakov about 13 years ago
Закрыть-открыть проект/Eclipse помогает?
Updated by Alexey Khoroshilov about 13 years ago
Уточнение.
Я изменил имя требования в Properties View, перешел в поле идентификатора и изменил его в соответствии с именем, потом кликнул в окно броузера.
Updated by Alexey Khoroshilov about 13 years ago
После закрытия и открытия Eclipse всё стало в порядке - Requality обновился.
Updated by Yuriy Shekochihin about 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2404.
Updated by Viktoria Kopach about 13 years ago
- Status changed from Resolved to Verified
Updated by Alexey Khoroshilov over 12 years ago
- Status changed from Verified to Closed
Actions