You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/05/09 11:35:00 UTC
[jira] [Resolved] (FINERACT-957) NullPointerException in
SavingsAccount.office() and SavingsAccount.officeId()
[ https://issues.apache.org/jira/browse/FINERACT-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Vorburger resolved FINERACT-957.
----------------------------------------
Resolution: Fixed
> NullPointerException in SavingsAccount.office() and SavingsAccount.officeId()
> -----------------------------------------------------------------------------
>
> Key: FINERACT-957
> URL: https://issues.apache.org/jira/browse/FINERACT-957
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Michael Vorburger
> Assignee: Michael Vorburger
> Priority: Critical
> Fix For: 1.4.0
>
>
> While investigating FINERACT-922, and through FINERACT-858, I'm locally seeing the following errors when I run [https://github.com/apache/fineract/pull/817] :
> {code:java}03:14:10.573 [Scheduler1group1_Worker-1] ERROR o.a.f.p.s.s.SavingsSchedularServiceImpl - Failed to post interest for Savings with id 1
> java.lang.NullPointerException: null
> at org.apache.fineract.portfolio.savings.domain.SavingsAccount.officeId(SavingsAccount.java:1576)
> at org.apache.fineract.portfolio.savings.domain.SavingsAccount.deriveAccountingBridgeData(SavingsAccount.java:1486)
> at org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.postJournalEntries(SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:1283)
> at org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.postInterest(SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:568){code}
> as well as (slightly different, note {{office()}} VS {{officeId()}}):
> {code:java}03:14:10.584 [Scheduler1group1_Worker-1] ERROR o.a.f.p.s.s.SavingsSchedularServiceImpl - Failed to post interest for Savings with id 8
> java.lang.NullPointerException: null
> at org.apache.fineract.portfolio.savings.domain.SavingsAccount.office(SavingsAccount.java:1586)
> at org.apache.fineract.portfolio.savings.domain.SavingsAccount.postInterest(SavingsAccount.java:511)
> at org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.postInterest(SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:556)
> at org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$fa18015c.invoke(<generated>){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)