[jira] [Updated] (FINERACT-1270) Unify Fineract 3 (!) different email sender utilities

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1270:

Description: 
While looking into addressing FINERACT-1092, I've just noticed that the 
Fineract code base has not 1 and not 2 but 3 (!) classes which send email:

* 
org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService
* 
org.apache.fineract.infrastructure.campaigns.email.service.EmailMessageJobEmailServiceImpl
* 
org.apache.fineract.infrastructure.reportmailingjob.service.ReportMailingJobEmailServiceImpl

The best thing is that 2 of those use {{org.springframework.mail.javamail}} 
whereas the 3rd (and probably oldest?) uses {{org.apache.commons.mail}} instead.

They, apparently, also use 3 completely different mail server configurations in 
the database! This doesn't make any sense - I cannot imagine anyone wanting to 
use 3 different mail server for 3 purposes.

Let's merge all this? Best step by step, in a series of several small PRs, 
instead of 1 big one. The DB change may also require DB migration scripts to 
remove the old config (depending on how we want to "migrate").

  was:
While looking into addressing FINERACT-1092, I've just noticed that the 
Fineract code base has not 1 and not 2 but 3 (!) classes which send email:

* 
org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService
* 
org.apache.fineract.infrastructure.campaigns.email.service.EmailMessageJobEmailServiceImpl
* 
org.apache.fineract.infrastructure.reportmailingjob.service.ReportMailingJobEmailServiceImpl

The best thing is that 2 of those use {{org.springframework.mail.javamail}} 
whereas the 3rd (and probably oldest?) uses {{org.apache.commons.mail}} instead.

They, apparently, also use 3 completely different mail server configurations in 
the database! This doesn't make any sense - I cannot imagine anyone wanting to 
use 3 different mail server for 3 purposes.

Let's merge all this?


> Unify Fineract 3 (!) different email sender utilities
> -
>
> Key: FINERACT-1270
> URL: https://issues.apache.org/jira/browse/FINERACT-1270
> Project: Apache Fineract
>  Issue Type: Improvement
>Reporter: Michael Vorburger
>Priority: Major
>
> While looking into addressing FINERACT-1092, I've just noticed that the 
> Fineract code base has not 1 and not 2 but 3 (!) classes which send email:
> * 
> org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService
> * 
> org.apache.fineract.infrastructure.campaigns.email.service.EmailMessageJobEmailServiceImpl
> * 
> org.apache.fineract.infrastructure.reportmailingjob.service.ReportMailingJobEmailServiceImpl
> The best thing is that 2 of those use {{org.springframework.mail.javamail}} 
> whereas the 3rd (and probably oldest?) uses {{org.apache.commons.mail}} 
> instead.
> They, apparently, also use 3 completely different mail server configurations 
> in the database! This doesn't make any sense - I cannot imagine anyone 
> wanting to use 3 different mail server for 3 purposes.
> Let's merge all this? Best step by step, in a series of several small PRs, 
> instead of 1 big one. The DB change may also require DB migration scripts to 
> remove the old config (depending on how we want to "migrate").



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FINERACT-1270) Unify Fineract 3 (!) different email sender utilities

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1270:

Description: 
While looking into addressing FINERACT-1092, I've just noticed that the 
Fineract code base has not 1 and not 2 but 3 (!) classes which send email:

* 
org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService
* 
org.apache.fineract.infrastructure.campaigns.email.service.EmailMessageJobEmailServiceImpl
* 
org.apache.fineract.infrastructure.reportmailingjob.service.ReportMailingJobEmailServiceImpl

The best thing is that 2 of those use {{org.springframework.mail.javamail}} 
whereas the 3rd (and probably oldest?) uses {{org.apache.commons.mail}} instead.

They, apparently, also use 3 completely different mail server configurations in 
the database! This doesn't make any sense - I cannot imagine anyone wanting to 
use 3 different mail server for 3 purposes.

Let's merge all this?

  was:
While looking into addressing FINERACT-1092, I've just noticed that the 
Fineract code base has not 1 and not 2 but 3 (!) classes which send email:

* 
org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService
* 
org.apache.fineract.infrastructure.campaigns.email.service.EmailMessageJobEmailServiceImpl
* 
org.apache.fineract.infrastructure.reportmailingjob.service.ReportMailingJobEmailServiceImpl

The best thing is that 2 of those use {{org.springframework.mail.javamail}} 
whereas the 3rd (and probably oldest?) uses {{org.apache.commons.mail}} instead.

They, apparently, also use 2 completely different configurations!

Let's merge all this?


> Unify Fineract 3 (!) different email sender utilities
> -
>
> Key: FINERACT-1270
> URL: https://issues.apache.org/jira/browse/FINERACT-1270
> Project: Apache Fineract
>  Issue Type: Improvement
>Reporter: Michael Vorburger
>Priority: Major
>
> While looking into addressing FINERACT-1092, I've just noticed that the 
> Fineract code base has not 1 and not 2 but 3 (!) classes which send email:
> * 
> org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService
> * 
> org.apache.fineract.infrastructure.campaigns.email.service.EmailMessageJobEmailServiceImpl
> * 
> org.apache.fineract.infrastructure.reportmailingjob.service.ReportMailingJobEmailServiceImpl
> The best thing is that 2 of those use {{org.springframework.mail.javamail}} 
> whereas the 3rd (and probably oldest?) uses {{org.apache.commons.mail}} 
> instead.
> They, apparently, also use 3 completely different mail server configurations 
> in the database! This doesn't make any sense - I cannot imagine anyone 
> wanting to use 3 different mail server for 3 purposes.
> Let's merge all this?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FINERACT-1092) Technical System Parameters should be able to be specfified via environment variables instead of by REST API & DB

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240036#comment-17240036
 ] 

