It's all about the answers!

Ask a question

RRC: Cannot Open Project


Teresa Hadish (1121) | asked May 06 '10, 1:12 p.m.
When trying to open a project (containing a corporate glossary), I encouter the following error message:

Could not open the editor: Argument cannot be Null.
Please advise, this project has previously had NO problems and now it won't open.

Details as follows:
java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3761)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.graphics.GC.textExtent(GC.java:4772)
at org.eclipse.swt.graphics.GC.textExtent(GC.java:4737)
at org.eclipse.draw2d.FigureUtilities.getTextDimension(FigureUtilities.java:88)
at org.eclipse.draw2d.FigureUtilities.getTextExtents(FigureUtilities.java:125)
at com.ibm.rdm.draw2d.text.TextUtilities.getTextExtents(TextUtilities.java:58)
at com.ibm.rdm.ui.explorer.projectdashboard.ProjectMemberFigure.getFigureWidth(ProjectMemberFigure.java:130)
at com.ibm.rdm.ui.explorer.projectdashboard.ProjectMemberFigure.setParent(ProjectMemberFigure.java:143)
at org.eclipse.draw2d.Figure.add(Figure.java:153)
at org.eclipse.draw2d.Figure.add(Figure.java:171)
at com.ibm.rdm.ui.explorer.projectdashboard.ProjectOverviewSection.createProjectMembersSection(ProjectOverviewSection.java:178)
at com.ibm.rdm.ui.explorer.projectdashboard.ProjectOverviewSection.primAddAdditionalContent(ProjectOverviewSection.java:164)
at com.ibm.rdm.ui.sidebar.OverviewSection.addContent(OverviewSection.java:349)
at com.ibm.rdm.ui.explorer.projectdashboard.ProjectOverviewSection.fetchResource(ProjectOverviewSection.java:98)
at com.ibm.rdm.ui.sidebar.OverviewSection.createContent(OverviewSection.java:202)
at com.ibm.rdm.platform.ui.sidebar.SidebarSection.createPartControl(SidebarSection.java:74)
at com.ibm.rdm.platform.ui.sidebar.SidebarContext.createPartControl(SidebarContext.java:39)
at com.ibm.rdm.platform.ui.sidebar.FlyoutSidebarComposite$ContextSidebarProvider.createSidebar(FlyoutSidebarComposite.java:68)
at com.ibm.rdm.gef.InternalFlyoutSidebarComposite.setState(InternalFlyoutSidebarComposite.java:567)
at com.ibm.rdm.platform.ui.sidebar.FlyoutSidebarComposite.setState(FlyoutSidebarComposite.java:48)
at com.ibm.rdm.gef.InternalFlyoutSidebarComposite.updateState(InternalFlyoutSidebarComposite.java:618)
at com.ibm.rdm.platform.ui.sidebar.FlyoutSidebarComposite.applyStatePreference(FlyoutSidebarComposite.java:59)
at com.ibm.rdm.ui.explorer.projectdashboard.ProjectEditor.createPartControl(ProjectEditor.java:663)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
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.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:779)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:678)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:639)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2817)
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:80)
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)

One answer



permanent link
Stef van Dijk (2.0k179) | answered May 06 '10, 10:17 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Curious. The stack trace indicates that the failure is due to a null handle for the graphics resource. This would typically mean one of two things:
1) your system has run out of GDI objects (which is possible as we've discovered a couple of memory leaks recently that will be fixed in our upcoming release - 2.0.0.2), or
2) there's some sort of stale project page in your workspace

#2 seems unlikely given your description. #1 would generally coincide with a number of "Out of Handles" messages in the log. If it is #1, you could try shutting down the client, possibly rebooting but probably not necessary, restarting the client and immediately opening the project home page and see if it happens again.

Aside from that, is it possible there was a recent change to the members of the project, or a change about a specific user who was already a member (ie, change to their user name or id)?

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.