cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Web Dynpro DC migration process won't start

Qualiture
Active Contributor
0 Kudos

Hi,

We have a custom Web Dynpro DC which is to be migrated from NW 7.0 to NW 7.31

The migration process flow (from the 'Cheat Sheet' in NWDS) is progressing as expected, however when clicking the actual 'Start Migration - Click to Perform' link, I receive an Unhandled event loop exception which is thrown in the CheckWindowNamesStep.getConflicts step :

eclipse.buildId=@qualifier@
java.version=1.6.0_41
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86

This is a continuation of log file C:\Data\workspace731\.metadata\.bak_0.log
Created Time: 2013-11-18 10:24:29.059


Error
Mon Nov 18 12:03:46 CET 2013
Unhandled event loop exception

java.lang.NullPointerException
at com.sap.ide.webdynpro.componentmigration.internal.steps.CheckWindowNamesStep.getConflicts(CheckWindowNamesStep.java:59)
at com.sap.ide.webdynpro.componentmigration.internal.steps.CheckWindowNamesStep.initialize(CheckWindowNamesStep.java:38)
at com.sap.ide.webdynpro.componentmigration.internal.StepBase.initializeSteps(StepBase.java:47)
at com.sap.ide.webdynpro.componentmigration.internal.StepBase.<init>(StepBase.java:42)
at com.sap.ide.webdynpro.componentmigration.internal.StepWriter.<init>(StepWriter.java:15)
at com.sap.ide.webdynpro.componentmigration.Migrator.createXMLFile(Migrator.java:176)
at com.sap.ide.webdynpro.componentmigration.Migrator.run(Migrator.java:61)
at com.sap.ide.webdynpro.migration.actions.MigrateComponentAction.run(MigrateComponentAction.java:52)
at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionSingleAction.run(BaseSelectionSingleAction.java:39)
... <snip>

Anyone knows how to solve this? Any help is highly appreciated 🙂

Best regards,

Robin

Accepted Solutions (1)

Accepted Solutions (1)

lvhengel
Participant
0 Kudos

Hi Robin,

Yesterday i had the same issue when migrating a Web Dynpro application.

I managed to fix the problem by doing a Edit -> Files in Subtree on src folder on the inactive branch from the Design Time Repository perspective. After that do a Reload and Rebuild of the Project and you should be able to start the migration.

Cheers,

Leo

Qualiture
Active Contributor
0 Kudos

Awesome! Worked like a charm!

Former Member
0 Kudos

Hey Robin,

You could have asked the guy sitting next to you 😉

kind regards,

Ted

Qualiture
Active Contributor
0 Kudos

That's exactly what I did 😉

Answers (1)

Answers (1)

0 Kudos

Hi Robin,

During migration I am facing the same issue but the resolution giver by you is not working for me, please elaborate the given solution or help with some alternate.

Following is the stack trace

==========================

meassage : Unhandled event loop exception

java.lang.NullPointerException

  at com.sap.ide.webdynpro.componentmigration.internal.steps.CheckWindowNamesStep.getConflicts(CheckWindowNamesStep.java:59)

  at com.sap.ide.webdynpro.componentmigration.internal.steps.CheckWindowNamesStep.initialize(CheckWindowNamesStep.java:38)

  at com.sap.ide.webdynpro.componentmigration.internal.StepBase.initializeSteps(StepBase.java:47)

  at com.sap.ide.webdynpro.componentmigration.internal.StepBase.<init>(StepBase.java:42)

  at com.sap.ide.webdynpro.componentmigration.internal.StepController.<init>(StepController.java:8)

  at com.sap.ide.webdynpro.componentmigration.internal.actions.TriggerMigrationAction.run(TriggerMigrationAction.java:45)

  at org.eclipse.ui.internal.cheatsheets.ActionRunner.runAction(ActionRunner.java:86)

  at org.eclipse.ui.internal.cheatsheets.data.Action.execute(Action.java:100)

  at org.eclipse.ui.internal.cheatsheets.views.CoreItem.runExecutable(CoreItem.java:497)

  at org.eclipse.ui.internal.cheatsheets.views.CoreItem.runExecutable(CoreItem.java:492)

  at org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.runPerformExecutable(CheatSheetViewer.java:1044)

  at org.eclipse.ui.internal.cheatsheets.views.CoreItem$1.linkActivated(CoreItem.java:89)

  at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)

  at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:199)

  at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)

  at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)

  at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)

  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:3910)

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

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

  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

  at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)

  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

  at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

  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:368)

  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:25)

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

  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

  at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

  at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Thanks,

Amritesh