Michael Vorburger commented on FINERACT-1092:
-

FINERACT-1270 fixing first seems in order before proceeding with this.

> Technical System Parameters should be able to be specfified via environment 
> variables instead of by REST API & DB
> -
>
> Key: FINERACT-1092
> URL: https://issues.apache.org/jira/browse/FINERACT-1092
> Project: Apache Fineract
>  Issue Type: New Feature
>Reporter: Michael Vorburger
>Priority: Major
>
> Fineract currently lets an (the initla) Administrator end-user specify 
> "system parameters" via the REST API (and thus the end-user UI). This makes 
> sense for many of those "functional" parameters, but I would like to suggest 
> --for discussion-- that for some of the more low-level "technical" 
> parameters, such as the choice and configuration of the Content Repository 
> (local file VS AWS vs future GCS in FINERACT-955), or for the outgoing email 
> configuration e.g. for 
> [https://github.com/vorburger/www.fineract.dev/issues/1] that is actually not 
> ideal...
>  
> ... because, as an "operator" (the IT guy who runs the server) you may not 
> really want your "end-users" to both CHANGE your technical system 
> configuration, nor perhaps let them SEE something like the credentials for 
> your SMTP server, etc.
>  
> A pragmatic solution to this would be to let operators specify any of of 
> those "Fineract system configuration" through environment variables. If they 
> are set, POST-ing changes through the API layer should be refused (with a 
> reasonable clear error message why; perhaps even including the number of this 
> bug, but certainly NOT include revealing the respective parameter's current 
> value).
>  
> This is admittedly more of an issue for a "hosted offering" like Fineract.dev 
> or others like it than for "regular single tenant in-house on premise 
> deployment" by an MFI like institution.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (FINERACT-1270) Unify Fineract 3 (!) different email sender utilities

2020-11-28 Thread Michael Vorburger (Jira)
Michael Vorburger created FINERACT-1270:
---

 Summary: Unify Fineract 3 (!) different email sender utilities
 Key: FINERACT-1270
 URL: https://issues.apache.org/jira/browse/FINERACT-1270
 Project: Apache Fineract
  Issue Type: Improvement
Reporter: Michael Vorburger


While looking into addressing FINERACT-1092, I've just noticed that the 
Fineract code base has not 1 and not 2 but 3 (!) classes which send email:

* 
org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService
* 
org.apache.fineract.infrastructure.campaigns.email.service.EmailMessageJobEmailServiceImpl
* 
org.apache.fineract.infrastructure.reportmailingjob.service.ReportMailingJobEmailServiceImpl

The best thing is that 2 of those use {{org.springframework.mail.javamail}} 
whereas the 3rd (and probably oldest?) uses {{org.apache.commons.mail}} instead.

They, apparently, also use 2 completely different configurations!

Let's merge all this?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FINERACT-1269) JsonSyntaxException: MalformedJsonException: at SynchronousCommandProcessingService.publishEvent

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240032#comment-17240032
 ] 

Michael Vorburger commented on FINERACT-1269:
-

Oh... I got it! :P Our "regular" malformed JSON error handled works just fine, 
I've just tried it out, and I do get a HTTP 400 response e.g. like this:

{code}{
"developerMessage": "The JSON syntax provided in the body of the request is 
invalid: java.io.EOFException: End of input at line 1 column 6 path $.bad",
"defaultUserMessage": "The JSON syntax provided in the body of the request 
is invalid: java.io.EOFException: End of input at line 1 column 6 path $.bad",
"userMessageGlobalisationCode": "error.msg.invalid.request.body",
"parameterName": "id",
"value": null,
"args": []
}{code}

But this is something slightly different - this comes from the (current version 
of code on the develop branch) from the {{LOG.error("Error", e);}} in 
{{SynchronousCommandProcessingService.publishEvent()}}. And it's because of 
line 273 {{Map errorMap = gson.fromJson(ex.getMessage(), 
type);}}. That... doesn't seem right, to me. I haven't looked into the full 
details (and I don't really have the time to), but that code seems to make an 
implicit assumption that {{ErrorInfo}}'s {{getMessage()}} is valid JSON. 
However, that's clearly not the case here... :D

This is brand new code, this comes from [~fynmanoj] 
https://github.com/apache/fineract/pull/1488 for FINERACT-1241 (FYI 
[~avikganguly010] [~avikg]? [~avikganguly]?). Would you like to raise a PR to 
fix this bug? Or may I just go ahead and remove that error handling which seems 
wrong?

