It's all about the answers!

Ask a question

OutOfBoundsException copying text from Doc artifact


les wilson (7195) | asked Apr 01 '10, 10:31 a.m.
using 2.0.0.1, I created a doc and typed into it over the course of a couple days. Now, after a few sessions, I can no longer copy the text out of it (I could after the first couple sessions). I get a "Copy" did not complete normally" error that says to look in the log for more details. I can't find a View Log or anything in the menus.

3 answers



permanent link
Stef van Dijk (2.0k179) | answered Apr 01 '10, 1:24 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
using 2.0.0.1, I created a doc and typed into it over the course of a couple days. Now, after a few sessions, I can no longer copy the text out of it (I could after the first couple sessions). I get a "Copy" did not complete normally" error that says to look in the log for more details. I can't find a View Log or anything in the menus.


The log would typically be located at:
C:\Documents and Settings\{Windows login id}\IBM\RequirementsComposer\workspace\.metadata\.log

But you can also access it from Help->About Rational Requirements Composer. From the dialog, select Configuration Details and in the resulting dialog, press the View Error Log button.

That said, this actually sounds like a defect which is being fixed in 2.0.0.2 (work item 23303 and related friends).

permanent link
les wilson (7195) | answered Apr 01 '10, 1:41 p.m.
That said, this actually sounds like a defect which is being fixed in 2.0.0.2 (work item 23303 and related friends).


That's good news. I was able to work around it by exporting to Word, then copy out of the Word Viewer. On a lark, I restarted the machine. That cleared the error so it's probably not corrupted data. whew.

epilog: A restart of the machine was only good for one Copy. Next try failed.

Below is the log file

!SESSION 2010-04-01 12:22:47.265 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr5-20090519_35743 (JIT enabled, AOT enabled)
J9VM - 20090519_035743_lHdSMr
JIT - r9_20090518_2017
GC - 20090417_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.ibm.rdm.product.requirements
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.rdm.product.requirements

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:22.843
!MESSAGE NLS unused message: ProjectCreationConstants_classics_cd_description in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:22.843
!MESSAGE NLS missing message: ProjectCreationConstants_classics_cd_descripton in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:24.984
!MESSAGE NLS unused message: Calm_DevFilter in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:24.984
!MESSAGE NLS unused message: Calm_TestFilter in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:24.984
!MESSAGE NLS unused message: RecentActivitySidebarContentComposite_0 in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:53.640
!MESSAGE NLS unused message: DoorsConnectionFigure_RemoveConnection in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:56.453
!MESSAGE NLS unused message: NewCollectionReviewWizardPage_Formal_Description in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:56.453
!MESSAGE NLS missing message: NewDocumentWizardPage_add in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:56.468
!MESSAGE NLS missing message: NewDocumentWizardPage_name in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:56.484
!MESSAGE NLS missing message: ProjectChooser_project in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:56.484
!MESSAGE NLS missing message: FolderChooser_folder in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:56.484
!MESSAGE NLS missing message: TagChooser_tags in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.796
!MESSAGE NLS unused message: Copy_Link in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.812
!MESSAGE NLS unused message: Copy_Web_Link in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.812
!MESSAGE NLS unused message: Created_On in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.828
!MESSAGE NLS unused message: Modified_By in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.843
!MESSAGE NLS unused message: Modified_On in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.859
!MESSAGE NLS unused message: Overview_Artifact_Title in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.875
!MESSAGE NLS unused message: Overview_Loading_Title in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.875
!MESSAGE NLS unused message: Overview_Project_Title in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.937
!MESSAGE NLS unused message: Project in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:23:58.937
!MESSAGE NLS unused message: Project_Members in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:24:14.562
!MESSAGE NLS unused message: ArtifactsListComposite_StatusMessage in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:24:14.562
!MESSAGE NLS unused message: CreateCollectionOperation_Title in: messages

!ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2010-04-01 12:24:27.187
!MESSAGE Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file.

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:24:30.140
!MESSAGE NLS unused message: Calm_AllPassed in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:24:30.140
!MESSAGE NLS unused message: Calm_AllResolved in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:28:59.703
!MESSAGE NLS unused message: SyncToDoorsOperation_Login_Failure_Title in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:28:59.718
!MESSAGE NLS unused message: SyncToDoorsOperation_Login_Failure_Message in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:28:59.718
!MESSAGE NLS unused message: SyncToDoorsOperation_Solution in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:28:59.718
!MESSAGE NLS unused message: SyncToDoorsOperation_DatabaseHasChanged_Title in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:28:59.734
!MESSAGE NLS unused message: SyncToDoorsOperation_DatabaseHasChanged_Message in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:28:59.734
!MESSAGE NLS unused message: SyncToDoorsOperation_DatabaseHasChanged_Error in: messages

!ENTRY org.eclipse.osgi 2 1 2010-04-01 12:28:59.765
!MESSAGE NLS unused message: EditConnectionWarning in: messages

!ENTRY org.eclipse.ui 4 0 2010-04-01 12:29:44.906
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=19, size=18
at org.eclipse.emf.common.util.BasicEList.remove(BasicEList.java:939)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doRemove(NotifyingListImpl.java:762)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:743)
at com.ibm.rdm.ui.richtext.commands.SmartCopier.stripNodes(SmartCopier.java:83)
at com.ibm.rdm.ui.richtext.commands.SmartCopier.copy(SmartCopier.java:111)
at com.ibm.rdm.ui.richtext.actions.CopyTextAction.run(CopyTextAction.java:71)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:230)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.ibm.rdm.ui.application.ReqComposerApplication.start(ReqComposerApplication.java:122)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

permanent link
Stef van Dijk (2.0k179) | answered Apr 01 '10, 4:49 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Restarting the machine has no affect on this defect. When you receive the error, you should probably exit the editor as I can't be sure of the state of the document at that point. Specific to the error, it has to do with the location of the selected text relative to the overall document and that the selection spans lines.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.