Upgrade Hippo CMS from 10.2.7 to 10.2.8

Hi,

We have no DB setup on our local. I tried upgrading from 10.2.7 to 10.2.8 on local. The site and console does work but we have a problem with the CMS. When going to localhost:8080/cms the page gets loaded but when we try to login it will respond with a 500 error. Below are the hippo-cms logs. Please guide.
06.12.2018 16:19:16 WARN localhost-startStop-1 [RepositoryLock.acquire:134] Existing lock file D:\AIMIA\Code\AIRMILES_SOURCE_CODE\Airmiles\aimiamewebsite\storage.lock detected. Repository was not shut down properly.
06.12.2018 16:23:16 ERROR http-nio-8080-exec-10 [PluginFactory.createPlugin:87] java.lang.NoSuchMethodError: org.apache.cxf.jaxrs.provider.ProviderFactory.(Lorg/apache/cxf/jaxrs/provider/ProviderFactory;Lorg/apache/cxf/Bus;)V
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:69)
at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:372)
at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:125)
at org.hippoecm.frontend.plugin.loader.PluginClusterLoader.start(PluginClusterLoader.java:61)
at org.hippoecm.frontend.plugin.impl.PluginContext.connect(PluginContext.java:339)
at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:86)
at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:372)
at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:125)
at org.hippoecm.frontend.PluginPage.(PluginPage.java:106)
at org.hippoecm.frontend.PluginPage.(PluginPage.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:279)
at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: org.apache.cxf.jaxrs.provider.ProviderFactory.(Lorg/apache/cxf/jaxrs/provider/ProviderFactory;Lorg/apache/cxf/Bus;)V
at org.apache.cxf.jaxrs.client.ClientProviderFactory.(ClientProviderFactory.java:49)
at org.apache.cxf.jaxrs.client.ClientProviderFactory.initBaseFactory(ClientProviderFactory.java:80)
at org.apache.cxf.jaxrs.client.ClientProviderFactory.createInstance(ClientProviderFactory.java:56)
at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.initClient(JAXRSClientFactoryBean.java:377)
at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.createWithValues(JAXRSClientFactoryBean.java:321)
at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.create(JAXRSClientFactoryBean.java:264)
at org.apache.cxf.jaxrs.client.JAXRSClientFactory.create(JAXRSClientFactory.java:172)
at org.apache.cxf.jaxrs.client.JAXRSClientFactory.create(JAXRSClientFactory.java:126)
at org.hippoecm.frontend.service.restproxy.RestProxyServicePlugin.createSecureRestProxy(RestProxyServicePlugin.java:191)
at org.hippoecm.frontend.service.restproxy.RestProxyServicePlugin.createSecureRestProxy(RestProxyServicePlugin.java:155)
at org.onehippo.cms7.channelmanager.channels.util.rest.RestClientProxyDecorator.createSecureRestProxy(RestClientProxyDecorator.java:94)
at org.onehippo.cms7.channelmanager.restproxy.RestProxyServicesManager.getLiveRestProxyServices(RestProxyServicesManager.java:122)
at org.onehippo.cms7.channelmanager.service.ChannelDocumentUrlService.(ChannelDocumentUrlService.java:59)
ā€¦ 56 more
06.12.2018 16:23:16 ERROR http-nio-8080-exec-10 [PluginFactory.createPlugin:106] java.lang.NoSuchMethodError: org.apache.cxf.jaxrs.provider.ProviderFactory.(Lorg/apache/cxf/jaxrs/provider/ProviderFactory;Lorg/apache/cxf/Bus;)V
Failed to instantiate plugin class ā€˜org.onehippo.cms7.channelmanager.service.ChannelDocumentUrlServiceā€™ for wicket id ā€˜nullā€™ in plugin ā€˜home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.channelDocumentUrlServiceā€™ (JcrPluginConfig:/hippo:configuration/hippo:frontend/cms/cms-services/channelDocumentUrlService)
06.12.2018 16:23:16 ERROR http-nio-8080-exec-10 [PluginFactory.createPlugin:87] java.lang.NoSuchMethodError: org.apache.cxf.jaxrs.provider.ProviderFactory.(Lorg/apache/cxf/jaxrs/provider/ProviderFactory;Lorg/apache/cxf/Bus;)V
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:69)
at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:372)
at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:125)
at org.hippoecm.frontend.plugin.loader.PluginClusterLoader.start(PluginClusterLoader.java:61)
at org.hippoecm.frontend.plugin.impl.PluginContext.connect(PluginContext.java:339)
at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:86)
at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:372)
at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:125)
at org.hippoecm.frontend.PluginPage.(PluginPage.java:106)
at org.hippoecm.frontend.PluginPage.(PluginPage.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175)
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:279)
at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: org.apache.cxf.jaxrs.provider.ProviderFactory.(Lorg/apache/cxf/jaxrs/provider/ProviderFactory;Lorg/apache/cxf/Bus;)V
at org.apache.cxf.jaxrs.client.ClientProviderFactory.(ClientProviderFactory.java:49)
at org.apache.cxf.jaxrs.client.ClientProviderFactory.initBaseFactory(ClientProviderFactory.java:80)
at org.apache.cxf.jaxrs.client.ClientProviderFactory.createInstance(ClientProviderFactory.java:56)
at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.initClient(JAXRSClientFactoryBean.java:377)
at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.createWithValues(JAXRSClientFactoryBean.java:321)
at org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.create(JAXRSClientFactoryBean.java:264)
at org.apache.cxf.jaxrs.client.JAXRSClientFactory.create(JAXRSClientFactory.java:172)
at org.apache.cxf.jaxrs.client.JAXRSClientFactory.create(JAXRSClientFactory.java:126)
at org.hippoecm.frontend.service.restproxy.RestProxyServicePlugin.createSecureRestProxy(RestProxyServicePlugin.java:191)
at org.hippoecm.frontend.service.restproxy.RestProxyServicePlugin.createSecureRestProxy(RestProxyServicePlugin.java:155)
at org.onehippo.cms7.channelmanager.channels.util.rest.RestClientProxyDecorator.createSecureRestProxy(RestClientProxyDecorator.java:94)
at org.onehippo.cms7.channelmanager.restproxy.RestProxyServicesManager.getLiveRestProxyServices(RestProxyServicesManager.java:122)
at org.onehippo.cms7.channelmanager.ChannelManagerPerspective.(ChannelManagerPerspective.java:57)
ā€¦ 56 more
06.12.2018 16:23:18 ERROR http-nio-8080-exec-10 [DefaultExceptionMapper.mapUnexpectedExceptions:170] Unexpected error occurred
org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [TabsContainer [Component id = tabs-container]]
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1696)
at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
at org.apache.wicket.Component.beforeRender(Component.java:1017)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
at org.hippoecm.frontend.plugins.standards.tabs.TabbedPanel.onBeforeRender(TabbedPanel.java:407)
at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
at org.apache.wicket.Component.beforeRender(Component.java:1017)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
at org.hippoecm.frontend.service.render.AbstractRenderService.onBeforeRender(AbstractRenderService.java:569)
at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
at org.apache.wicket.Component.beforeRender(Component.java:1017)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
at org.apache.wicket.Component.onBeforeRender(Component.java:3833)
at org.apache.wicket.Page.onBeforeRender(Page.java:809)
at org.hippoecm.frontend.PluginPage.onBeforeRender(PluginPage.java:239)
at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
at org.apache.wicket.Component.beforeRender(Component.java:1017)
at org.apache.wicket.Component.internalPrepareForRender(Component.java:2201)
at org.apache.wicket.Page.internalPrepareForRender(Page.java:240)
at org.apache.wicket.Component.render(Component.java:2290)
at org.apache.wicket.Page.renderPage(Page.java:1024)
at org.hippoecm.frontend.PluginPage.renderPage(PluginPage.java:366)
at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:139)
at org.hippoecm.frontend.Main$7$1.renderPage(Main.java:504)
at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:284)
at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.hippoecm.frontend.plugins.standards.tabs.TabsPlugin$Tab.getIcon(TabsPlugin.java:519)
at org.hippoecm.frontend.plugins.standards.tabs.TabbedPanel.getTitleMarkupContainer(TabbedPanel.java:314)
at org.hippoecm.frontend.plugins.standards.tabs.TabbedPanel$2.populateItem(TabbedPanel.java:160)
at org.apache.wicket.markup.html.list.Loop.onPopulate(Loop.java:99)
at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:123)
at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
at org.apache.wicket.Component.beforeRender(Component.java:1017)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1684)
ā€¦ 57 more

Regards,
Nidhi

Hi Nidhi, we are facing the same issue, did you manage to find a solution for it?

this is caused by wrong CXF dependencies, compare your project output to the one from clean archetype application (or check any overrides in your project)

Thanks for responding, any chance you could be more specific, where should I be looking for these CXF dependencies? In the pom.xml, the rest api, custom java code?

1 Like