error importing by Mastecontent.xml e postgres database dump

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

error importing by Mastecontent.xml e postgres database dump

fabrizio.gulino
Ciao,
I've two instance of running syncope on two different ubuntu server.
Both fo them have been installed using the "Debian way". The DBMS used is the default postgres
One server is used as "devel" server and the second as "certification" server.

I need to import some changes made on the devel server to the certification server.

I've followed the guide [1] and also I've try to restore the database from "develop" to "certification".
None of the above solution is working for me: I'm not able to login into the console, using the admin credentials.
I've these errors in the logs:

Thanks for the support!!

==> core-rest.log <==
14:46:54.378 ERROR org.apache.syncope.core.rest.cxf.RestServiceExceptionMapper - Exception thrown
java.lang.NullPointerException: null
        at org.apache.syncope.core.provisioning.java.data.AccessTokenDataBinderImpl.create(AccessTokenDataBinderImpl.java:111) ~[syncope-core-provisioning-java-2.0.3.jar:2.0.3]
        at org.apache.syncope.core.logic.AccessTokenLogic.login(AccessTokenLogic.java:58) ~[syncope-core-logic-2.0.3.jar:2.0.3]
        at org.apache.syncope.core.logic.AccessTokenLogic$$FastClassBySpringCGLIB$$10dda3ad.invoke(<generated>) ~[syncope-core-logic-2.0.3.jar:2.0.3]
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:721) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.apache.syncope.core.logic.LogicInvocationHandler.around(LogicInvocationHandler.java:72) ~[syncope-core-logic-2.0.3.jar:2.0.3]
        at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.apache.syncope.core.persistence.jpa.spring.DomainTransactionInterceptor.invoke(DomainTransactionInterceptor.java:64) ~[syncope-core-persistence-jpa-2.0.3.jar:2.0.3]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69) ~[spring-security-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:656) ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.apache.syncope.core.logic.AccessTokenLogic$$EnhancerBySpringCGLIB$$95a978c.login(<generated>) ~[syncope-core-logic-2.0.3.jar:2.0.3]
        at org.apache.syncope.core.rest.cxf.service.AccessTokenServiceImpl.login(AccessTokenServiceImpl.java:40) ~[syncope-core-rest-cxf-2.0.3.jar:2.0.3]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189) ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99) ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:218) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) ~[tomcat8-servlet-api-8.0.32.jar:?]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat8-websocket-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.apache.syncope.core.spring.security.MustChangePasswordFilter.doFilter(MustChangePasswordFilter.java:77) ~[syncope-core-spring-2.0.3.jar:2.0.3]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.apache.syncope.core.spring.security.JWTAuthenticationFilter.doFilterInternal(JWTAuthenticationFilter.java:86) ~[syncope-core-spring-2.0.3.jar:2.0.3]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat8-util-8.0.32.jar:8.0.32]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]


==> console.log <==
14:46:54.388 ERROR org.apache.syncope.client.console.SyncopeConsoleSession - Authentication failed
org.apache.syncope.common.lib.SyncopeClientException: Unknown [NullPointerException: ]
        at org.apache.syncope.common.lib.SyncopeClientException.build(SyncopeClientException.java:37) ~[syncope-common-lib-2.0.3.jar:2.0.3]
        at org.apache.syncope.client.lib.RestClientExceptionMapper.checkSyncopeClientCompositeException(RestClientExceptionMapper.java:143) ~[syncope-client-lib-2.0.3.jar:2.0.3]
        at org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:53) ~[syncope-client-lib-2.0.3.jar:2.0.3]
        at org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42) ~[syncope-client-lib-2.0.3.jar:2.0.3]
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:313) ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:878) ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:791) ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
        at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:235) ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
        at com.sun.proxy.$Proxy258.login(Unknown Source) ~[?:?]
        at org.apache.syncope.client.lib.SyncopeClient.init(SyncopeClient.java:109) ~[syncope-client-lib-2.0.3.jar:2.0.3]
        at org.apache.syncope.client.lib.SyncopeClient.<init>(SyncopeClient.java:81) ~[syncope-client-lib-2.0.3.jar:2.0.3]
        at org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:280) ~[syncope-client-lib-2.0.3.jar:2.0.3]
        at org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:255) ~[syncope-client-lib-2.0.3.jar:2.0.3]
        at org.apache.syncope.client.console.SyncopeConsoleSession.authenticate(SyncopeConsoleSession.java:152) ~[syncope-client-console-2.0.3.jar:2.0.3]
        at org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:66) ~[wicket-auth-roles-7.6.0.jar:7.6.0]
        at org.apache.syncope.client.console.pages.Login$1.onSubmit(Login.java:120) ~[syncope-client-console-2.0.3.jar:2.0.3]
        at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:113) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:787) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601) ~[wicket-core-7.6.0.jar:7.6.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
        at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-7.4.0.jar:7.4.0]
        at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70) ~[wicket-native-websocket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) ~[wicket-core-7.6.0.jar:7.6.0]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) ~[tomcat8-catalina-8.0.32.jar:8.0.32]
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460) ~[tomcat8-coyote-8.0.32.jar:8.0.32]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat8-util-8.0.32.jar:8.0.32]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]


