Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Null ptr exception Uploading a PNG file from v1 repo

I have been downloading-uploading my artifacts to migrate from v1 to v2. One particular folder of 4 PNG files seems to correctly down-up/load 4 files but only one file shows up in the v2 repo and only in the Explorer view. I get an error trying to drag drop the file (null pointer exception). Uploading it to a new folder fails. Using a Composer Archive only results in one file being uploaded.

On a lark, I converted the PNG to a JPG and uploaded it successfully. However, from the Composer Explorer, when I try to open the one file that uploads, I get an error that it cannot connect to the Repo but the repo is clearly accessible using other artifacts. Clicking abort results in the external viewer displaying the .png file but the Composer tab indicates anull pointer exception with the details below:

java.lang.NullPointerException
at com.ibm.rdm.ui.external.editors.RDMExternalEditor.getAdapter(RDMExternalEditor.java:534)
at com.ibm.rdm.ui.gef.contexts.RootContext.findAdapter(RootContext.java:69)
at com.ibm.rdm.ui.gef.contexts.UIContext.findAdapter(UIContext.java:164)
at com.ibm.rdm.ui.gef.contexts.UIContext.findAdapter(UIContext.java:164)
at com.ibm.rdm.linking.ui.RequirementsSidebarSection.createContent(RequirementsSidebarSection.java:30)
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.external.editors.RDMExternalEditor.createPartControl(RDMExternalEditor.java:655)
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.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:351)
at com.ibm.rdm.ui.server.editor.input.RepositoryEditorInputHelper.openEditorFor(RepositoryEditorInputHelper.java:63)
at com.ibm.rdm.ui.gef.editor.input.EditorInputHelper.openEditor(EditorInputHelper.java:37)
at com.ibm.rdm.ui.gef.editor.input.EditorInputHelper.openEditor(EditorInputHelper.java:29)
at com.ibm.rdm.ui.explorer.RepositoryExplorer.handleTableOpen(RepositoryExplorer.java:986)
at com.ibm.rdm.ui.explorer.RepositoryExplorer.handleTableDoubleClick(RepositoryExplorer.java:980)
at com.ibm.rdm.ui.explorer.RepositoryExplorer.access$9(RepositoryExplorer.java:978)
at com.ibm.rdm.ui.explorer.RepositoryExplorer$8.mouseDoubleClick(RepositoryExplorer.java:638)
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)
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)

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 18 '10, 10:16 a.m.

Question was seen: 4,473 times

Last updated: Mar 18 '10, 10:16 a.m.

Confirmation Cancel Confirm