> JsonSyntaxException: MalformedJsonException: at 
> SynchronousCommandProcessingService.publishEvent
> 
>
> Key: FINERACT-1269
> URL: https://issues.apache.org/jira/browse/FINERACT-1269
> Project: Apache Fineract
>  Issue Type: Bug
>Affects Versions: 1.5.0
>Reporter: Michael Vorburger
>Assignee: Michael Vorburger
>Priority: Blocker
> Fix For: 1.5.0
>
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java}com.google.gson.JsonSyntaxException: 
> com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 
> column 55 path $.
> at com.google.gson.Gson.fromJson (Gson.java:947)
> at com.google.gson.Gson.fromJson (Gson.java:897)
> at com.google.gson.Gson.fromJson (Gson.java:846)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishEvent
>  (SynchronousCommandProcessingService.java:273)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishErrorEvent
>  (SynchronousCommandProcessingService.java:236)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
>  (SynchronousCommandProcessingService.java:98)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.commands.service.SynchronousCommandProcessingService$$EnhancerBySpringCGLIB$$3f40ed52.processAndLogCommand
>  ()
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource
>  (PortfolioCommandSourceWritePlatformServiceImpl.java:99)
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.invoke
>  ()
> at org.springframework.cglib.proxy.MethodProxy.invoke 
> (Method

[jira] [Updated] (FINERACT-1269) JsonSyntaxException: MalformedJsonException: at SynchronousCommandProcessingService.publishEvent

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1269:

Affects Version/s: 1.5.0

> JsonSyntaxException: MalformedJsonException: at 
> SynchronousCommandProcessingService.publishEvent
> 
>
> Key: FINERACT-1269
> URL: https://issues.apache.org/jira/browse/FINERACT-1269
> Project: Apache Fineract
>  Issue Type: Bug
>Affects Versions: 1.5.0
>Reporter: Michael Vorburger
>Assignee: Michael Vorburger
>Priority: Blocker
> Fix For: 1.5.0
>
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java}com.google.gson.JsonSyntaxException: 
> com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 
> column 55 path $.
> at com.google.gson.Gson.fromJson (Gson.java:947)
> at com.google.gson.Gson.fromJson (Gson.java:897)
> at com.google.gson.Gson.fromJson (Gson.java:846)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishEvent
>  (SynchronousCommandProcessingService.java:273)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishErrorEvent
>  (SynchronousCommandProcessingService.java:236)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
>  (SynchronousCommandProcessingService.java:98)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.commands.service.SynchronousCommandProcessingService$$EnhancerBySpringCGLIB$$3f40ed52.processAndLogCommand
>  ()
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource
>  (PortfolioCommandSourceWritePlatformServiceImpl.java:99)
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.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.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$EnhancerBySpringCGLIB$$97e600fb.logCommandSource
>  ()
> at 
> org.apache.fineract.organisation.office.api.OfficesApiResource.createOffice 
> (OfficesApiResource.java:162){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FINERACT-1269) JsonSyntaxException: MalformedJsonException: at SynchronousCommandProcessingService.publishEvent

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1269:

Fix Version/s: 1.5.0

> JsonSyntaxException: MalformedJsonException: at 
> SynchronousCommandProcessingService.publishEvent
> 
>
> Key: FINERACT-1269
> URL: https://issues.apache.org/jira/browse/FINERACT-1269
> Project: Apache Fineract
>  Issue Type: Bug
>Reporter: Michael Vorburger
>Assignee: Michael Vorburger
>Priority: Blocker
> Fix For: 1.5.0
>
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java}com.google.gson.JsonSyntaxException: 
> com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 
> column 55 path $.
> at com.google.gson.Gson.fromJson (Gson.java:947)
> at com.google.gson.Gson.fromJson (Gson.java:897)
> at com.google.gson.Gson.fromJson (Gson.java:846)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishEvent
>  (SynchronousCommandProcessingService.java:273)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishErrorEvent
>  (SynchronousCommandProcessingService.java:236)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
>  (SynchronousCommandProcessingService.java:98)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.commands.service.SynchronousCommandProcessingService$$EnhancerBySpringCGLIB$$3f40ed52.processAndLogCommand
>  ()
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource
>  (PortfolioCommandSourceWritePlatformServiceImpl.java:99)
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.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.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$EnhancerBySpringCGLIB$$97e600fb.logCommandSource
>  ()
> at 
> org.apache.fineract.organisation.office.api.OfficesApiResource.createOffice 
> (OfficesApiResource.java:162){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (FINERACT-1269) JsonSyntaxException: MalformedJsonException: at SynchronousCommandProcessingService.publishEvent

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger reassigned FINERACT-1269:
---

Assignee: Michael Vorburger

> JsonSyntaxException: MalformedJsonException: at 
> SynchronousCommandProcessingService.publishEvent
> 
>
> Key: FINERACT-1269
> URL: https://issues.apache.org/jira/browse/FINERACT-1269
> Project: Apache Fineract
>  Issue Type: Bug
>Reporter: Michael Vorburger
>Assignee: Michael Vorburger
>Priority: Blocker
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java}com.google.gson.JsonSyntaxException: 
> com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 
> column 55 path $.
> at com.google.gson.Gson.fromJson (Gson.java:947)
> at com.google.gson.Gson.fromJson (Gson.java:897)
> at com.google.gson.Gson.fromJson (Gson.java:846)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishEvent
>  (SynchronousCommandProcessingService.java:273)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishErrorEvent
>  (SynchronousCommandProcessingService.java:236)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
>  (SynchronousCommandProcessingService.java:98)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.commands.service.SynchronousCommandProcessingService$$EnhancerBySpringCGLIB$$3f40ed52.processAndLogCommand
>  ()
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource
>  (PortfolioCommandSourceWritePlatformServiceImpl.java:99)
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.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.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$EnhancerBySpringCGLIB$$97e600fb.logCommandSource
>  ()
> at 
> org.apache.fineract.organisation.office.api.OfficesApiResource.createOffice 
> (OfficesApiResource.java:162){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FINERACT-1269) JsonSyntaxException: MalformedJsonException: at SynchronousCommandProcessingService.publishEvent

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240027#comment-17240027
 ] 

Michael Vorburger commented on FINERACT-1269:
-

This one is kind of interesting / curious... I've just noticed that we ALREADY 
have a 
{{org.apache.fineract.infrastructure.core.exceptionmapper.JsonSyntaxExceptionMapper}}
 which is supposed to "do the right thing", which is to return a HTTP 400 