[1] https://syncope.apache.org/docs/reference-guide.html#deal-with-internal-storage-export-import
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: error importing by Mastecontent.xml e postgres database dump

ilgrosso
Administrator
Ciao Fabrizio,
which Syncope version(s) are you running on devel server and
certification server?

On 07/06/2017 15:03, fabrizio.gulino wrote:

> Ciao,
> I've two instance of running syncope on two different ubuntu server.
> Both fo them have been installed using the "Debian way". The DBMS used is
> the default postgres
> One server is used as "devel" server and the second as "certification"
> server.
>
> I need to import some changes made on the devel server to the certification
> server.
>
> I've followed the guide [1] and also I've try to restore the database from
> "develop" to "certification".
> None of the above solution is working for me: I'm not able to login into the
> console, using the admin credentials.
> I've these errors in the logs:
>
> Thanks for the support!!
>
> ==> core-rest.log <==
> 14:46:54.378 ERROR
> org.apache.syncope.core.rest.cxf.RestServiceExceptionMapper - Exception
> thrown
> java.lang.NullPointerException: null
>          at
> org.apache.syncope.core.provisioning.java.data.AccessTokenDataBinderImpl.create(AccessTokenDataBinderImpl.java:111)
> ~[syncope-core-provisioning-java-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.core.logic.AccessTokenLogic.login(AccessTokenLogic.java:58)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.core.logic.AccessTokenLogic$$FastClassBySpringCGLIB$$10dda3ad.invoke(<generated>)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> ~[spring-core-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:721)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.syncope.core.logic.LogicInvocationHandler.around(LogicInvocationHandler.java:72)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
> ~[?:?]
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_131]
>          at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
>          at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
> ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
> ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
> ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.syncope.core.persistence.jpa.spring.DomainTransactionInterceptor.invoke(DomainTransactionInterceptor.java:64)
> ~[syncope-core-persistence-jpa-2.0.3.jar:2.0.3]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
> ~[spring-security-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:656)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.syncope.core.logic.AccessTokenLogic$$EnhancerBySpringCGLIB$$95a978c.login(<generated>)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.core.rest.cxf.service.AccessTokenServiceImpl.login(AccessTokenServiceImpl.java:40)
> ~[syncope-core-rest-cxf-2.0.3.jar:2.0.3]
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[?:1.8.0_131]
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ~[?:1.8.0_131]
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_131]
>          at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
>          at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)
> ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
>          at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
> ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:218)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
> ~[tomcat8-servlet-api-8.0.32.jar:?]
>          at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> ~[tomcat8-websocket-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.apache.syncope.core.spring.security.MustChangePasswordFilter.doFilter(MustChangePasswordFilter.java:77)
> ~[syncope-core-spring-2.0.3.jar:2.0.3]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.apache.syncope.core.spring.security.JWTAuthenticationFilter.doFilterInternal(JWTAuthenticationFilter.java:86)
> ~[syncope-core-spring-2.0.3.jar:2.0.3]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_131]
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_131]
>          at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> ~[tomcat8-util-8.0.32.jar:8.0.32]
>          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
>
>
> ==> console.log <==
> 14:46:54.388 ERROR org.apache.syncope.client.console.SyncopeConsoleSession -
> Authentication failed
> org.apache.syncope.common.lib.SyncopeClientException: Unknown
> [NullPointerException: ]
>          at
> org.apache.syncope.common.lib.SyncopeClientException.build(SyncopeClientException.java:37)
> ~[syncope-common-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.RestClientExceptionMapper.checkSyncopeClientCompositeException(RestClientExceptionMapper.java:143)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:53)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:313)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:878)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:791)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:235)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at com.sun.proxy.$Proxy258.login(Unknown Source) ~[?:?]
>          at
> org.apache.syncope.client.lib.SyncopeClient.init(SyncopeClient.java:109)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.SyncopeClient.<init>(SyncopeClient.java:81)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:280)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:255)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.console.SyncopeConsoleSession.authenticate(SyncopeConsoleSession.java:152)
> ~[syncope-client-console-2.0.3.jar:2.0.3]
>          at
> org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:66)
> ~[wicket-auth-roles-7.6.0.jar:7.6.0]
>          at
> org.apache.syncope.client.console.pages.Login$1.onSubmit(Login.java:120)
> ~[syncope-client-console-2.0.3.jar:2.0.3]
>          at
> org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:113)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:787)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[?:1.8.0_131]
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ~[?:1.8.0_131]
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_131]
>          at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
>          at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> ~[wicket-request-7.4.0.jar:7.4.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> ~[wicket-native-websocket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_131]
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_131]
>          at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> ~[tomcat8-util-8.0.32.jar:8.0.32]
>          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
>
>
> [1]
> https://syncope.apache.org/docs/reference-guide.html#deal-with-internal-storage-export-import
>
>
> --
> View this message in context: http://syncope-user.1051894.n5.nabble.com/error-importing-by-Mastecontent-xml-e-postgres-database-dump-tp5709259.html
> Sent from the syncope-user mailing list archive at Nabble.com.


