UDN-企业互联网技术人气社区

板块导航

浏览  : 2251
回复  : 5

[移动平台] 移动审批,点任务时报错,无法打开单据

[复制链接]
睡椅的头像 楼主
发表于 2015-2-6 17:35:16 | 显示全部楼层 |阅读模式
手机端,点某些单据就报错:java.lang.String incompatible with nc.ui.pub.beans.constenum.DefaultConstEnum

经查maserver 端日志,客户端请求参数:如下:
{"wacomponents":{"wacomponent":[{"actions":{"action":[{"reqparams":{"Params":[{"value":"","@id":"usrid"},{"value":"","@id":"groupid"},{"value":["unhandled"],"@id":"statuscode"},{"value":["1001N11000000000TWOE"],"@id":"taskid"},{"value":["ishandled"],"@id":"statuskey"}],"servicecode":"1408884825979"},"actiontype":"getTaskAction"},{"reqparams":{"Params":[{"value":"","@id":"usrid"},{"value":"","@id":"groupid"},{"value":["unhandled"],"@id":"statuscode"},{"value":["1001N11000000000TWOE"],"@id":"taskid"},{"value":["ishandled"],"@id":"statuskey"}],"servicecode":"1408884825979"},"actiontype":"getTaskBill"},{"reqparams":{"Params":[{"value":"","@id":"usrid"},{"value":"","@id":"groupid"},{"value":["unhandled"],"@id":"statuscode"},{"value":["1001N11000000000TWOE"],"@id":"taskid"},{"value":["ishandled"],"@id":"statuskey"}],"servicecode":"1408884825979"},"actiontype":"getNC63MessageAttachmentList"},{"reqparams":{"Params":[{"value":"","@id":"usrid"},{"value":"","@id":"groupid"},{"value":["unhandled"],"@id":"statuscode"},{"value":["1001N11000000000TWOE"],"@id":"taskid"},{"value":["ishandled"],"@id":"statuskey"}],"servicecode":"1408884825979"},"actiontype":"getMainBody"},{"reqparams":{"Params":[{"value":"","@id":"usrid"},{"value":"","@id":"groupid"},{"value":["unhandled"],"@id":"statuscode"},{"value":["1001N11000000000TWOE"],"@id":"taskid"},{"value":["ishandled"],"@id":"statuskey"}],"servicecode":"1408884825979"},"actiontype":"getReminderContent"}]},"componentid":"WA00002"}],"session":{"id":"c8c3238f-bdf6-421c-b2e3-105d4c62c7ac"}}}

服务器返回客户端参数:
{"wacomponents":{"wacomponent":[{"componentid":"WA00002","actions":{"action":[{"actiontype":"getTaskAction","resresult":{"flag":0,"desc":"获取任务动作成功","servicecodesres":{"servicecoderes":[{"productid":"3691a893-754b-4718-b615-59e29464ab4e","resdata":{"struct":[{"actionstructlist":{"hint":"","actionstruct":[{"code":"doAgree","name":"批准","actflag":"1"},{"code":"doDisAgree","name":"不批准","actflag":"3"},{"code":"doReject","name":"驳回","actflag":"4"}]}}]},"servicecode":"1408884825979","srcname":"nc6.3Serever"}]}}},{"actiontype":"getTaskBill","resresult":{"flag":1,"desc":"java.lang.String incompatible with nc.ui.pub.beans.constenum.DefaultConstEnum","servicecodesres":{"servicecoderes":[{"productid":"3691a893-754b-4718-b615-59e29464ab4e","resdata":{"struct":[{}]},"servicecode":"1408884825979","srcname":"nc6.3Serever"}]}}},{"actiontype":"getNC63MessageAttachmentList","resresult":{"flag":0,"desc":"获取附件列表成功","servicecodesres":{"servicecoderes":[{"productid":"3691a893-754b-4718-b615-59e29464ab4e","resdata":{"struct":[{"attachmentlist":{"count":"0","attachment":[]}}]},"servicecode":"1408884825979","srcname":"nc6.3Serever"}]}}},{"actiontype":"getMainBody","resresult":{"flag":-1,"desc":"99"}},{"actiontype":"getReminderContent","resresult":{"flag":-1,"desc":"99"}}]}}]}}



现在的问题是,我怎么去追查下一步的日志?定位产品的这个问题。

集团跟我们实施顾问讲,这类问题要客开........ 也是醉了


睡椅的头像 楼主
发表于 2015-2-6 17:39:29 | 显示全部楼层
现在的问题,是我不知道怎么定位哪个类有问题?
使用道具 举报

回复

发表于 2015-3-9 15:42:53 | 显示全部楼层
你这个是与NC对接的?
使用道具 举报

回复

发表于 2015-5-12 14:53:29 | 显示全部楼层
我的这边测试直接能登陆移动APP,但无法读取到里面的审批任务
使用道具 举报

回复

发表于 2015-5-29 16:24:06 | 显示全部楼层
wobber 发表于 2015-5-12 14:53
我的这边测试直接能登陆移动APP,但无法读取到里面的审批任务

现在能 读取里面的任务吗,我也遇到了相同的问题
使用道具 举报

回复

发表于 2015-6-8 17:13:59 | 显示全部楼层
移动应用模板不正确,单据才无法打开!  搭建正确的移动应用模板,然后功能节点默认分配,要注意一个问题,系统会自带有预置模板,并且在后台已经有分配关系,所以自己搭建的模板系统不能使用,有两种方法:一、删除后台系统模板分配关系,再将自己增加的移动应用模板分配出去;二、在系统预置的模板上进行修改。希望能帮到你!
使用道具 举报

回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们
联系我们
  • 电话:010-86393388
  • 邮件:udn@yonyou.com
  • 地址:北京市海淀区北清路68号
移动客户端下载
关注我们
  • 微信公众号:yonyouudn
  • 扫描右侧二维码关注我们
  • 专注企业互联网的技术社区
版权所有:用友网络科技股份有限公司82041 京ICP备05007539号-11 京公网网备安1101080209224 Powered by Discuz!
快速回复 返回列表 返回顶部