client error, instead of log it as an error on the server side and presumably 
return a 500 internal server error to the client. The goal of resolving this 
issue would be to figure out what that doesn't actually seem to work? I'll try 
to see if I can easily spot anything obvious (but otherwise leave it to someone 
else to properly investigate this one further).

> JsonSyntaxException: MalformedJsonException: at 
> SynchronousCommandProcessingService.publishEvent
> 
>
> Key: FINERACT-1269
> URL: https://issues.apache.org/jira/browse/FINERACT-1269
> Project: Apache Fineract
>  Issue Type: Bug
>Reporter: Michael Vorburger
>Priority: Blocker
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java}com.google.gson.JsonSyntaxException: 
> com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 
> column 55 path $.
> at com.google.gson.Gson.fromJson (Gson.java:947)
> at com.google.gson.Gson.fromJson (Gson.java:897)
> at com.google.gson.Gson.fromJson (Gson.java:846)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishEvent
>  (SynchronousCommandProcessingService.java:273)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishErrorEvent
>  (SynchronousCommandProcessingService.java:236)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
>  (SynchronousCommandProcessingService.java:98)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.commands.service.SynchronousCommandProcessingService$$EnhancerBySpringCGLIB$$3f40ed52.processAndLogCommand
>  ()
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource
>  (PortfolioCommandSourceWritePlatformServiceImpl.java:99)
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.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.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$EnhancerBySpringCGLIB$$97e600fb.logCommandSource
>  ()
> at 
> org.apache.fineract.organisation.office.api.OfficesApiResource.createOffice 
> (OfficesApiResource.java:162){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (FINERACT-734) Credit Bureau Integration Phase 3

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger reassigned FINERACT-734:
--

Assignee: Rahul Pawar  (was: Michael Vorburger)

> Credit Bureau Integration Phase 3
> -
>
> Key: FINERACT-734
> URL: https://issues.apache.org/jira/browse/FINERACT-734
> Project: Apache Fineract
>  Issue Type: Improvement
>  Components: Loan
>Reporter: Nikhil Pawar
>Assignee: Rahul Pawar
>Priority: Major
> Fix For: 1.5.0
>
>
> This Jira summarizes the work done for credit bureau integration Project.
> Following were the prerequisites which were required for Credit Bureau 
> module, which have been implemented:
> 1) Address Module
> 2) Family Members module
>  
> The idea was to allow the users to map different loans with different credit 
> bureaus and develop a generic framework which handles the request(to credit 
> bureau) and response (from credit bureau).  
> The mapping module which would enable mapping of credit bureau to loans also 
> has been developed and has screen support in UI. 
> What is required to be done:
> Framework is to be developed, which would use the mapping (from mapping 
> module) and make request to required credit bureau. There are many ways to 
> achieve this :
> One can use this mapping and form object using factory pattern. 
> Interface Request
> implementation:
> CBRequest1 , CBRequest2
> based on the mapping , we can set properties in the implementation and form 
> request.
>  
> Similarly, we would need to have response module. Ideally this should be a 
> asynchronous service, which makes a request and then wait for response to 
> come in. However, this is an ideal  scenario. It completely depends on the 
> credit bureaus architecture. Based on my experience, it is mostly an API 
> based model wherein you make a request to REST API and response comes in. So 
> in this case, we would have to develop request response as tightly coupled 
> modules, we make request, we get response and we parse it all in one flow.
> [https://nikpawar89.github.io/]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (FINERACT-734) Credit Bureau Integration Phase 3

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger reassigned FINERACT-734:
--

Assignee: Michael Vorburger  (was: Rahul Pawar)

> Credit Bureau Integration Phase 3
> -
>
> Key: FINERACT-734
> URL: https://issues.apache.org/jira/browse/FINERACT-734
> Project: Apache Fineract
>  Issue Type: Improvement
>  Components: Loan
>Reporter: Nikhil Pawar
>Assignee: Michael Vorburger
>Priority: Major
> Fix For: 1.5.0
>
>
> This Jira summarizes the work done for credit bureau integration Project.
> Following were the prerequisites which were required for Credit Bureau 
> module, which have been implemented:
> 1) Address Module
> 2) Family Members module
>  
> The idea was to allow the users to map different loans with different credit 
> bureaus and develop a generic framework which handles the request(to credit 
> bureau) and response (from credit bureau).  
> The mapping module which would enable mapping of credit bureau to loans also 
> has been developed and has screen support in UI. 
> What is required to be done:
> Framework is to be developed, which would use the mapping (from mapping 
> module) and make request to required credit bureau. There are many ways to 
> achieve this :
> One can use this mapping and form object using factory pattern. 
> Interface Request
> implementation:
> CBRequest1 , CBRequest2
> based on the mapping , we can set properties in the implementation and form 
> request.
>  
> Similarly, we would need to have response module. Ideally this should be a 
> asynchronous service, which makes a request and then wait for response to 
> come in. However, this is an ideal  scenario. It completely depends on the 
> credit bureaus architecture. Based on my experience, it is mostly an API 
> based model wherein you make a request to REST API and response comes in. So 
> in this case, we would have to develop request response as tightly coupled 
> modules, we make request, we get response and we parse it all in one flow.
> [https://nikpawar89.github.io/]
>  
>  



--
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

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240023#comment-17240023
 ] 

Michael Vorburger commented on FINERACT-756:


What HTTP error does this return from the API? Which API end-point does this 
call? Any invalid date format should cause an HTTP 400 client error, not a 500 
internal server error.

FINERACT-1267 sounds a bit related to this.

