[jira] [Commented] (FINERACT-1258) NPE at LoanAccountDomainServiceJpa.recalculateAccruals()
[ https://issues.apache.org/jira/browse/FINERACT-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17239108#comment-17239108 ] Yemdjih Kaze Nasser commented on FINERACT-1258: --- [~vorburger] I believe this issue has met its fix with the new tenant time zone implementation brought about after migrating Joda time to java time. I think it's safe to close this unless it's still happening. > NPE at LoanAccountDomainServiceJpa.recalculateAccruals() > > > Key: FINERACT-1258 > URL: https://issues.apache.org/jira/browse/FINERACT-1258 > Project: Apache Fineract > Issue Type: Bug > Components: Loan >Reporter: Michael Vorburger >Assignee: Yemdjih Kaze Nasser >Priority: Blocker > Labels: technical > > See FINERACT-932 for general background; I've found this in logs of > https://www.fineract.dev: > {code} > java.lang.NullPointerException > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals > (LoanAccountDomainServiceJpa.java:511) > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals > (LoanAccountDomainServiceJpa.java:476) > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$FastClassBySpringCGLIB$$526a2072.invoke > () > at org.springframework.cglib.proxy.MethodProxy.invoke > (MethodProxy.java:218) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept > (CglibAopProxy.java:687) > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$15a35201.recalculateAccruals > () > at > org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl.recalculateInterest > (LoanWritePlatformServiceJpaRepositoryImpl.java:2867) > at > org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$cb835224.invoke > () > at org.springframework.cglib.proxy.MethodProxy.invoke > (MethodProxy.java:218) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint > (CglibAopProxy.java:771) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed > (ReflectiveMethodInvocation.java:163) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed > (CglibAopProxy.java:749) > at > org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction > (TransactionAspectSupport.java:367) > at > org.springframework.transaction.interceptor.TransactionInterceptor.invoke > (TransactionInterceptor.java:118) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed > (ReflectiveMethodInvocation.java:186) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed > (CglibAopProxy.java:749) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept > (CglibAopProxy.java:691) > at > org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$dfda8657.recalculateInterest > () > at > org.apache.fineract.portfolio.loanaccount.service.LoanSchedularServiceImpl.recalculateInterest > (LoanSchedularServiceImpl.java:138) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native > Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:566) > at org.springframework.util.MethodInvoker.invoke > (MethodInvoker.java:283) > at > org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal > (MethodInvokingJobDetailFactoryBean.java:267) > at org.springframework.scheduling.quartz.QuartzJobBean.execute > (QuartzJobBean.java:75) > at org.quartz.core.JobRunShell.run (JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run > (SimpleThreadPool.java:573){code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (FINERACT-1258) NPE at LoanAccountDomainServiceJpa.recalculateAccruals()
[ https://issues.apache.org/jira/browse/FINERACT-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yemdjih Kaze Nasser reassigned FINERACT-1258: - Assignee: Yemdjih Kaze Nasser > NPE at LoanAccountDomainServiceJpa.recalculateAccruals() > > > Key: FINERACT-1258 > URL: https://issues.apache.org/jira/browse/FINERACT-1258 > Project: Apache Fineract > Issue Type: Bug > Components: Loan >Reporter: Michael Vorburger >Assignee: Yemdjih Kaze Nasser >Priority: Blocker > Labels: technical > > See FINERACT-932 for general background; I've found this in logs of > https://www.fineract.dev: > {code} > java.lang.NullPointerException > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals > (LoanAccountDomainServiceJpa.java:511) > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa.recalculateAccruals > (LoanAccountDomainServiceJpa.java:476) > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$FastClassBySpringCGLIB$$526a2072.invoke > () > at org.springframework.cglib.proxy.MethodProxy.invoke > (MethodProxy.java:218) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept > (CglibAopProxy.java:687) > at > org.apache.fineract.portfolio.loanaccount.domain.LoanAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$15a35201.recalculateAccruals > () > at > org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl.recalculateInterest > (LoanWritePlatformServiceJpaRepositoryImpl.java:2867) > at > org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$cb835224.invoke > () > at org.springframework.cglib.proxy.MethodProxy.invoke > (MethodProxy.java:218) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint > (CglibAopProxy.java:771) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed > (ReflectiveMethodInvocation.java:163) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed > (CglibAopProxy.java:749) > at > org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction > (TransactionAspectSupport.java:367) > at > org.springframework.transaction.interceptor.TransactionInterceptor.invoke > (TransactionInterceptor.java:118) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed > (ReflectiveMethodInvocation.java:186) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed > (CglibAopProxy.java:749) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept > (CglibAopProxy.java:691) > at > org.apache.fineract.portfolio.loanaccount.service.LoanWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$dfda8657.recalculateInterest > () > at > org.apache.fineract.portfolio.loanaccount.service.LoanSchedularServiceImpl.recalculateInterest > (LoanSchedularServiceImpl.java:138) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native > Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:566) > at org.springframework.util.MethodInvoker.invoke > (MethodInvoker.java:283) > at > org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal > (MethodInvokingJobDetailFactoryBean.java:267) > at org.springframework.scheduling.quartz.QuartzJobBean.execute > (QuartzJobBean.java:75) > at org.quartz.core.JobRunShell.run (JobRunShell.java:202) > at org.quartz.simpl.SimpleThreadPool$WorkerThread.run > (SimpleThreadPool.java:573){code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-756) Scheduler job fails If we enter date manually without using date-picker
[ https://issues.apache.org/jira/browse/FINERACT-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17239089#comment-17239089 ] Yemdjih Kaze Nasser commented on FINERACT-756: -- This is probably a problem with date format which subsequently sends invalid date input to the backend hence this will keep occurring. Using the date picker is just safer. > Scheduler job fails If we enter date manually without using date-picker > --- > > Key: FINERACT-756 > URL: https://issues.apache.org/jira/browse/FINERACT-756 > Project: Apache Fineract > Issue Type: Bug > Components: System >Affects Versions: 1.3.0 >Reporter: Santosh Math >Priority: Major > Labels: p1 > Fix For: 1.5.0 > > > 1) Go to any savings account and click on 'More' > 2) Select 'Add Charge' , give the inputs (select the weekly fee) and enter > the date 'Due for Collection on' manually , ie.. by typing it. Don't use > date-picker. > > If you run the scheduler job 'Pay Due for Savings' , it's failing. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (FINERACT-1069) RecurringDepositTest / FixedDepositTests failing on 1st of month
[ https://issues.apache.org/jira/browse/FINERACT-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yemdjih Kaze Nasser reassigned FINERACT-1069: - Assignee: (was: Yemdjih Kaze Nasser) > RecurringDepositTest / FixedDepositTests failing on 1st of month > > > Key: FINERACT-1069 > URL: https://issues.apache.org/jira/browse/FINERACT-1069 > Project: Apache Fineract > Issue Type: Bug >Reporter: Petri Tuomola >Priority: Major > > It seems that the calculation to determine expected interest in > RecurringDepositTest / FixedDepositTest breaks on 1st day of (each or some?) > months: seems that the logic calculates one day too much interest, and hence > the tests fail. This can be reproduced by setting system time to e.g. 1st > July and running the tests. This should be fixed as otherwise the builds will > always fail on this once a month. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (FINERACT-27) Rescheduling Repayments that fall On Holidays, to a period of 30 days
[ https://issues.apache.org/jira/browse/FINERACT-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yemdjih Kaze Nasser reassigned FINERACT-27: --- Assignee: Yemdjih Kaze Nasser > Rescheduling Repayments that fall On Holidays, to a period of 30 days > - > > Key: FINERACT-27 > URL: https://issues.apache.org/jira/browse/FINERACT-27 > Project: Apache Fineract > Issue Type: Improvement > Components: Loan >Reporter: Dayna Harp >Assignee: Yemdjih Kaze Nasser >Priority: Major > > https://mifosforge.jira.com/browse/MIFOSX-2439 > I have a concern that is really an inconvenience to our clients on Mifos > concerning the Holiday functionality. > REPRO STEPS > 1. go to Admin Tab >Organization >Manage Holidays >Create Holiday > 2. enter the Holiday parameters: > .Name*, From date*,To date* ,Repayment scheduled to* ,Description etc > PREFERRED OUTCOME: > 3: Our preferred scenario is to be able to reschedule the repayment > date for instance in the next 30 days (Conducive for > organizations where repayments are made on a monthly) > OUTCOME: > Error: Repayments rescheduled to date must be within 7 days before or > after from date and to date respectively. > REQUIRED: > Our recommendation is to have the above 7 day restriction increased to > about 30 days. > Please Advise on how soon this amendments can be implemented. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (FINERACT-503) loan product missing after creation
[ https://issues.apache.org/jira/browse/FINERACT-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yemdjih Kaze Nasser closed FINERACT-503. Assignee: Yemdjih Kaze Nasser Resolution: Works for Me > loan product missing after creation > --- > > Key: FINERACT-503 > URL: https://issues.apache.org/jira/browse/FINERACT-503 > Project: Apache Fineract > Issue Type: Bug > Components: Loan > Environment: ubuntu > fineract 16.12.01 >Reporter: Kevin >Assignee: Yemdjih Kaze Nasser >Priority: Major > Attachments: missing-loanproduct.jpg > > > After creating a Loan Product, It doesn't appear on loan product listings > page. > please see the attachment. > However when you query the platform directly e.g. > https://SERVERIP:8443/fineract-provider/api/v1/loanproducts/2?tenantIdentifier=default=true > the loan product details exist. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1260) EntityExistsException: Cannot delete or update a parent row: a foreign key constraint fails (`fineract_default`.`m_loan_transaction_repayment_schedule_mapping`, CONS
[ https://issues.apache.org/jira/browse/FINERACT-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17239067#comment-17239067 ] Yemdjih Kaze Nasser commented on FINERACT-1260: --- I wish the logs could say a little more. Could really help in resolving this issue. > EntityExistsException: Cannot delete or update a parent row: a foreign key > constraint fails > (`fineract_default`.`m_loan_transaction_repayment_schedule_mapping`, > CONSTRAINT `FK_mappings_m_loan_repayment_schedule`... > -- > > Key: FINERACT-1260 > URL: https://issues.apache.org/jira/browse/FINERACT-1260 > Project: Apache Fineract > Issue Type: Bug > Components: Loan >Reporter: Michael Vorburger >Priority: Blocker > > See FINERACT-932 for general background; I've found this in logs of > [https://www.fineract.dev:|https://www.fineract.dev/] > {code:java} > Caused by: org.apache.openjpa.persistence.EntityExistsException: The > transaction has been rolled back. See the nested exceptions for details on > the errors that occurred. at > org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2470) > ~[openjpa-3.1.2.jar:3.1.2] at > org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2308) > ~[openjpa-3.1.2.jar:3.1.2] at > org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2199) > ~[openjpa-3.1.2.jar:3.1.2] at > org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:2116) > ~[openjpa-3.1.2.jar:3.1.2] at > org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:84) > ~[openjpa-3.1.2.jar:3.1.2] at > org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1600) > ~[openjpa-3.1.2.jar:3.1.2] at > org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:1035) > ~[openjpa-3.1.2.jar:3.1.2] at > org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:669) > ~[openjpa-3.1.2.jar:3.1.2] at > org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:534) > ~[spring-orm-5.2.10.RELEASE.jar:5.2.10.RELEASE] ... 19 common frames omitted > Caused by: org.apache.openjpa.persistence.EntityExistsException: Cannot > delete or update a parent row: a foreign key constraint fails > (`fineract_default`.`m_loan_transaction_repayment_schedule_mapping`, > CONSTRAINT `FK_mappings_m_loan_repayment_schedule` FOREIGN KEY > (`loan_repayment_schedule_id`) REFERENCES `m_loan_repayment_s){code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)