迁移到 MobileFirst
Migration to MobileFirst
我将 worklight 项目迁移到 mobilefirst。
当我在新的 mobilefirst studio 中打开在 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 后我再次关闭了项目。
知道它可能是什么吗?
谢谢你的帮助!
由于这可能是一个迁移错误,并且由于您无法在此处提供项目的源代码,我建议您打开 IBM 支持票证 (PMR) 并在那里提供您的源代码,以便可以调试错误并解决了。
编辑:在此答案的评论中提供了一个较小的项目。错误已重现,错误已找到并将修复。请参阅下面的解决方法。您可以打开 PMR 以接收固定的 Studio 版本。
解决方法
要解决此问题,请从适配器 XML 文件中删除 proxy
节点并尝试迁移。然后,在迁移完成后将其添加回来。
我将 worklight 项目迁移到 mobilefirst。 当我在新的 mobilefirst studio 中打开在 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 后我再次关闭了项目。
知道它可能是什么吗? 谢谢你的帮助!
由于这可能是一个迁移错误,并且由于您无法在此处提供项目的源代码,我建议您打开 IBM 支持票证 (PMR) 并在那里提供您的源代码,以便可以调试错误并解决了。
编辑:在此答案的评论中提供了一个较小的项目。错误已重现,错误已找到并将修复。请参阅下面的解决方法。您可以打开 PMR 以接收固定的 Studio 版本。
解决方法
要解决此问题,请从适配器 XML 文件中删除 proxy
节点并尝试迁移。然后,在迁移完成后将其添加回来。