> 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] [Updated] (FINERACT-27) Rescheduling Repayments that fall On Holidays, to a period of 30 days

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-27:
--
Fix Version/s: 1.5.0

> 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
> Fix For: 1.5.0
>
>
> 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] [Resolved] (FINERACT-27) Rescheduling Repayments that fall On Holidays, to a period of 30 days

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger resolved FINERACT-27.
---
Resolution: Fixed

> 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
> Fix For: 1.5.0
>
>
> 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] [Commented] (FINERACT-1258) NPE at LoanAccountDomainServiceJpa.recalculateAccruals()

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240021#comment-17240021
 ] 

Michael Vorburger commented on FINERACT-1258:
-

[~kaze] you mean by https://github.com/apache/fineract/pull/1179 for 
FINERACT-826? That was merged on October 24th. This exception only happened 4 
times in total, twice on Nov 4th and again twice on Nov 14th. The timeline 
doesn't entirely support the theory that it's fixed, but I had an issue with 
the auto-updating with Fineract.dev (it was "stuck"; and I've only recently 
fixed that; now it's auto-updating again as always), I'm therefore inclined to 
assume this was indeed fixed (and just delayed to rollout). Therefore closing 
this as a duplicate of FINERACT-826; we can always reopen it if we see it again.

> 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}

[jira] [Closed] (FINERACT-1258) NPE at LoanAccountDomainServiceJpa.recalculateAccruals()

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger closed FINERACT-1258.
---
Resolution: Fixed

> 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
> Fix For: 1.5.0
>
>
> 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] [Updated] (FINERACT-1258) NPE at LoanAccountDomainServiceJpa.recalculateAccruals()

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1258:

Fix Version/s: 1.5.0

> 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
> Fix For: 1.5.0
>
>
> 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] [Created] (FINERACT-1269) JsonSyntaxException: MalformedJsonException: at SynchronousCommandProcessingService.publishEvent

2020-11-28 Thread Michael Vorburger (Jira)
Michael Vorburger created FINERACT-1269:
---

 Summary: JsonSyntaxException: MalformedJsonException: at 
SynchronousCommandProcessingService.publishEvent
 Key: FINERACT-1269
 URL: https://issues.apache.org/jira/browse/FINERACT-1269
 Project: Apache Fineract
  Issue Type: Bug
Reporter: Michael Vorburger


See FINERACT-932 for general background; I've found this in logs of 
https://www.fineract.dev:

{code:java}com.google.gson.JsonSyntaxException: 
com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 
column 55 path $.

at com.google.gson.Gson.fromJson (Gson.java:947)
at com.google.gson.Gson.fromJson (Gson.java:897)
at com.google.gson.Gson.fromJson (Gson.java:846)
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishEvent
 (SynchronousCommandProcessingService.java:273)
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService.publishErrorEvent
 (SynchronousCommandProcessingService.java:236)
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
 (SynchronousCommandProcessingService.java:98)
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.commands.service.SynchronousCommandProcessingService$$EnhancerBySpringCGLIB$$3f40ed52.processAndLogCommand
 ()
at 
org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource
 (PortfolioCommandSourceWritePlatformServiceImpl.java:99)
at 
org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.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.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$EnhancerBySpringCGLIB$$97e600fb.logCommandSource
 ()
at 
org.apache.fineract.organisation.office.api.OfficesApiResource.createOffice 
(OfficesApiResource.java:162){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (FINERACT-1268) IllegalArgumentException: No enum constant ... at lang.Enum.valueOf()

2020-11-28 Thread Michael Vorburger (Jira)
Michael Vorburger created FINERACT-1268:
---

 Summary: IllegalArgumentException: No enum constant ... at 
lang.Enum.valueOf()
 Key: FINERACT-1268
 URL: https://issues.apache.org/jira/browse/FINERACT-1268
 Project: Apache Fineract
  Issue Type: Bug
Reporter: Michael Vorburger


See FINERACT-932 for general background; I've found this in logs of 
https://www.fineract.dev:

{code:java} java.lang.IllegalArgumentException: No enum constant 
org.apache.fineract.portfolio.client.domain.ClientIdentifierStatus.

at java.lang.Enum.valueOf (Enum.java:240)
at 
org.apache.fineract.portfolio.client.domain.ClientIdentifierStatus.valueOf 
(ClientIdentifierStatus.java:24)
at org.apache.fineract.portfolio.client.domain.ClientIdentifier. 
(ClientIdentifier.java:77)
at 
org.apache.fineract.portfolio.client.domain.ClientIdentifier.fromJson 
(ClientIdentifier.java:64)
at 
org.apache.fineract.portfolio.client.service.ClientIdentifierWritePlatformServiceJpaRepositoryImpl.addClientIdentifier
 (ClientIdentifierWritePlatformServiceJpaRepositoryImpl.java:91)
at 
org.apache.fineract.portfolio.client.service.ClientIdentifierWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$72a93416.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.client.service.ClientIdentifierWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$2e8230af.addClientIdentifier
 ()
at 
org.apache.fineract.portfolio.client.handler.CreateClientIdentifierCommandHandler.processCommand
 (CreateClientIdentifierCommandHandler.java:45)
at 
org.apache.fineract.portfolio.client.handler.CreateClientIdentifierCommandHandler$$FastClassBySpringCGLIB$$d3524d32.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.client.handler.CreateClientIdentifierCommandHandler$$EnhancerBySpringCGLIB$$d7780d83.processCommand
 ()
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
 (SynchronousCommandProcessingService.java:95)
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.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.springframewo

[jira] [Commented] (FINERACT-1267) NullPointerException at ChronoLocalDate.isEqual()

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240010#comment-17240010
 ] 

