FundRequest / platform

FundRequest platform code (core)

Home Page:https://fundrequest.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to save new ether address

alpa-coder opened this issue · comments

Expected behaviour

New ether address is saved

Actual behaviour

error happens
afbeelding.png

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

  • save new ether address