[ https://issues.apache.org/jira/browse/FINERACT-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405789#comment-17405789 ]
Vishal Moorthy commented on FINERACT-1155: ------------------------------------------ I am not able to reproduce this issue. Can I get the scenario or json through which it is happening ? > NPE at AddressWritePlatformServiceImpl.addNewClientAddress() > ------------------------------------------------------------ > > Key: FINERACT-1155 > URL: https://issues.apache.org/jira/browse/FINERACT-1155 > Project: Apache Fineract > Issue Type: Bug > Components: Client > Affects Versions: 1.4.0 > Reporter: Michael Vorburger > Assignee: Manthan Surkar > Priority: Blocker > Labels: beginner > Fix For: 1.6.0 > > > See FINERACT-932 for general background, and fix this problem: > {noformat} java.lang.NullPointerException > at > org.apache.fineract.portfolio.address.service.AddressWritePlatformServiceImpl.addNewClientAddress > (AddressWritePlatformServiceImpl.java:136) > at > org.apache.fineract.portfolio.client.service.ClientWritePlatformServiceJpaRepositoryImpl.createClient > (ClientWritePlatformServiceJpaRepositoryImpl.java:329) > at > org.apache.fineract.portfolio.client.service.ClientWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$71ca1b7f.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.portfolio.client.service.ClientWritePlatformServiceJpaRepositoryImpl$$EnhancerBySpringCGLIB$$f240e1f6.createClient > (<generated>) > at > org.apache.fineract.portfolio.client.handler.CreateClientCommandHandler.processCommand > (CreateClientCommandHandler.java:45) > at > org.apache.fineract.portfolio.client.handler.CreateClientCommandHandler$$FastClassBySpringCGLIB$$6bce1ca9.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.portfolio.client.handler.CreateClientCommandHandler$$EnhancerBySpringCGLIB$$15d9efb4.processCommand > (<generated>) > 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$$79fd2736.processAndLogCommand > (<generated>) > at > org.apache.fineract.commands.service.PortfolioCommandSourceWritePlatformServiceImpl.logCommandSource > (PortfolioCommandSourceWritePlatformServiceImpl.java:98) > 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$$d2a23adf.logCommandSource > (<generated>) > at org.apache.fineract.portfolio.client.api.ClientsApiResource.create > (ClientsApiResource.java:245){noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)