in log:
java.lang.NullPointerException: null
at io.fundrequest.platform.keycloak.KeycloakRepositoryImpl.isCurrentAddressSameAsNew(KeycloakRepositoryImpl.java:75) ~[keycloak-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
at io.fundrequest.platform.keycloak.KeycloakRepositoryImpl.updateEtherAddress(KeycloakRepositoryImpl.java:67) ~[keycloak-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
at io.fundrequest.platform.profile.profile.ProfileServiceImpl.updateEtherAddress(ProfileServiceImpl.java:127) ~[profile-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
at io.fundrequest.platform.profile.profile.ProfileServiceImpl$$FastClassBySpringCGLIB$$96c7dbc5.invoke() ~[profile-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation(CacheAspectSupport.java:342) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:405) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:324) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at io.fundrequest.platform.profile.profile.ProfileServiceImpl$$EnhancerBySpringCGLIB$$fb89e488.updateEtherAddress() ~[profile-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
at io.fundrequest.platform.tweb.profile.ProfileController.updateAddress(ProfileController.java:94) ~[classes!/:0.0.1-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
Expected behaviour
New ether address is saved
Actual behaviour
error happens
in log: java.lang.NullPointerException: null at io.fundrequest.platform.keycloak.KeycloakRepositoryImpl.isCurrentAddressSameAsNew(KeycloakRepositoryImpl.java:75) ~[keycloak-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT] at io.fundrequest.platform.keycloak.KeycloakRepositoryImpl.updateEtherAddress(KeycloakRepositoryImpl.java:67) ~[keycloak-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT] at io.fundrequest.platform.profile.profile.ProfileServiceImpl.updateEtherAddress(ProfileServiceImpl.java:127) ~[profile-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT] at io.fundrequest.platform.profile.profile.ProfileServiceImpl$$FastClassBySpringCGLIB$$96c7dbc5.invoke() ~[profile-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheAspectSupport.invokeOperation(CacheAspectSupport.java:342) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:405) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:324) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) ~[spring-context-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673) ~[spring-aop-4.3.16.RELEASE.jar!/:4.3.16.RELEASE]
at io.fundrequest.platform.profile.profile.ProfileServiceImpl$$EnhancerBySpringCGLIB$$fb89e488.updateEtherAddress() ~[profile-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT]
at io.fundrequest.platform.tweb.profile.ProfileController.updateAddress(ProfileController.java:94) ~[classes!/:0.0.1-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
Steps to reproduce the behaviour