Yes Jamal, That's Correct. Interest Recalculation doesn't work when interest type is 'Flat'. But valid error messge should be thrown.
On Tue, Apr 24, 2018 at 11:16 AM, Jamal Inkoom <[email protected]> wrote: > Many Thanks Santosh, > > You can prepay the loan you created because the interest type is "declining > balance". You get the internal error 500 when the interest type is "flat". > > regards, > > Jamal > > On Tue, Apr 24, 2018 at 4:41 AM, Santosh Math < > [email protected]> wrote: > > > Hi Jamal, > > > > I tested this following loan account which is also enabled with > > Interest Recalculation, but I am able to prepay the loan. You can check > > again here: > > > > https://demo.openmf.org/#/viewloanaccount/2612 > > > > However, the loan account which you created is throwing 500 internal > > server error. I raised the issue here: > > > > https://issues.apache.org/jira/browse/FINERACT-620 > > > > I will see any developer will take up this issue today. > > > > > > On Mon, Apr 23, 2018 at 10:26 PM, Jamal Inkoom <[email protected]> > wrote: > > > >> Hi Santosh, > >> > >> I have the problem reproduced as shown in link below: > >> > >> https://demo.openmf.org/#/viewloanaccount/2610 <https://demo.openmf.org > > > >> > >> > >> you get a null pointer exception with no informative error message when > >> you > >> try to prepay the loan. It wasn't like that in earlier versions like > 1.26. > >> > >> > >> I will really appreciate some help here > >> > >> regards, > >> > >> Jamal > >> > >> On Tue, Mar 27, 2018 at 9:44 AM, Santosh Math < > >> [email protected]> wrote: > >> > >> > Hi Jamal, > >> > > >> > Which version of Mifos are you using? Will you reproduce the same on > >> > https://demo.openmf.org and share the link? > >> > > >> > > >> > > >> > On Tue, Mar 27, 2018 at 2:58 PM, Jamal Inkoom <[email protected]> > >> wrote: > >> > > >> >> Hello Mentors, > >> >> > >> >> I have back - dated and booked loans in mifos using the APIs and > >> trying to > >> >> pay off or make prepayments of the loans at certain dates. However, > I'm > >> >> able to make repayments when the installment is already due. However, > >> for > >> >> installments that will be due in the future, I get a nullpointer > >> exception > >> >> - excerpts below: I will appreciate any clue that will help me > >> >> resolve/avoid this error. > >> >> > >> >> java.lang.NullPointerException: null > >> >> at > >> >> org.apache.fineract.portfolio.loanaccount.loanschedule.domai > >> >> n.AbstractLoanScheduleGenerator.updateAmountsBasedOnCurrentE > >> >> arlyPayments(AbstractLoanScheduleGenerator.java:641) > >> >> ~[AbstractLoanScheduleGenerator.class:na] > >> >> at > >> >> org.apache.fineract.portfolio.loanaccount.loanschedule.domai > >> >> n.AbstractLoanScheduleGenerator.generate(AbstractLoanSchedul > >> >> eGenerator.java:298) > >> >> ~[AbstractLoanScheduleGenerator.class:na] > >> >> > >> >> regards, > >> >> > >> >> Jamal > >> >> > >> > > >> > > >> > > >> > -- > >> > Thanks & Regards > >> > > >> > Santosh Math > >> > > >> > *QA Engineer* > >> > > >> > *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>* > >> > | *Office*: +91-080-41208662 | > >> > > >> > *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, > >> > Bengaluru, Karnataka, 560043 INDIA > >> > > >> > ------------------------------------------------------------ > >> > ------------------ > >> > Check out the vibrant tech community on one of the world's most > >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> > Mifos-developer mailing list > >> > [email protected] > >> > Unsubscribe or change settings at: > >> > https://lists.sourceforge.net/lists/listinfo/mifos-developer > >> > > >> > > > > > > > > -- > > Thanks & Regards > > > > Santosh Math > > > > *QA Engineer* > > > > *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>* > > | *Office*: +91-080-41208662 | > > > > *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, > > Bengaluru, Karnataka, 560043 INDIA > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > Mifos-developer mailing list > > [email protected] > > Unsubscribe or change settings at: > > https://lists.sourceforge.net/lists/listinfo/mifos-developer > > > -- Thanks & Regards Santosh Math *QA Engineer* *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>* | *Office*: +91-080-41208662 | *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, Bengaluru, Karnataka, 560043 INDIA
