[ 
http://mifosforge.jira.com/browse/MIFOS-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Udai Gupta reassigned MIFOS-2786:
---------------------------------

    Assignee: Udai Gupta  (was: mifosdeveloperqueue)

> CurrencyMismatchException on loan details page after a fee has been waived in 
> secondary currency
> ------------------------------------------------------------------------------------------------
>
>                 Key: MIFOS-2786
>                 URL: http://mifosforge.jira.com/browse/MIFOS-2786
>             Project: mifos
>          Issue Type: Bug
>            Reporter: Sam Birney
>            Assignee: Udai Gupta
>             Fix For: Gazelle C
>
>
> This is a pretty unlikely use case, so low priority.  To replicate:
> 1) create, approve, disburse a loan in a secondary currency
> 2) apply charges to the loan, add a misc fee
> 3) click view installment details
> 4) click to waive the fee
> 5) return to the loan details page
> 6) see stack trace--
> javax.servlet.ServletException: org.mifos.core.CurrencyMismatchException: The 
> desired operation on money class is not possible because the two money 
> objects are of different currencies.
>       
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
>       
> org.mifos.framework.struts.action.MifosRequestProcessor.processActionPerform(MifosRequestProcessor.java:231)
>       
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
>       org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>       org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       org.mifos.security.util.LoginFilter.doFilter(LoginFilter.java:85)
>       
> org.mifos.framework.persistence.DatabaseInitFilter.doFilter(DatabaseInitFilter.java:51)
> root cause
> org.mifos.core.CurrencyMismatchException: The desired operation on money 
> class is not possible because the two money objects are of different 
> currencies.
>       
> org.mifos.framework.util.helpers.Money.checkCurrenciesDifferent(Money.java:302)
>       org.mifos.framework.util.helpers.Money.add(Money.java:116)
>       
> org.mifos.accounts.loan.business.service.LoanBusinessService.getLoanActivityView(LoanBusinessService.java:153)
>       
> org.mifos.accounts.loan.business.service.LoanBusinessService.getRecentActivityView(LoanBusinessService.java:125)
>       
> org.mifos.accounts.loan.struts.action.LoanAccountAction.loadLoanDetailPageInfo(LoanAccountAction.java:1507)
>       
> org.mifos.accounts.loan.struts.action.LoanAccountAction.get(LoanAccountAction.java:732)
>       sun.reflect.GeneratedMethodAccessor770.invoke(Unknown Source)
>       
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       java.lang.reflect.Method.invoke(Method.java:597)
>       
> org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
>       
> org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
>       
> org.mifos.framework.struts.action.BaseAction.execute(BaseAction.java:106)
>       
> org.mifos.framework.struts.action.MifosRequestProcessor.processActionPerform(MifosRequestProcessor.java:203)
>       
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
>       org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>       org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       org.mifos.security.util.LoginFilter.doFilter(LoginFilter.java:85)
>       
> org.mifos.framework.persistence.DatabaseInitFilter.doFilter(DatabaseInitFilter.java:51)
> note The full stack trace of the root cause is available in the Apache 
> Tomcat/6.0.14 logs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to