【发布时间】:2015-02-17 12:22:19
【问题描述】:
我将 worklight 项目迁移到 mobilefirst。 当我在新的 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 后,我又关闭了项目。
知道它可能是什么吗? 谢谢你的帮助!
【问题讨论】:
-
能否提供显示此错误的项目或示例项目,以便对其进行调试?
-
我在迁移时也遇到了类似的问题,但错误不同。为 ipad 迁移到 Cordova 3.7.0 - 文件 ipad 已修改。Migrator 类 com.worklight.upgrader.upgraders.ios.AppCordova361IPadClassesUpgrader 失败将 DemoApp 项目从版本 6.2.0.00.20140724-2139 迁移到版本 6.3.0.00.20150214- 1702 失败,因为 java.io.IOException:无法删除文件:/Users/sen/Documents/MobileFirst-0/DemoApp/apps/Demo101/ipad/native/CordovaLib/Classes/UIDevice+Extensions.m
-
这没有帮助。您能否提供一个可以复制的 Worklight 6.2 项目?
-
这是个大工程。我会尽快提取出来给你测试。谢谢。
-
不需要你的项目。如果您可以在较小规模的应用程序中重新创建它会更好。
标签: migration ibm-mobilefirst mobilefirst-studio