Overdrawn Saving Account crashes further Debit/Credit and Job Post Interest for Savings

Description

Minimum Opening Balance=1,000
Allow Overdraft=true
Max Overdraft limit=10,000
Nominal annual interest for overdraft=18
Withdrawal Fee=Flat & 200

Accounting:
*************
Savings Reference(Assets)=Cash Reserve
Overdraft Portfolio(Assets)=Retail Overdraft
Savings Control(Liabilities)=Personal current acc
Transfers in suspense(Liabilities)=Suspense - Proxy accounts
Interest on Savings(Expenses)=Savings
Write-off(Expenses)=Current accounts retail
Income from Fee(Income)=Cash Withdrawal Fees
Income from Penalties(Income)=Penalty on Retail Accounts
Overdraft Interest Income(Income)=Int. Retail Overdraft

1. Create Saving Account that inherits these Savings Account Products settings.
2. Approve and Activate Account
3. Debit and Credit of Minimum Opening Balance OK
4. Overdraw the Account, the posting is OK, rights accounts & amounts debited/credited
5. Credit/Debit the account after (4.), see error below:
==>Recent Portfolio changes w.r.t Charges for Savings have Broken the accounting code -
6. run job "Post Interest for Savings", see error below:
==>org.apache.fineract.infrastructure.jobs.exception.JobExecutionException:
failed to post interest for Savings with id 2 with message null
at org.apache.fineract.portfolio.savings.service.SavingsSchedularServiceImpl.postInterestForAccounts(76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(-2) at sun.reflect.NativeMethodAccessorImpl.invoke(-1)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(-1) at java.lang.reflect.Method.invoke(-1)
at org.springframework.util.MethodInvoker.invoke(269)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(322)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(112) at org.quartz.core.JobRunShell.run(213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(557)

Environment

None

Status

Assignee

Unassigned

Reporter

Louis Niyongabo

Labels

None

Implementation Priority

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

50% Estimate

None

90% Estimate

None

Deployment

None

Epic

None

Request Type

None

Requestor

None

Number of Support Tickets

None

Customer

None

Notify

Sangamesh Nadagoudar

productboard URL

None

Components

Affects versions

2.6.3

Priority

Critical
Configure