我遇到了Worklight项目的问题,这对我来说是新技术。
将Worklight项目从版本6.1.0.00-20131126-0630升级到6.1.0.01-20140821-0406时也出错(也尝试过6.1.0.02-21041216-0421)。错误讯息:
Unexpected error during upgrade: java.lang.NullPointerException at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:190)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202)
at com.worklight.upgrader.internal.Zipper.addFolder(Zipper.java:106) at com.worklight.upgrader.internal.Zipper.addFolder(Zipper.java:91)
at com.worklight.upgrader.WLUpgradeEngine.backupCurrentProject(WLUpgradeEngine.java:645) at com.worklight.upgrader.WLUpgradeEngine.performUpgrade(WLUpgradeEngine.java:294)
at com.worklight.upgrader.WLUpgradeEngine.upgradeProject(WLUpgradeEngine.java:188) at com.worklight.studio.plugin.upgrader.WLUpgraderWorkspaceJob.runInWorkspace(WLUpgraderWorkspaceJob.java:127)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
面向Web开发人员的Eclipse Java EE IDE。
版本:Kepler Service Release 2构建ID:20140224-0627
Win8.1 x64
非常感谢任何帮助或建议。
答案 0 :(得分:0)
您尝试过的所有版本都非常非常老旧 作为IBM客户,您应该从IBM Fix Central下载适用于您的Studio安装的最新可用iFix。最新版本应从2015年7月开始。
请再试一次。
您还可以尝试按照此问题中的说明删除wlBuildResources文件夹:Worklight - FWLST1040E: android build failed: java.io.FileNotFoundException
最后,如果最新的iFix(见上文)仍然发生这种情况,请提供一个可以重现此问题的项目,以便进行调试。