Michael Vorburger commented on FINERACT-1267:
-

This was seen 2 times on November 24th.

> NullPointerException at ChronoLocalDate.isEqual()
> -
>
> Key: FINERACT-1267
> URL: https://issues.apache.org/jira/browse/FINERACT-1267
> Project: Apache Fineract
>  Issue Type: Bug
>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}java.lang.NullPointerException: null
> at java.time.chrono.ChronoLocalDate.isEqual (ChronoLocalDate.java:765)
> at java.time.LocalDate.isEqual (LocalDate.java:2115)
> at 
> org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.validateTransactionsForTransfer
>  (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:1696)
> at 
> org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.initiateSavingsTransfer
>  (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:896)
> at 
> org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$fa18015c.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.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$c5a5819d.initiateSavingsTransfer
>  ()
> at 
> org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl.handleClientTransferLifecycleEvent
>  (TransferWritePlatformServiceJpaRepositoryImpl.java:434)
> at 
> org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl.proposeClientTransfer
>  (TransferWritePlatformServiceJpaRepositoryImpl.java:317)
> at 
> org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$f189347f.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.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$514a8e6.proposeClientTransfer
>  ()
> at 
> org.apache.fineract.portfolio.transfer.handler.ProposeClientTransferCommandHandler.processCommand
>  (ProposeClientTransferCommandHandler.java:45)
> at 
> org.apache.fineract.portfolio.transfer.handler.ProposeClientTransferCommandHandler$$FastClassBySpringCGLIB$$bd6f02f0.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 

[jira] [Created] (FINERACT-1267) NullPointerException at ChronoLocalDate.isEqual()

2020-11-28 Thread Michael Vorburger (Jira)
Michael Vorburger created FINERACT-1267:
---

 Summary: NullPointerException at ChronoLocalDate.isEqual()
 Key: FINERACT-1267
 URL: https://issues.apache.org/jira/browse/FINERACT-1267
 Project: Apache Fineract
  Issue Type: Bug
Reporter: Michael Vorburger


See FINERACT-932 for general background; I've found this in logs of 
[https://www.fineract.dev|https://www.fineract.dev]:

 
{code:java}java.lang.NullPointerException: null

at java.time.chrono.ChronoLocalDate.isEqual (ChronoLocalDate.java:765)
at java.time.LocalDate.isEqual (LocalDate.java:2115)
at 
org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.validateTransactionsForTransfer
 (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:1696)
at 
org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl.initiateSavingsTransfer
 (SavingsAccountWritePlatformServiceJpaRepositoryImpl.java:896)
at 
org.apache.fineract.portfolio.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$fa18015c.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.savings.service.SavingsAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$c5a5819d.initiateSavingsTransfer
 ()
at 
org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl.handleClientTransferLifecycleEvent
 (TransferWritePlatformServiceJpaRepositoryImpl.java:434)
at 
org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl.proposeClientTransfer
 (TransferWritePlatformServiceJpaRepositoryImpl.java:317)
at 
org.apache.fineract.portfolio.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$f189347f.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.transfer.service.TransferWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$514a8e6.proposeClientTransfer
 ()
at 
org.apache.fineract.portfolio.transfer.handler.ProposeClientTransferCommandHandler.processCommand
 (ProposeClientTransferCommandHandler.java:45)
at 
org.apache.fineract.portfolio.transfer.handler.ProposeClientTransferCommandHandler$$FastClassBySpringCGLIB$$bd6f02f0.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.transfer.handler.ProposeClientTransferCommandHandler$$EnhancerBySpringCGLIB$$4f7e22d9.processCommand
 ()
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogComm

[jira] [Commented] (FINERACT-1266) NullPointerException at SavingsHelper.determineInterestPostingPeriods()

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240009#comment-17240009
 ] 

Michael Vorburger commented on FINERACT-1266:
-

This, so far, happened 22 times, on November 26th.

> NullPointerException at SavingsHelper.determineInterestPostingPeriods()
> ---
>
> Key: FINERACT-1266
> URL: https://issues.apache.org/jira/browse/FINERACT-1266
> Project: Apache Fineract
>  Issue Type: Bug
>  Components: Savings
>Affects Versions: 1.4.0
>Reporter: Michael Vorburger
>Priority: Blocker
>  Labels: technical
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java} java.lang.NullPointerException: null
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsHelper.determineInterestPostingPeriods
>  (SavingsHelper.java:58)
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsAccount.calculateInterestUsing
>  (SavingsAccount.java:718)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.calculateInterestUsing
>  (FixedDepositAccount.java:652)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.postMaturityInterest
>  (FixedDepositAccount.java:529)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa.handleFDAccountClosure
>  (DepositAccountDomainServiceJpa.java:225)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa$$FastClassBySpringCGLIB$$70db88ca.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.savings.domain.DepositAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$6a89bf4b.handleFDAccountClosure
>  ()
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl.closeFDAccount
>  (DepositAccountWritePlatformServiceJpaRepositoryImpl.java:831)
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$8210a7c1.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.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$ac5cae90.closeFDAccount
>  ()
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler.processCommand
>  (CloseFixedDepositAccountCommandHandler.java:44)
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler$$FastClassBySpringCGLIB$$dab87d07.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:

[jira] [Updated] (FINERACT-1266) NullPointerException at SavingsHelper.determineInterestPostingPeriods()

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1266:

Affects Version/s: 1.4.0

