[ https://issues.apache.org/jira/browse/FINERACT-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831049#comment-15831049 ]
Santosh Math commented on FINERACT-207: --------------------------------------- Hi [~george.haj...@outlook.com], I don't think it is related to increasing number of repayments. I reproduced the same scenario here, https://demo.openmf.org/#/viewloanaccount/542 and I successfully closed the loan account #000000542 for the same client. You can try the same with same client Joseph Mobutu in this link. https://demo.openmf.org/#/viewloanaccount/543 This account is yet to approve and you can modify application by increasing number of repayments (also loan term) and try to prepay loan. You can do it successfully. The problem with the account cng(#000000539) you mentioned is related to charges(instalment fee) but not 'Modifying Application' before approval. > Loan prepayment fails if Installation Fee charge set > ---------------------------------------------------- > > Key: FINERACT-207 > URL: https://issues.apache.org/jira/browse/FINERACT-207 > Project: Apache Fineract > Issue Type: Bug > Components: Loan > Reporter: Terence Denzil Monteiro > Assignee: Markus Geiss > Labels: confirm, p1 > > For Loan Product where Charge Time Type = Installation Fee, > if a loan is created and modified before approval > if I try to prepay the loan, it gives HTTP 500 response code with body: > {"timestamp":1470637896498,"status":500,"error":"Internal Server > Error","exception":"java.lang.NullPointerException","message":null} > for example, see loan #819 on demo server: > https://demo.openmf.org/#/loanaccount/819/prepayloan, for client #10: JAVA BOY -- This message was sent by Atlassian JIRA (v6.3.4#6332)