You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Jamal Inkoom <ji...@gmail.com> on 2018/04/23 16:56:32 UTC

Re: [Mifos-developer] Unable to Pay off - Prepay Loan

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 <
santosh@confluxtechnologies.com> 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 <ji...@gmail.com> 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
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>

Re: [Mifos-developer] Unable to Pay off - Prepay Loan

Posted by Santosh Math <sa...@confluxtechnologies.com>.
Hi Jamal,

Ping me on Google Hangout  for  this my same mail id.

On Tue, Apr 24, 2018 at 2:38 PM, Jamal Inkoom <ji...@gmail.com> wrote:

> Hi Santosh,
>
> Is it possible to contact you directly? I will be grateful to get a
> 10-15min slot with you. It's basically about how you can assist me to be
> better engaged in the project.
>
> regards,
>
> Jamal
>
> On Tue, Apr 24, 2018 at 6:24 AM, Santosh Math <
> santosh@confluxtechnologies.com> wrote:
>
> > 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 <ji...@gmail.com>
> 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 <
> >> santosh@confluxtechnologies.com> 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 <ji...@gmail.com>
> >> 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 <
> >> >> santosh@confluxtechnologies.com> 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 <ji...@gmail.com>
> >> >> 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
> >> >> > mifos-developer@lists.sourceforge.net
> >> >> > 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
> >> > mifos-developer@lists.sourceforge.net
> >> > 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
> > mifos-developer@lists.sourceforge.net
> > 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

Re: [Mifos-developer] Unable to Pay off - Prepay Loan

Posted by Jamal Inkoom <ji...@gmail.com>.
Hi Santosh,

Is it possible to contact you directly? I will be grateful to get a
10-15min slot with you. It's basically about how you can assist me to be
better engaged in the project.

regards,

Jamal

On Tue, Apr 24, 2018 at 6:24 AM, Santosh Math <
santosh@confluxtechnologies.com> wrote:

> 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 <ji...@gmail.com> 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 <
>> santosh@confluxtechnologies.com> 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 <ji...@gmail.com>
>> 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 <
>> >> santosh@confluxtechnologies.com> 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 <ji...@gmail.com>
>> >> 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
>> >> > mifos-developer@lists.sourceforge.net
>> >> > 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
>> > mifos-developer@lists.sourceforge.net
>> > 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
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>

Re: [Mifos-developer] Unable to Pay off - Prepay Loan

Posted by Santosh Math <sa...@confluxtechnologies.com>.
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 <ji...@gmail.com> 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 <
> santosh@confluxtechnologies.com> 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 <ji...@gmail.com>
> 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 <
> >> santosh@confluxtechnologies.com> 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 <ji...@gmail.com>
> >> 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
> >> > mifos-developer@lists.sourceforge.net
> >> > 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
> > mifos-developer@lists.sourceforge.net
> > 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

Re: [Mifos-developer] Unable to Pay off - Prepay Loan

Posted by Jamal Inkoom <ji...@gmail.com>.
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 <
santosh@confluxtechnologies.com> 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 <ji...@gmail.com> 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 <
>> santosh@confluxtechnologies.com> 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 <ji...@gmail.com>
>> 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
>> > mifos-developer@lists.sourceforge.net
>> > 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
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>

Re: [Mifos-developer] Unable to Pay off - Prepay Loan

Posted by Santosh Math <sa...@confluxtechnologies.com>.
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 <ji...@gmail.com> 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 <
> santosh@confluxtechnologies.com> 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 <ji...@gmail.com> 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
> > mifos-developer@lists.sourceforge.net
> > 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