Hi Thomas, After using Number of Installments as 1, I was able to reproduce the issue.
I created Jira issue for that bug http://mifosforge.jira.com/browse/MIFOS-5581. We will fix this bug in the next Mifos release (Vinolia I). If this scenario with 1 installment is critical for you, then let me know and we will try to include fix for this issue in Mifos hotfix release (v2.3.3). Best regards, Lukasz On 04/25/2012 08:30 AM, Thomas (Uganda) wrote: > Hi I realized this happens when I use Number of Installments as 1 > only, when I create the Loan for the Client hence the schedule is not > generated and the error above displays. > > In my loan products the Min no. of installments is 1, Maximum is 99, > and Default is 1 > > On Apr 24, 5:09 pm, Lukasz Chudy<[email protected]> wrote: >> Hi Thomas, >> >> I've tried to reproduce issue that you described (on Mifos 2.3.2 CF >> running with Tomcat) and I am not able to. First, I created a new Loan >> Product with "Interest Rate Type: Declining Balance-Interest >> Recalculation" and "Frequency of Installments: 1 Month(s)". After that I >> created a new Loan account and disbursed it without any errors. >> >> Could you give me more details about the issue? Did you use any special >> options while creating Loan product and during the Loan Account >> creation? Which version of Tomcat are you using? >> >> Best regards, >> Lukasz >> >> On 04/24/2012 01:27 PM, Thomas (Uganda) wrote: >> >> >> >>> Hello Mifos Community, >>> I am testing out the mifos 2.3.2 CF running with tomcat. My most >>> desired functionality in this version is its Declining Balance >>> Interest Recalculation - MONTHLY OPTION, but when ever i try to create >>> a loan an error about RetrieveLoanSchedule Method is generated.. >>>> From the error, RetrieveLoanSchedule Method seems to fail for >>> Declining Balance, Declining Balance Interest Recalcualtion and >>> Declining Balance equal principal >>> Only flat Interest type seems to generate the Loan schedule >>> Thanx >>> Below are segments of the error Message >>> ***************************************************************************************************** >>> org.springframework.webflow.execution.ActionExecutionException: >>> Exception thrown executing [AnnotatedAction@b4dcbd targetAction = >>> [EvaluateAction@80e18 expression = >>> loanAccountController.retrieveLoanSchedule(flowScope.customerId, >>> flowScope.productId, loanAccountFormBean, loanScheduleFormBean, true), >>> resultExpression = flowScope.loanScheduleReferenceData], attributes = >>> map[[empty]]] in state 'calculateAndReviewLoanSchedule' of flow >>> 'createLoanAccount' -- action execution attributes were 'map[[empty]]' >>> ....... >>> Caused by: org.springframework.binding.expression.EvaluationException: >>> An OgnlException occurred getting the value for expression >>> 'loanAccountController.retrieveLoanSchedule(flowScope.customerId, >>> flowScope.productId, loanAccountFormBean, loanScheduleFormBean, true)' >>> on context [class >>> org.springframework.webflow.engine.impl.RequestControlContextImpl] >>> ....... >>> Caused by: ognl.MethodFailedException: Method "retrieveLoanSchedule" >>> failed for object >>> org.mifos.clientportfolio.loan.ui.LoanAccountController@185d2e0 >>> [java.lang.IndexOutOfBoundsException: Index: 1, Size: 1] >>> ........ >>> Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 >>> at java.util.ArrayList.RangeCheck(Unknown Source) >>> at java.util.ArrayList.get(Unknown Source) >>> ***************************************************************************************************** >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Mifos-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/mifos-users >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Mifos-users mailing list >> [email protected]https://lists.sourceforge.net/lists/listinfo/mifos-users > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Mifos-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mifos-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mifos-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mifos-users
