起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3210|回复: 5

[处理中] 在justep.com上下载的预算DEMO作预算变更后不可用!

[复制链接]

32

主题

94

帖子

392

积分

中级会员

Rank: 3Rank: 3

积分
392
发表于 2014-7-1 14:26:26 | 显示全部楼层 |阅读模式

在justep.com上下载的预算DEMO作预算变更后不可用!提示如下:


后台报错如下:
result==org.dom4j.tree.DefaultDocument@a943ae [Document: name null]
2014-06-30 18:51:26 action:<?xml version="1.0" encoding="UTF-8"?>
<action direct-execute="true" process="/OA/finance/process/financeReimbrseBadgut/financeReimbrseBadgutProcess" activity="startActivity" action-flag="__action_0__" executor="" execute-context="" name="checkBadgut"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="badgutInfo"><xbiz:xml><root><checkBadgut><year/><month/><costCenterID>19F4A8275E81480C95FC9C0037D4F9BD</costCenterID><costCenterName>总经理室成本中心</costCenterName><accountID>2F792C7727FB4391BB474F773DBCF42C</accountID><accountName>管理费</accountName><amount>100</amount></checkBadgut></root></xbiz:xml></parameter></parameters></action>
java.lang.reflect.InvocationTargetException
        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:592)
        at com.justep.system.action.Engine.invokeActions(Native Method)
        at com.justep.system.action.Engine.invokeActions(Unknown Source)
        at com.justep.business.server.BusinessServer.doAction(Unknown Source)
        at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NumberFormatException: empty String
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994)
        at java.lang.Float.parseFloat(Float.java:394)
        at com.justep.OA.badgut.badgutInterface.checkBadgut(badgutInterface.java:60)
        ... 26 more

32

主题

94

帖子

392

积分

中级会员

Rank: 3Rank: 3

积分
392
 楼主| 发表于 2014-7-1 14:27:07 | 显示全部楼层
不作预算变更时完全正常,作了报销流程报错和预算执行统计模块无数据!

39

主题

1379

帖子

2464

积分

金牌会员

Rank: 6Rank: 6

积分
2464
发表于 2014-7-3 09:33:06 | 显示全部楼层
rqlf 发表于 2014-7-1 14:27
不作预算变更时完全正常,作了报销流程报错和预算执行统计模块无数据!

本帖重复发帖,请关注:http://bbs.justep.com/thread-61182-1-1.html

32

主题

94

帖子

392

积分

中级会员

Rank: 3Rank: 3

积分
392
 楼主| 发表于 2014-7-4 19:11:37 | 显示全部楼层
KSQL.executeUpdate(sql, null, "/OA/badgut/data", null);

32

主题

94

帖子

392

积分

中级会员

Rank: 3Rank: 3

积分
392
 楼主| 发表于 2014-7-4 19:12:03 | 显示全部楼层
上面这句该如何修改,问题就在这

39

主题

1379

帖子

2464

积分

金牌会员

Rank: 6Rank: 6

积分
2464
发表于 2014-7-7 08:55:39 | 显示全部楼层
rqlf 发表于 2014-7-4 19:12
上面这句该如何修改,问题就在这

问题出在这里,不是这句代码有问题,是你的sql执行发生错误了,把这个sql语句输出,拿到数据库中执行一下,看你的错误应该是空数据引起来的,应该还是数据问题
高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-2 08:16 , Processed in 0.065989 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表