[
http://mifosforge.jira.com/browse/MIFOS-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58907#action_58907
]
johnwoodlock commented on MIFOS-3312:
-------------------------------------
There are 3 bundles of account Ids that end up in error.
1) a bundle of 4 (in error for over 2 quarters) and a bundle of 3 (in error for
over one quarter)
All 7 of these had a 'last transaction before the last time interest was
calculated' that was a SAVINGS_ADJUSTMENT. The code then tries to sort the
account's transactions but uses the wrong field which causes a null pointer
exception (uses getCreatedDate (null) rather than get TrxnCreatedDate (proper
created value)). The good news is that this sort bug has been previously fixed
in 1.6.x. However, these 7 then get the problem in 2) below.
2) The offending code in the previous comment doesn't cater for the situation
where the trxn variable is a SAVINGS_INTEREST_POSTING. I think all that is
necessary is to not execute the offending bit for SAVINGS_INTEREST_POSTING (but
need to verify). When I did everything ran thru ok (doesn't mean it was right
tho). after 1st run 7 were left , after 2nd 4, after 3rd zero (it has to
handle each quarter).
Outstanding Action: talk to Jeff/Kay to determine if its okay to ignore
offending code for SAVINGS_INTEREST_POSTING.
> Interest not posting for savings accounts in 1.5
> ------------------------------------------------
>
> Key: MIFOS-3312
> URL: http://mifosforge.jira.com/browse/MIFOS-3312
> Project: mifos
> Issue Type: Bug
> Components: Savings Account
> Affects Versions: Release 1.5
> Reporter: jbrewster
> Assignee: johnwoodlock
> Priority: Critical
> Fix For: Shamim D, Release E - Iteration 2, Release E
>
> Attachments: debugMifoslog.txt, issue3312SavingsIntCalcErrors.txt,
> screenshot-1.jpg
>
>
> SECDEP reported several accounts were not posting interest on their 3 month
> interest posting date - 30 June 2010.
> I've confirmed that many accounts were flagged in the SavingsIntCalcTask as
> of 30 June. Previously, a few tasks were flagged every day (see MIFOS-2714).
> A large list appears every day starting 30 June. Note the attached list may
> be truncated and not completely list all failed postings.
>
>
>
>
> Here is the error listed in Mifos.log:
> org.mifos.framework.components.batchjobs.exceptions.BatchJobException: Failure
> at
> org.mifos.framework.components.batchjobs.helpers.SavingsIntCalcHelper.execute(SavingsIntCalcHelper.java:67)
> at
> org.mifos.framework.components.batchjobs.TaskHelper.perform(TaskHelper.java:201)
> at
> org.mifos.framework.components.batchjobs.TaskHelper.executeTask(TaskHelper.java:114)
> at
> org.mifos.framework.components.batchjobs.MifosTask.run(MifosTask.java:55)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> 2010-07-07/00:13:16.698/PHT INFO, org.mifos.framework.components.batchjobs,
> TaskHelper, executeTask, 113, SavingsIntCalcTask will run catch-up execution
> for Sat Jan 02 08:00:20 PHT 2010
> I've taken a snapshot of the SECDEP test database for further debugging.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues