on 07-13-2017 4:07 PM
Hi, Experts!
We upgrade our SAP Portal from NW 7.02 to NW 7.5. According to SAP note 2250903 we have to use Java 8.
So, we downloaded NWDS 7.5 SP 08 and imported project developed into Java 1.4 (NW 7.02). When we tried opening this project a message said that we have to migrated it.
On this message, we clicked on Quick Fix, in context menu.
After we migrated this project, everything was fine. So we tried to Reimport Models.
At this moment nothing happens. We note that a java log will generated:
!ENTRY org.eclipse.ui 4 0 2017-07-13 10:35:35.115
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.sap.ide.jcb.core.wizardpages.RFCSelectionPage.setVisible(RFCSelectionPage.java:594)
at org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:1242)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:590)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
at com.sap.ide.cmi.core.internal.services.RefactoringServiceUI.reimport(RefactoringServiceUI.java:115)
at com.sap.ide.cmi.core.internal.services.RefactoringServiceUI.reimportModel(RefactoringServiceUI.java:55)
at com.sap.ide.cmi.core.browser.actions.ReimportModelAction.run(ReimportModelAction.java:90)
at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionSingleAction.run(BaseSelectionSingleAction.java:39)
at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.runInternal(BaseSelectionAction.java:79)
at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.run(BaseSelectionAction.java:71)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:167)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4410)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4228)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3816)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
What do we need to do to use this feature? Is there something wrong with this procedure?
Thanks in advanced.
Regards.
Hi,
ARFC1 model is not supported in 7.5 NWDS. Please check note 2121560 - ARFC1 is deprecated from NW 7.11.
There is no option to create a new ARFC1 model in NWDS 7.31 or higher. Hence even ARFC1 model reimport will not work.
It is possible to execute ARFC1 model on 7.5 server. But if any changes are needed which requires model reimport, in that case the only option is to migrate to ARFC2.
Regards,
Archana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sergio,
I have recently done the webdynpro java migration myself and the model migration should not take much time. You should be able to complete the migration within a day.
Regarding the code change, you just need to do one minor change. In ARFC2, the model objects are instantiated with reference to their model.
ARFC1:
<ModelClass> modelObject = new <ModelClass>();
ARFC2:
<ARFC2Model> model = new <ARFC2Model>();
<ModelClass> modelObject = new <ModelClass>(model);
Just identify these and change accordingly. You should be fine.
Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Team,
Getting this error while trying to migrate to ARFC2Model even after maintaining the Destination under preferences.
I am using 7.5 SP 6 NWDS and using JDK 1.8.0_131 64 bit.
Please help me to resolve this error. I am not able to proceed because of this error.
Thanks & Regards,
Kishor Gopinathan
Dear Sergio,
I would suggest that migrate your model to ARFC2. I think it can help. Additionally, make sure that you have a backup project.
Best regards,
Szabolcs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Szabolcs.
Thanks for your answer.
My doubt is about time. We have already estimated time for this project without consider ARFC2 migration.
How long do you think it is going to take migration for each model? The NW upgrade is from 7.02 to 7.5, so RFC ABAP functions interface have built with obsolete statements. Do you think that it might be a problem?
And this feature in NWDS should not be working? Why does this error happen?
Best Regards.
Sergio
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.