BOS发布业务单元失败,急
金蝶云社区-135xxxx4800
135xxxx4800
0人赞赏了该文章 1,760次浏览 未经作者许可,禁止转载编辑于2019年04月18日 12:32:54

我在别的机器把解决方案复制过来,然后改了一下元数据(增加了一个枚举),想重新发布,但是报错了,请问什么原因?

[2019-04-18 12:25:39]开始执行ANT脚本....
[2019-04-18 12:25:39]开始执行 [init] (初始化)...
[2019-04-18 12:25:39]开始执行 [metadataDeploy] (发布元数据)...
[2019-04-18 12:26:06]开始执行 [compile] (编译)...
[2019-04-18 12:26:13]开始执行 [deletesrctemp] (删除编译临时目录)...
[2019-04-18 12:26:14]开始执行 [genKDNote] (生成套打模板)...
ANT脚本执行失败!
deployBIMProject 执行错误,错误堆栈:
E:\EAS\Kingdee\bos\BOSModular\bim\eclipse\plugins\com.kingdee.bos.bim_6.1.0\configs\ant\deploy.xml:61: deploy metadata failed
at com.kingdee.bos.bim.ant.task.KDNoteGenerator.execute(KDNoteGenerator.java:108)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.runScript(BaseAntScriptJob.java:263)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.run(BaseAntScriptJob.java:187)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at com.kingdee.bos.ctrl.data.meta.io.Bmd2Meta.parseQueryField(Bmd2Meta.java:668)
at com.kingdee.bos.ctrl.data.meta.io.Bmd2Meta.parseQuery(Bmd2Meta.java:620)
at com.kingdee.bos.bim.ant.task.KDNoteGenerator.generateNotes(KDNoteGenerator.java:223)
at com.kingdee.bos.bim.ant.task.KDNoteGenerator.execute(KDNoteGenerator.java:103)
... 23 more
--- Nested Exception ---
java.lang.NullPointerException
at com.kingdee.bos.ctrl.data.meta.io.Bmd2Meta.parseQueryField(Bmd2Meta.java:668)
at com.kingdee.bos.ctrl.data.meta.io.Bmd2Meta.parseQuery(Bmd2Meta.java:620)
at com.kingdee.bos.bim.ant.task.KDNoteGenerator.generateNotes(KDNoteGenerator.java:223)
at com.kingdee.bos.bim.ant.task.KDNoteGenerator.execute(KDNoteGenerator.java:103)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.runScript(BaseAntScriptJob.java:263)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.run(BaseAntScriptJob.java:187)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

您的鼓励与嘉奖将成为创作者们前进的动力,如果觉得本文还不错,可以给予作者创作打赏哦!

请选择打赏金币数 *

10金币20金币30金币40金币50金币60金币
可用金币: 0