--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: error importing by Mastecontent.xml e postgres database dump

fabrizio.gulino
This post was updated on .
Ciao Francesco

on devel: apache-syncope-2.0.2.deb
on testing: apache-syncope-2.0.3.deb

Grazie!

Il 07/06/2017 15:08, ilgrosso [via syncope-user] ha scritto:
> Ciao Fabrizio,
> which Syncope version(s) are you running on devel server and
> certification server?
>
> On 07/06/2017 15:03, fabrizio.gulino wrote:
>
> > Ciao,
> > I've two instance of running syncope on two different ubuntu server.
> > Both fo them have been installed using the "Debian way". The DBMS
> used is
> > the default postgres
> > One server is used as "devel" server and the second as "certification"
> > server.
> >
> > I need to import some changes made on the devel server to the
> certification
> > server.
> >
> > I've followed the guide [1] and also I've try to restore the
> database from
> > "develop" to "certification".
> > None of the above solution is working for me: I'm not able to login
> into the
> > console, using the admin credentials.
> > I've these errors in the logs:
> >
> > Thanks for the support!!
> >
> > ==> core-rest.log <==
> > 14:46:54.378 ERROR
> > org.apache.syncope.core.rest.cxf.RestServiceExceptionMapper - Exception
> > thrown
> > java.lang.NullPointerException: null
> >          at
> >
> org.apache.syncope.core.provisioning.java.data.AccessTokenDataBinderImpl.create(AccessTokenDataBinderImpl.java:111)
> > ~[syncope-core-provisioning-java-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.core.logic.AccessTokenLogic.login(AccessTokenLogic.java:58)
> > ~[syncope-core-logic-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.core.logic.AccessTokenLogic$$FastClassBySpringCGLIB$$10dda3ad.invoke(<generated>)
> > ~[syncope-core-logic-2.0.3.jar:2.0.3]
> >          at
> >
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> > ~[spring-core-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:721)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.apache.syncope.core.logic.LogicInvocationHandler.around(LogicInvocationHandler.java:72)
> > ~[syncope-core-logic-2.0.3.jar:2.0.3]
> >          at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown
> Source)
> > ~[?:?]
> >          at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > ~[?:1.8.0_131]
> >          at java.lang.reflect.Method.invoke(Method.java:498)
> ~[?:1.8.0_131]
> >          at
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
> > ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
> > ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
> > ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.apache.syncope.core.persistence.jpa.spring.DomainTransactionInterceptor.invoke(DomainTransactionInterceptor.java:64)
> > ~[syncope-core-persistence-jpa-2.0.3.jar:2.0.3]
> >          at
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
> > ~[spring-security-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:656)
> > ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.apache.syncope.core.logic.AccessTokenLogic$$EnhancerBySpringCGLIB$$95a978c.login(<generated>)
> > ~[syncope-core-logic-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.core.rest.cxf.service.AccessTokenServiceImpl.login(AccessTokenServiceImpl.java:40)
> > ~[syncope-core-rest-cxf-2.0.3.jar:2.0.3]
> >          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > ~[?:1.8.0_131]
> >          at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > ~[?:1.8.0_131]
> >          at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > ~[?:1.8.0_131]
> >          at java.lang.reflect.Method.invoke(Method.java:498)
> ~[?:1.8.0_131]
> >          at
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> > ~[cxf-core-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> > ~[cxf-core-3.1.11.jar:3.1.11]
> >          at
> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)
> > ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
> >          at
> org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
> > ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
> > ~[cxf-core-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
> > ~[cxf-core-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> > ~[cxf-core-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> > ~[cxf-core-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:218)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
> > ~[tomcat8-servlet-api-8.0.32.jar:?]
> >          at
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)
> > ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> > ~[tomcat8-websocket-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.apache.syncope.core.spring.security.MustChangePasswordFilter.doFilter(MustChangePasswordFilter.java:77)
> > ~[syncope-core-spring-2.0.3.jar:2.0.3]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> > ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.apache.syncope.core.spring.security.JWTAuthenticationFilter.doFilterInternal(JWTAuthenticationFilter.java:86)
> > ~[syncope-core-spring-2.0.3.jar:2.0.3]
> >          at
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> > ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> > ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
> > ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
> >          at
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> > ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
> > ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
> > ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> > ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> > [?:1.8.0_131]
> >          at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > [?:1.8.0_131]
> >          at
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> > ~[tomcat8-util-8.0.32.jar:8.0.32]
> >          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
> >
> >
> > ==> console.log <==
> > 14:46:54.388 ERROR
> org.apache.syncope.client.console.SyncopeConsoleSession -
> > Authentication failed
> > org.apache.syncope.common.lib.SyncopeClientException: Unknown
> > [NullPointerException: ]
> >          at
> >
> org.apache.syncope.common.lib.SyncopeClientException.build(SyncopeClientException.java:37)
> > ~[syncope-common-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.client.lib.RestClientExceptionMapper.checkSyncopeClientCompositeException(RestClientExceptionMapper.java:143)
> > ~[syncope-client-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:53)
> > ~[syncope-client-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> > ~[syncope-client-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:313)
> > ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:878)
> > ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:791)
> > ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
> >          at
> >
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:235)
> > ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
> >          at com.sun.proxy.$Proxy258.login(Unknown Source) ~[?:?]
> >          at
> >
> org.apache.syncope.client.lib.SyncopeClient.init(SyncopeClient.java:109)
> > ~[syncope-client-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.client.lib.SyncopeClient.<init>(SyncopeClient.java:81)
> > ~[syncope-client-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:280)
> > ~[syncope-client-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:255)
> > ~[syncope-client-lib-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.syncope.client.console.SyncopeConsoleSession.authenticate(SyncopeConsoleSession.java:152)
> > ~[syncope-client-console-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:66)
> > ~[wicket-auth-roles-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.syncope.client.console.pages.Login$1.onSubmit(Login.java:120)
> > ~[syncope-client-console-2.0.3.jar:2.0.3]
> >          at
> >
> org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:113)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> > org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:787)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > ~[?:1.8.0_131]
> >          at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > ~[?:1.8.0_131]
> >          at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > ~[?:1.8.0_131]
> >          at java.lang.reflect.Method.invoke(Method.java:498)
> ~[?:1.8.0_131]
> >          at
> >
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> > ~[wicket-request-7.4.0.jar:7.4.0]
> >          at
> >
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> > ~[wicket-native-websocket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
> > ~[wicket-core-7.6.0.jar:7.6.0]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
> > ~[tomcat8-catalina-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460)
> > ~[tomcat8-coyote-8.0.32.jar:8.0.32]
> >          at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> > [?:1.8.0_131]
> >          at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > [?:1.8.0_131]
> >          at
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> > ~[tomcat8-util-8.0.32.jar:8.0.32]
> >          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
> >
> >
> > [1]
> >
> https://syncope.apache.org/docs/reference-guide.html#deal-with-internal-storage-export-import
> >
> >
> > --
> > View this message in context:
> http://syncope-user.1051894.n5.nabble.com/error-importing-by-Mastecontent-xml-e-postgres-database-dump-tp5709259.html
> > Sent from the syncope-user mailing list archive at Nabble.com.
>
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Member at The Apache Software Foundation
> Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
> http://home.apache.org/~ilgrosso/ <http://home.apache.org/%7Eilgrosso/>
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://syncope-user.1051894.n5.nabble.com/error-importing-by-Mastecontent-xml-e-postgres-database-dump-tp5709259p5709260.html 
>
> To unsubscribe from error importing by Mastecontent.xml e postgres
> database dump, click here
> <http://syncope-user.1051894.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5709259&code=ZmFicml6aW8uZ3VsaW5vQGF1YmF5Lml0fDU3MDkyNTl8MjUwMTQ5Mjgx>.
> NAML
> <http://syncope-user.1051894.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>





---------------------------------------------
Fabrizio Gulino
Professional Services Senior Consultant
Aubay Italia S.p.A







Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: error importing by Mastecontent.xml e postgres database dump

ilgrosso
Administrator
On 07/06/2017 15:13, fabrizio.gulino wrote:

Ciao Francesco

on devel: apache-syncope-2.0.2.deb
on testing: apache-syncope-2.0.3.deb


I see your issue then: the content exported from 2.0.2 needs to be updated in order to work with 2.0.3.

The full upgrade instructions are available at

https://cwiki.apache.org/confluence/display/SYNCOPE/Upgrade+from+2.0.2+to+2.0.3

You'll need to perform the steps in the "Before starting" section before exporting the content.
Since you're not using Maven, you can safely skip the "Source changes" section.

HTH
Regards.

Il 07/06/2017 15:08, ilgrosso [via syncope-user] ha scritto:
Ciao Fabrizio,
which Syncope version(s) are you running on devel server and
certification server?

On 07/06/2017 15:03, fabrizio.gulino wrote:

> Ciao,
> I've two instance of running syncope on two different ubuntu server.
> Both fo them have been installed using the "Debian way". The DBMS used is
> the default postgres
> One server is used as "devel" server and the second as "certification"
> server.
>
> I need to import some changes made on the devel server to the certification
> server.
>
> I've followed the guide [1] and also I've try to restore the database from
> "develop" to "certification".
> None of the above solution is working for me: I'm not able to login into the
> console, using the admin credentials.
> I've these errors in the logs:
>
> Thanks for the support!!
>
> ==> core-rest.log <==
> 14:46:54.378 ERROR
> org.apache.syncope.core.rest.cxf.RestServiceExceptionMapper - Exception
> thrown
> java.lang.NullPointerException: null
>          at
> org.apache.syncope.core.provisioning.java.data.AccessTokenDataBinderImpl.create(AccessTokenDataBinderImpl.java:111)
> ~[syncope-core-provisioning-java-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.core.logic.AccessTokenLogic.login(AccessTokenLogic.java:58)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.core.logic.AccessTokenLogic$$FastClassBySpringCGLIB$$10dda3ad.invoke(<generated>)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> ~[spring-core-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:721)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.syncope.core.logic.LogicInvocationHandler.around(LogicInvocationHandler.java:72)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
> ~[?:?]
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_131]
>          at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
>          at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
> ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
> ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
> ~[spring-tx-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.syncope.core.persistence.jpa.spring.DomainTransactionInterceptor.invoke(DomainTransactionInterceptor.java:64)
> ~[syncope-core-persistence-jpa-2.0.3.jar:2.0.3]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
> ~[spring-security-core-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:656)
> ~[spring-aop-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.syncope.core.logic.AccessTokenLogic$$EnhancerBySpringCGLIB$$95a978c.login(<generated>)
> ~[syncope-core-logic-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.core.rest.cxf.service.AccessTokenServiceImpl.login(AccessTokenServiceImpl.java:40)
> ~[syncope-core-rest-cxf-2.0.3.jar:2.0.3]
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[?:1.8.0_131]
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ~[?:1.8.0_131]
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_131]
>          at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
>          at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)
> ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
>          at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
> ~[cxf-rt-frontend-jaxrs-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> ~[cxf-core-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:218)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
> ~[tomcat8-servlet-api-8.0.32.jar:?]
>          at
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)
> ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> ~[tomcat8-websocket-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.apache.syncope.core.spring.security.MustChangePasswordFilter.doFilter(MustChangePasswordFilter.java:77)
> ~[syncope-core-spring-2.0.3.jar:2.0.3]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.apache.syncope.core.spring.security.JWTAuthenticationFilter.doFilterInternal(JWTAuthenticationFilter.java:86)
> ~[syncope-core-spring-2.0.3.jar:2.0.3]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
> ~[spring-security-web-4.2.2.RELEASE.jar:4.2.2.RELEASE]
>          at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.7.RELEASE.jar:4.3.7.RELEASE]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_131]
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_131]
>          at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> ~[tomcat8-util-8.0.32.jar:8.0.32]
>          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
>
>
> ==> console.log <==
> 14:46:54.388 ERROR org.apache.syncope.client.console.SyncopeConsoleSession -
> Authentication failed
> org.apache.syncope.common.lib.SyncopeClientException: Unknown
> [NullPointerException: ]
>          at
> org.apache.syncope.common.lib.SyncopeClientException.build(SyncopeClientException.java:37)
> ~[syncope-common-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.RestClientExceptionMapper.checkSyncopeClientCompositeException(RestClientExceptionMapper.java:143)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:53)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:313)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:878)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:791)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at
> org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:235)
> ~[cxf-rt-rs-client-3.1.11.jar:3.1.11]
>          at com.sun.proxy.$Proxy258.login(Unknown Source) ~[?:?]
>          at
> org.apache.syncope.client.lib.SyncopeClient.init(SyncopeClient.java:109)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.SyncopeClient.<init>(SyncopeClient.java:81)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:280)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.lib.SyncopeClientFactoryBean.create(SyncopeClientFactoryBean.java:255)
> ~[syncope-client-lib-2.0.3.jar:2.0.3]
>          at
> org.apache.syncope.client.console.SyncopeConsoleSession.authenticate(SyncopeConsoleSession.java:152)
> ~[syncope-client-console-2.0.3.jar:2.0.3]
>          at
> org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:66)
> ~[wicket-auth-roles-7.6.0.jar:7.6.0]
>          at
> org.apache.syncope.client.console.pages.Login$1.onSubmit(Login.java:120)
> ~[syncope-client-console-2.0.3.jar:2.0.3]
>          at
> org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:113)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:787)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[?:1.8.0_131]
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ~[?:1.8.0_131]
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_131]
>          at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
>          at
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> ~[wicket-request-7.4.0.jar:7.4.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> ~[wicket-native-websocket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
> ~[wicket-core-7.6.0.jar:7.6.0]
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
> ~[tomcat8-catalina-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1504)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1460)
> ~[tomcat8-coyote-8.0.32.jar:8.0.32]
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_131]
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_131]
>          at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> ~[tomcat8-util-8.0.32.jar:8.0.32]
>          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
>
>
> [1]
> https://syncope.apache.org/docs/reference-guide.html#deal-with-internal-storage-export-import
-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/
Loading...