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

Natasha Natarajan commented on FINERACT-1004:
---------------------------------------------

 The NullPointerException could be linked to the clientAddressObj missing the 
check for null within the updateClientAddress method.

> NPE in AddressWritePlatformServiceImpl.updateClientAddress()
> ------------------------------------------------------------
>
>                 Key: FINERACT-1004
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1004
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Assignee: Natasha Natarajan
>            Priority: Blocker
>
> See FINERACT-932 for general background, and fix this problem:
> {code}java.lang.NullPointerException
> at 
> org.apache.fineract.portfolio.address.service.AddressWritePlatformServiceImpl.updateClientAddress
>  (AddressWritePlatformServiceImpl.java:286)
> at 
> org.apache.fineract.portfolio.client.handler.UpdateClientAddressCommandHandler.processCommand
>  (UpdateClientAddressCommandHandler.java:47)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService.processAndLogCommand
>  (SynchronousCommandProcessingService.java:82)
> at 
> org.apache.fineract.commands.service.SynchronousCommandProcessingService$$FastClassBySpringCGLIB$$ec92d53f.invoke
>  (<generated>)
> 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:366)
> 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$$404952e5.processAndLogCommand
>  (<generated>)
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource
>  (PortfolioCommandSourceWritePlatformServiceImpl.java:96)
> at 
> org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl$$FastClassBySpringCGLIB$$31c15082.invoke
>  (<generated>)
> 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$$98ee668e.logCommandSource
>  (<generated>)
> at 
> org.apache.fineract.portfolio.client.api.ClientAddressApiResources.UpdateClientAddress
>  (ClientAddressApiResources.java:165){code}



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

Reply via email to