> NullPointerException at SavingsHelper.determineInterestPostingPeriods()
> ---
>
> Key: FINERACT-1266
> URL: https://issues.apache.org/jira/browse/FINERACT-1266
> Project: Apache Fineract
>  Issue Type: Bug
>  Components: Savings
>Affects Versions: 1.4.0
>Reporter: Michael Vorburger
>Priority: Blocker
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java} java.lang.NullPointerException: null
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsHelper.determineInterestPostingPeriods
>  (SavingsHelper.java:58)
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsAccount.calculateInterestUsing
>  (SavingsAccount.java:718)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.calculateInterestUsing
>  (FixedDepositAccount.java:652)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.postMaturityInterest
>  (FixedDepositAccount.java:529)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa.handleFDAccountClosure
>  (DepositAccountDomainServiceJpa.java:225)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa$$FastClassBySpringCGLIB$$70db88ca.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.savings.domain.DepositAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$6a89bf4b.handleFDAccountClosure
>  ()
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl.closeFDAccount
>  (DepositAccountWritePlatformServiceJpaRepositoryImpl.java:831)
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$8210a7c1.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.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$ac5cae90.closeFDAccount
>  ()
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler.processCommand
>  (CloseFixedDepositAccountCommandHandler.java:44)
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler$$FastClassBySpringCGLIB$$dab87d07.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 
> (CglibAopPr

[jira] [Updated] (FINERACT-1266) NullPointerException at SavingsHelper.determineInterestPostingPeriods()

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1266:

Component/s: Savings

> NullPointerException at SavingsHelper.determineInterestPostingPeriods()
> ---
>
> Key: FINERACT-1266
> URL: https://issues.apache.org/jira/browse/FINERACT-1266
> Project: Apache Fineract
>  Issue Type: Bug
>  Components: Savings
>Reporter: Michael Vorburger
>Priority: Blocker
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java} java.lang.NullPointerException: null
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsHelper.determineInterestPostingPeriods
>  (SavingsHelper.java:58)
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsAccount.calculateInterestUsing
>  (SavingsAccount.java:718)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.calculateInterestUsing
>  (FixedDepositAccount.java:652)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.postMaturityInterest
>  (FixedDepositAccount.java:529)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa.handleFDAccountClosure
>  (DepositAccountDomainServiceJpa.java:225)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa$$FastClassBySpringCGLIB$$70db88ca.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.savings.domain.DepositAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$6a89bf4b.handleFDAccountClosure
>  ()
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl.closeFDAccount
>  (DepositAccountWritePlatformServiceJpaRepositoryImpl.java:831)
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$8210a7c1.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.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$ac5cae90.closeFDAccount
>  ()
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler.processCommand
>  (CloseFixedDepositAccountCommandHandler.java:44)
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler$$FastClassBySpringCGLIB$$dab87d07.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

[jira] [Created] (FINERACT-1266) NullPointerException at SavingsHelper.determineInterestPostingPeriods()

2020-11-28 Thread Michael Vorburger (Jira)
Michael Vorburger created FINERACT-1266:
---

 Summary: NullPointerException at 
SavingsHelper.determineInterestPostingPeriods()
 Key: FINERACT-1266
 URL: https://issues.apache.org/jira/browse/FINERACT-1266
 Project: Apache Fineract
  Issue Type: Bug
Reporter: Michael Vorburger


See FINERACT-932 for general background; I've found this in logs of 
https://www.fineract.dev:

{code:java} java.lang.NullPointerException: null

at 
org.apache.fineract.portfolio.savings.domain.SavingsHelper.determineInterestPostingPeriods
 (SavingsHelper.java:58)
at 
org.apache.fineract.portfolio.savings.domain.SavingsAccount.calculateInterestUsing
 (SavingsAccount.java:718)
at 
org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.calculateInterestUsing
 (FixedDepositAccount.java:652)
at 
org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.postMaturityInterest
 (FixedDepositAccount.java:529)
at 
org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa.handleFDAccountClosure
 (DepositAccountDomainServiceJpa.java:225)
at 
org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa$$FastClassBySpringCGLIB$$70db88ca.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.savings.domain.DepositAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$6a89bf4b.handleFDAccountClosure
 ()
at 
org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl.closeFDAccount
 (DepositAccountWritePlatformServiceJpaRepositoryImpl.java:831)
at 
org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$8210a7c1.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.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$ac5cae90.closeFDAccount
 ()
at 
org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler.processCommand
 (CloseFixedDepositAccountCommandHandler.java:44)
at 
org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler$$FastClassBySpringCGLIB$$dab87d07.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.savings.handler.CloseFixedDepositAccountCommandHandler$$EnhancerBySpringCGLIB$$9be8aa22.processCommand
 ()
at 
org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
 (SynchronousCommandProcessingService.java:95)
at 
org.apache.fineract.commands.service.Synchronou

[jira] [Updated] (FINERACT-1266) NullPointerException at SavingsHelper.determineInterestPostingPeriods()

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1266:

Labels: technical  (was: )

