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/03/27 09:28:45 UTC

Unable to Pay off - Prepay Loan

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.domain.AbstractLoanScheduleGenerator.updateAmountsBasedOnCurrentEarlyPayments(AbstractLoanScheduleGenerator.java:641)
~[AbstractLoanScheduleGenerator.class:na]
    at
org.apache.fineract.portfolio.loanaccount.loanschedule.domain.AbstractLoanScheduleGenerator.generate(AbstractLoanScheduleGenerator.java:298)
~[AbstractLoanScheduleGenerator.class:na]

regards,

Jamal

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

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

I'm using version 17.07.01 and have defined the loan product to recalculate
interest with interest calculation method being flat. What I realize are
two things:

1. When you want to pay off before maturity of the loan, the recalculated
interest will run through the full term/period of the currently installment
which is not yet due. The expectation is that interest will be recalculated
exactly up to the date of pay off.
2. The pay off then fails with a null pointer exception

However, when you uncheck interest recalculation at the product level, pay
off happens without errors the interest component is for the full term of
the entire loan and that is not desirable.

Unfortunately, I'm unable to use the demo link because the frontend times
out and I don't get to the login page. I hope you have a better idea of the
problem.

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

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

Posted by Jamal Inkoom <ji...@gmail.com>.
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: Unable to Pay off - Prepay Loan

Posted by Santosh Math <sa...@confluxtechnologies.com>.
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.domain.
> AbstractLoanScheduleGenerator.updateAmountsBasedOnCurrentEarlyPayments(
> AbstractLoanScheduleGenerator.java:641)
> ~[AbstractLoanScheduleGenerator.class:na]
>     at
> org.apache.fineract.portfolio.loanaccount.loanschedule.domain.
> AbstractLoanScheduleGenerator.generate(AbstractLoanScheduleGenerator.
> 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