Project inaccessible - String index out of range: -1 error
Hi all,
Got a problem with RRC 2.0. Created a project, added some artifacts, added team members in other roles. Out of the blue, the project stopped being loaded in the explorer -- subsequent attempts to load the project (as any user, from multiple machines including on the server itself) result in an error that reads: CRRRC222OE: Cannot open the repository String index out of range: -1 Not all projects are affected this way, just a few and we have no idea what caused this. Reindexing the repository makes no difference. Any suggestions? |
6 answers
Benjamin Silverman (4.1k●6●10)
| answered Dec 10 '09, 12:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would suggest giving this a try.
It seems to describe behavior similar to what you are seeing in 2.0, and may be related to permissions on the project area. Hope it helps, |
Thanks Ben.. I checked on the permissions (and eventually gave everyone all roles) but that didn't seem to fix anything. What was really disturbing was that even as the user who originally created and populated the project, I got this error the next time I logged in.
I would suggest giving this a try. |
Do you get the same response in the rich and web client?
|
I think the web client just hangs at "loading" and doesn't display the project page. I can double-check the next time I go onsite, but I would like to have a solution in mind before I show my face there again. :P
Do you get the same response in the rich and web client? |
Hi vivsuen,
There might have been a problem restoring the state of the project page: the filter criteria that was specfied in the last session, the sorting and grouping options, etc... One thing to try would be to delete the file we store in the Composer workspace on the client's machine which remembers this state. The Composer workspace should be located in a directory like: C:\Documents and Settings\Administrator\IBM\RequirementsComposer\workspace The file you want to delete is in a directory: (Composer worksapce)\.metadata\.plugins\com.ibm.rdm.ui.explorer there will be a .xml file whose name includes the project name. You could delete that one, or it would also be fine to delete all of the files in that directory. If the problem persists after this, please send the file .log in the directory: (Composer worksapce)\.metadata to me (demurray@us.ibm.com) or attach it to a work item and assign to me. |
Hi vivsuen, Hi David i have encountered the above error message. It only surfaced after i proceed with the CALM integration (3 instances of tom cat running on local host). Only the project that i created prior before CALM encountered the error. I have no problem viewing the project from the RRC Web client (but apparently the interface sketch (only document) that i have created is missing). However a new project that i created did not have that problem, i would login from Web Client & Native Client. The .log files last entry looks as followed !ENTRY org.eclipse.jface 4 0 2010-07-01 16:50:23.281 !MESSAGE Unhandled event loop exception during blocked modal context. !STACK 0 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1071) at com.ibm.rdm.tag.Tag.updateURI(Tag.java:123) at com.ibm.rdm.tag.Tag.<init>(Tag.java:84) at com.ibm.rdm.tag.FolderTag.<init>(FolderTag.java:49) at com.ibm.rdm.tag.util.FolderUtil.getRootProjectFolder(FolderUtil.java:308) at com.ibm.rdm.tag.util.FolderUtil.getRootProjectFolder(FolderUtil.java:289) at com.ibm.rdm.ui.explorer.editparts.ProjectEditPart.getAdapter(ProjectEditPart.java:107) at com.ibm.rdm.ui.explorer.actions.ManageRequirementsAction.calculateEnabled(ManageRequirementsAction.java:60) at org.eclipse.gef.ui.actions.WorkbenchPartAction.refresh(WorkbenchPartAction.java:119) at org.eclipse.gef.ui.actions.SelectionAction.handleSelectionChanged(SelectionAction.java:85) at org.eclipse.gef.ui.actions.SelectionAction.setSelection(SelectionAction.java:96) at org.eclipse.gef.ui.actions.SelectionAction.update(SelectionAction.java:115) at com.ibm.rdm.ui.explorer.RepositoryExplorer.updateActions(RepositoryExplorer.java:867) at com.ibm.rdm.ui.explorer.RepositoryExplorer$7.selectionChanged(RepositoryExplorer.java:594) at org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:243) at org.eclipse.gef.ui.parts.TreeViewer.fireSelectionChanged(TreeViewer.java:161) at org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:129) at org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:115) at org.eclipse.gef.SelectionManager.setSelection(SelectionManager.java:230) at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setSelection(AbstractEditPartViewer.java:729) at org.eclipse.gef.ui.parts.TreeViewer$1.widgetSelected(TreeViewer.java:186) at org.eclipse.gef.ui.parts.TreeViewer$1.widgetDefaultSelected(TreeViewer.java:190) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:113) 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.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at com.ibm.rdm.ui.gef.utils.RepositoryConnectionRunner.primRun(RepositoryConnectionRunner.java:206) at com.ibm.rdm.ui.gef.utils.RepositoryConnectionRunner.execute(RepositoryConnectionRunner.java:199) at com.ibm.rdm.ui.gef.utils.RepositoryConnectionRunner.primExecuteWithDialogOnFailure(RepositoryConnectionRunner.java:239) at com.ibm.rdm.ui.gef.utils.RepositoryConnectionRunner.executeWithDialogOnFailure(RepositoryConnectionRunner.java:234) at com.ibm.rdm.ui.gef.utils.RepositoryConnectionRunner.execute(RepositoryConnectionRunner.java:375) at com.ibm.rdm.ui.explorer.projectdashboard.ProjectEditor.setInput(ProjectEditor.java:437) at com.ibm.rdm.ui.explorer.projectdashboard.ProjectEditor.init(ProjectEditor.java:359) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652) at com.ibm.rdm.ui.utils.DocumentUtil.openEditor(DocumentUtil.java:166) at com.ibm.rdm.ui.server.editor.input.RepositoryEditorInputHelper.openEditorFor(RepositoryEditorInputHelper.java:73) at com.ibm.rdm.ui.gef.editor.input.EditorInputHelper.openEditor(EditorInputHelper.java:53) at com.ibm.rdm.ui.gef.editor.input.EditorInputHelper.openEditor(EditorInputHelper.java:49) at com.ibm.rdm.ui.gef.editor.input.EditorInputHelper.openEditor(EditorInputHelper.java:41) at com.ibm.rdm.ui.explorer.editparts.ProjectEditPart.performOpen(ProjectEditPart.java:232) at com.ibm.rdm.ui.explorer.editparts.ProjectEditPart.performRequest(ProjectEditPart.java:237) at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:187) at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:131) at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:955) at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:501) at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:208) at org.eclipse.gef.ui.parts.TreeViewer$EventDispatcher.mouseDoubleClick(TreeViewer.java:67) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:183) 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) |
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.