[ https://issues.apache.org/jira/browse/OFBIZ-5927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286018#comment-14286018 ]
Prateek commented on OFBIZ-5927: -------------------------------- Jacques - Is this issue being committed in trunk? Scott - Have you provided patch for commit? Please do the needful. > Issue reported while performing Refund & Void (java.lang.ClassCastException: > java.lang.String cannot be cast to java.math.BigDecimal) > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-5927 > URL: https://issues.apache.org/jira/browse/OFBIZ-5927 > Project: OFBiz > Issue Type: Bug > Reporter: Prateek > Fix For: 14.12.01, 12.04.06, 13.07.02 > > > Issue reported while performing Refund & Void (java.lang.ClassCastException: > java.lang.String cannot be cast to java.math.BigDecimal) > Change needs to be done in AIMPaymentServices.java. Please look at the > following small patch:- > > //BigDecimal amount = (BigDecimal) request.get("x_Amount"); > String newAmt = request.get("x_Amount").toString(); > BigDecimal amount = new BigDecimal(newAmt); -- This message was sent by Atlassian JIRA (v6.3.4#6332)