> NullPointerException at SavingsHelper.determineInterestPostingPeriods()
> ---
>
> Key: FINERACT-1266
> URL: https://issues.apache.org/jira/browse/FINERACT-1266
> Project: Apache Fineract
>  Issue Type: Bug
>  Components: Savings
>Affects Versions: 1.4.0
>Reporter: Michael Vorburger
>Priority: Blocker
>  Labels: technical
>
> See FINERACT-932 for general background; I've found this in logs of 
> https://www.fineract.dev:
> {code:java} java.lang.NullPointerException: null
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsHelper.determineInterestPostingPeriods
>  (SavingsHelper.java:58)
> at 
> org.apache.fineract.portfolio.savings.domain.SavingsAccount.calculateInterestUsing
>  (SavingsAccount.java:718)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.calculateInterestUsing
>  (FixedDepositAccount.java:652)
> at 
> org.apache.fineract.portfolio.savings.domain.FixedDepositAccount.postMaturityInterest
>  (FixedDepositAccount.java:529)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa.handleFDAccountClosure
>  (DepositAccountDomainServiceJpa.java:225)
> at 
> org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa$$FastClassBySpringCGLIB$$70db88ca.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.savings.domain.DepositAccountDomainServiceJpa$$EnhancerBySpringCGLIB$$6a89bf4b.handleFDAccountClosure
>  ()
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl.closeFDAccount
>  (DepositAccountWritePlatformServiceJpaRepositoryImpl.java:831)
> at 
> org.apache.fineract.portfolio.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$8210a7c1.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.savings.service.DepositAccountWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$ac5cae90.closeFDAccount
>  ()
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler.processCommand
>  (CloseFixedDepositAccountCommandHandler.java:44)
> at 
> org.apache.fineract.portfolio.savings.handler.CloseFixedDepositAccountCommandHandler$$FastClassBySpringCGLIB$$dab87d07.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$CglibMeth

[jira] [Resolved] (FINERACT-1262) Document production deployment SSL certificate configuration

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger resolved FINERACT-1262.
-
Resolution: Fixed

> Document production deployment SSL certificate configuration
> 
>
> Key: FINERACT-1262
> URL: https://issues.apache.org/jira/browse/FINERACT-1262
> Project: Apache Fineract
>  Issue Type: Bug
>Reporter: Michael Vorburger
>Assignee: Michael Vorburger
>Priority: Major
> Fix For: 1.5.0
>
>
> How to configure SSL certs seems to be a source of confusion; let's doc it.
> See e.g. the "Fineract SSL Certificate Issue" Q on 
> [d...@fineract.apache.org|mailto:d...@fineract.apache.org]
> and the Q from [~avikganguly010] in 
> [https://github.com/apache/fineract/pull/1501/files]
> I do have some ideas how to document this. But the real Q is perhaps why we 
> run with SSL in Dev.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (FINERACT-1173) Error Message in case of missing reporting implementation is confusing

2020-11-28 Thread Michael Vorburger (Jira)


 [ 
https://issues.apache.org/jira/browse/FINERACT-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger resolved FINERACT-1173.
-
Resolution: Fixed

> Error Message in case of missing reporting implementation is confusing
> --
>
> Key: FINERACT-1173
> URL: https://issues.apache.org/jira/browse/FINERACT-1173
> Project: Apache Fineract
>  Issue Type: Bug
>Reporter: Michael Vorburger
>Assignee: Michael Vorburger
>Priority: Major
> Fix For: 1.5.0
>
>
> While working on FINERACT-1127, I noticed that the Error Message in case of a 
> missing reporting implementation is pretty damn confusing.. this made it more 
> cnofusing for me to build https://github.com/vorburger/fineract-pentaho/ for 
> FINERACT-1127 than I thought this would be.
> In 1.4.0 Fineract for a URL like 
> API_URL}}/api/v1/runreports/Expected%20Payments%20By%20Date%20-%20Formatted?R_endDate=2013-04-30&R_loanOfficerId=-1&R_officeId=1&R_startDate=2013-04-16&output-type=PDF&R_officeId=1}}
>  is currently reporting "Reporting meta-data entry not found." (or "Report 
> Parameter with identifier " + id + " does not exist"; both from 
> {{ReportNotFoundException}}) - but that's otherwise used for a report that 
> cannot be found, and bubbles up from much later in the code.
> I'll raise a PR so that in 1.5.0 this surfaces much more clearly, and earlier 
> in the code, as a {{PlatformServiceUnavailableException}} with more more 
> obvious text: "There is no ReportingProcessService registered in the 
> ReportingProcessServiceProvider for this report type: "
> [~francisguchie] [~ptuomola] FYI.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FINERACT-1198) Gradle incremental build is broken

2020-11-28 Thread Michael Vorburger (Jira)


[ 
https://issues.apache.org/jira/browse/FINERACT-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240005#comment-17240005
 ] 

Michael Vorburger commented on FINERACT-1198:
-

> I would gladly merge a PR from anyone reverting spotlessApply if it helps to 
> improve the incremental build

FTR https://github.com/apache/fineract/pull/1507/ seems to have done that (I've 
not verified how much that help for this really).

> Gradle incremental build is broken
> --
>
> Key: FINERACT-1198
> URL: https://issues.apache.org/jira/browse/FINERACT-1198
> Project: Apache Fineract
>  Issue Type: Bug
>  Components: Build
>Reporter: Michael Vorburger
>Priority: Blocker
>
> One of the reasons why Gradle is (supposedly) so much cooler than e.g. Maven 
> is that it can be really support and support very fast "incremental" builds 
> (only rebuild what has changed).
> I have the impression that doesn't really work in Fineract, and suppose 
> that's not really Gradle's (core) fault, but some plugin which screws this 
> up? OpenJPA Enhancer, SpotBugs... presumably they all have to "play along" 
> for this to work perfectly?
> My Gradle foo isn't (nearly) good enough to know if it would be possible to 
> "fix" this, and how hard this may be, but filing an issue is perhaps a start 
> for getting input from people more knowledgeable about this.
> [~aleks] and/or [~ptuomola] perhaps you have ideas about this.
> [~aalmiray] as per chat during ApacheCon, not sure if this is the kind of 
> thing you may enjoy helping with?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)