cancel
Showing results for 
Search instead for 
Did you mean: 

Problems occurred when invoking code from plug-in: "org.eclipse.jface". JavaNullPointer Exception while importing development configurations in NWDS

Former Member
0 Kudos

Hello SAP Gurus,

I have an object to enhance the standard wed Dynpro Java leave ESS application.

while importing the development configurations from NWDI in the NWDS, I am facing the below error.

Could anyone kindly please provide a solution to me to reolve this as soon as possible.

!ENTRY org.eclipse.jface 4 2 Sep 02, 2013 19:29:41.716

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".

!STACK 0

java.lang.NullPointerException

at org.eclipse.jface.viewers.CustomHashtable.put(CustomHashtable.java:284)

at org.eclipse.jface.viewers.StructuredViewer.mapElement(StructuredViewer.java:745)

at org.eclipse.jface.viewers.StructuredViewer.associate(StructuredViewer.java:232)

at org.eclipse.jface.viewers.AbstractTreeViewer.associate(AbstractTreeViewer.java:247)

at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:396)

at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:119)

at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)

at org.eclipse.core.runtime.Platform.run(Platform.java:413)

at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1271)

at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:320)

at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:303)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:289)

at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:729)

at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:801)

at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:721)

at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)

at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:991)

at com.tssap.dtr.client.eclipse.ui.treeBrowser.RepositoryTreeViewer.setInput(RepositoryTreeViewer.java:392)

at com.tssap.dtr.client.eclipse.ui.treeBrowser.RepositoryView$37.run(RepositoryView.java:1212)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.dtr.client.eclipse.ui.treeBrowser.RepositoryView.onActiveClientChanged(RepositoryView.java:1209)

at com.tssap.dtr.client.lib.vfs.config.impl.Configuration.setActiveClient(Configuration.java:477)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.updateDTR(DevConfWizard.java:687)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:546)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)

at com.sap.ide.eclipse.component.wizard.DevConfWizard$1.run(DevConfWizard.java:348)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:346)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)

at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

at org.eclipse.jface.window.Window.open(Window.java:563)

at com.sap.ide.eclipse.component.provider.actions.DevConfNewMenuAction.openWizard(DevConfNewMenuAction.java:39)

at com.sap.ide.eclipse.component.provider.actions.DevConfNewMenuAction.run(DevConfNewMenuAction.java:33)

at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)

at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)

at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)

at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vijay/Ervin,

The issue is resolved.

Actually DTR URL is not given by  Basis Guys while creating the track. I am able to import the configuration after updating that without any errors.

Thank you very much for your time.

Regards,

Satish.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Great news, thanky you letting us know Satish! I am sure this will help other customers too facing the same issue.

Answers (2)

Answers (2)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

you can also make an attempt to create a new NWDS workspace, and reimport the development configuration.

Best Regards,

Ervin

Former Member
0 Kudos

HI Ervin,

I have created new NWDS workspace, even then same I am facing the same issue.

Regards,

Satish.

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

seems to be an eclipse bug.

What NWDS release are you using ?

Thanks and Regards,

Ervin

Former Member
0 Kudos

Hi Ervin,

Thanks for the reply.

I am using NWDS 7.02 SP6.

Please let me know if you require any further details.

Thanks in Advance.

Regards,

Satish.

vijay_kumar49
Active Contributor
0 Kudos

Open an OSS message on component BC-DWB-WD-JAV.

You might also try to start the NWDS with option "-clean", maybe this helps.

Hope this helps

Regards

Vijay