我已经在Eclipse Juno中导入了worklight 6.0 Location Services模块并开始工作。起初我得到了android-8异常并通过单击属性并将android 4.4配置到我的android项目来纠正。在我构建和部署模块后,我发现了一个错误说明:
无法将应用程序部署到Worklight服务器:Worklight模块 module_09_07_LocationServices未成功启动。充分 Worklight Development提供了错误的详细信息 服务器控制台。
之后我看到了Worklight Server控制台并且没有错误,在Worklight Console中我可以在开始时看到NullPointerException. check logs.
。
当我打开日志时,我收到了“事件详细信息”弹出窗口,说明了
Message:java.lang.NullPointerException
Exceptiin Stack Trace:java.lang.NullPointerException
at com.worklight.studio.plugin.wst.integ.LibertyDeployer.addApplicationToConfigXML(LibertyDeployer.java:162)
at com.worklight.studio.plugin.wst.integ.LibertyDeployer.postPublish(LibertyDeployer.java:148)
at com.worklight.studio.plugin.wst.integ.Deployer.deploy(Deployer.java:93)
at com.worklight.studio.plugin.utils.WSTServers.deployWar(WSTServers.java:590)
at com.worklight.studio.plugin.utils.WSTServers.deployWorklightProjectWar(WSTServers.java:564)
at com.worklight.studio.plugin.launch.AbstractWorklightWorkbenchWindowActionDelegate.startServer(AbstractWorklightWorkbenchWindowActionDelegate.java:78)
at com.worklight.studio.plugin.launch.AbstractWorklightWorkbenchWindowActionDelegate.access$000(AbstractWorklightWorkbenchWindowActionDelegate.java:38)
at com.worklight.studio.plugin.launch.AbstractWorklightWorkbenchWindowActionDelegate$1.run(AbstractWorklightWorkbenchWindowActionDelegate.java:58)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
答案 0 :(得分:1)
当我刚刚打开一个新的工作区并导入了同一个项目时,错误刚刚开始。