报错一:校验失败
完整堆栈:
com\kingdee\eas\henglu\operationman\app\AppDelivery:key=com\kingdee\eas\henglu\operationman\app\AppDelivery;level=1;pk=com.kingdee.eas.henglu.operationman.app.AppDelivery;bosType=enty;state=OBJECT_VALIDATE_FAILURE;message=taskExecutor property's reference enumeration can't be null !;
taskExecutor property's reference enumeration can't be null !
原因分析:
com.kingdee.eas.henglu.operationman.app.AppDelivery实体所引用的枚举字段taskExecutor 没有发布或者已被删除导致引用失效
解决措施:
方案一:
若字段未删除重新发布对应枚举即可
方案二:
对该实体所对应的元数据片段进行移除处理即可,在重新发布
报错二:
--- 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)
分析:该类异常一般出现在二开进行套打配置数据源时发布报错,原因是因为其query中去关联了query导致报错
解决方案:
检查对应关联若出现query关联query配置移除或者修改正确,重新配置即可,参照下图检查
推荐阅读