0

我将工作灯项目迁移到移动优先。当我在新的 mobilefirst 工作室中打开在 worklight 6.2 版中创建的项目时,我看到这个项目总是在 eclipse 中关闭。当我尝试打开它时,我收到此错误:

!ENTRY com.worklight.studio.plugin 4 0 2015-02-17 13:09:10.550
!MESSAGE FWLPL0019E: Migrating the HiPerForms project from version     6.2.0.01.20141002-2218 to version 6.3.0.00.20141127-1357 has failed because     org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.; FWLPL0019E: Migrating the HiPerForms project from version 6.2.0.01.20141002-2218 to version 6.3.0.00.20141127-1357 has failed because org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
!STACK 0 com.worklight.upgrader.UpgradeEngineException: FWLPL0019E: Migrating the HiPerForms project from version 6.2.0.01.20141002-2218 to version 6.3.0.00.20141127-1357 has failed because org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
at com.worklight.upgrader.WLUpgradeEngine.upgradeProject(WLUpgradeEngine.java:271)
at com.worklight.studio.plugin.upgrader.WLUpgraderWorkspaceJob.runInWorkspace(Unknown Source)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

当我删除项目的 .settings 文件夹时,我可以在 eclipse 中打开项目,但是在重新启动 eclipse 后,我再次关闭了项目。

知道可能是什么吗?谢谢你的帮助!

4

1 回答 1

1

由于这可能是一个迁移错误,并且您无法在此处提供项目的源代码,因此我对您的建议是打开 IBM 支持票证 (PMR) 并在此处提供您的源代码,以便可以调试和解决错误。

编辑:对此答案的评论中提供了一个较小的项目。错误已重现,错误已找到并将修复。请参阅下面的解决方法。您可以打开 PMR 以接收固定的 Studio 版本。

解决方法
要解决它,请proxy从适配器 XML 文件中删除节点并尝试迁移。然后,在迁移完成后将其添加回来。

于 2015-03-01T15:32:48.740 回答