Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Upgrade QB13 to QB14 with HTTP ERROR 500 #4570

SuikaAsuke ·

hello admin!
I am having a problem with upgrade from QB 13.0.44 to QB 14.0.7.
when successfully upgraded to QB14,I am access 'http://localhost:8810/dashboard' from browser to QB with error:

HTTP ERROR 500 java.lang.NoClassDefFoundError: com/pmease/quickbuild/web/gadget/FavoriteConfigurationsGadget
URI:	/dashboard
STATUS:	500
MESSAGE:	java.lang.NoClassDefFoundError: com/pmease/quickbuild/web/gadget/FavoriteConfigurationsGadget
SERVLET:	com.pmease.quickbuild.web.GzipServletWrapper-93da4dd
CAUSED BY:	java.lang.NoClassDefFoundError: com/pmease/quickbuild/web/gadget/FavoriteConfigurationsGadget
CAUSED BY:	java.lang.ClassNotFoundException: com.pmease.quickbuild.web.gadget.FavoriteConfigurationsGadget
Caused by:
java.lang.NoClassDefFoundError: com/pmease/quickbuild/web/gadget/FavoriteConfigurationsGadget
	at com.pmease.quickbuild.plugin.basis.BasisPlugin$3.getGadgetClass(BasisPlugin.java:96)
	at com.pmease.quickbuild.extensionpoint.support.Gadget.fromDOM(Gadget.java:82)
	at com.pmease.quickbuild.model.Dashboard.getGadget(Dashboard.java:217)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:196)
	at com.pmease.quickbuild.model.Dashboard_$$_jvst3f5_19.getGadget(Dashboard_$$_jvst3f5_19.java)
	at com.pmease.quickbuild.web.page.dashboard.GadgetPanel.<init>(GadgetPanel.java:45)
	at com.pmease.quickbuild.web.page.dashboard.DashboardPage$17.populateItem(DashboardPage.java:721)
	at org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:524)
	at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:119)
	at org.apache.wicket.Component.internalBeforeRender(Component.java:986)
	at org.apache.wicket.Component.beforeRender(Component.java:1022)
	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
	at org.apache.wicket.Component.onBeforeRender(Component.java:3798)
	at org.apache.wicket.Component.internalBeforeRender(Component.java:986)
	at org.apache.wicket.Component.beforeRender(Component.java:1022)
	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
	at org.apache.wicket.Component.onBeforeRender(Component.java:3798)
	at org.apache.wicket.Page.onBeforeRender(Page.java:823)
	at com.pmease.quickbuild.web.page.BasePage.onBeforeRender(BasePage.java:362)
	at org.apache.wicket.Component.internalBeforeRender(Component.java:986)
	at org.apache.wicket.Component.beforeRender(Component.java:1022)
	at org.apache.wicket.Component.internalPrepareForRender(Component.java:2191)
	at org.apache.wicket.Page.internalPrepareForRender(Page.java:280)
	at org.apache.wicket.Component.render(Component.java:2280)
	at org.apache.wicket.Page.renderPage(Page.java:1035)
	at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
	at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:182)
	at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)
	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)
	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)
	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
	at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at com.pmease.quickbuild.web.MainServlet.service(MainServlet.java:135)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.equinox.http.helper.FilterServletAdaptor$FilterChainImpl.doFilter(FilterServletAdaptor.java:56)
	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:50)
	at org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
	at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1304)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.pmease.quickbuild.web.gadget.FavoriteConfigurationsGadget
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	... 78 more
  • replies 3
  • views 542
  • stars 0
robinshen ADMIN ·

Seems that some class is missing after upgrade. Probably this is caused by a damaged installation package. Please download the installation package again (use the zip version, as long file paths in tar.gz may be igored by some tar utility), unzip it and copy all jar files under "plugins" directory to " /plugins"

SuikaAsuke ·

I am download the installation package again,unzip it and copy all jar files under "plugins" directory to " /plugins",QuickBuild server can not start. but restore backup "plugins" QuickBuild server can start.

jvm 1    | 2024-05-08 15:22:14,923 INFO  Starting QuickBuild server...
jvm 1    | 2024-05-08 15:22:14,924 INFO  Initializing velocity...
jvm 1    | 2024-05-08 15:22:15,271 WARN  GzipFilter is deprecated. Use GzipHandler
jvm 1    | 2024-05-08 15:22:15,406 INFO  Checking data version...
jvm 1    | 2024-05-08 15:22:15,453 INFO  QuickBuild version table found. Catalog: qb_tyce, Schema: null, Name: qb_setting, Type: TABLE
jvm 1    | WrapperStartStopApp:
jvm 1    | WrapperStartStopApp Error: Encountered an error running start main: java.lang.reflect.InvocationTargetException
jvm 1    | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1    | WrapperStartStopApp Error:   at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1    | WrapperStartStopApp Error:   at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:655)
jvm 1    | WrapperStartStopApp Error:   at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:126)
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1    | WrapperStartStopApp Error:   at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1    | WrapperStartStopApp Error:   at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:429)
jvm 1    | WrapperStartStopApp Error:   at java.lang.Thread.run(Thread.java:748)
jvm 1    | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
jvm 1    | WrapperStartStopApp Error:   at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
jvm 1    | WrapperStartStopApp Error:   at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61)
jvm 1    | WrapperStartStopApp Error:   ... 12 more
jvm 1    | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1    | WrapperStartStopApp Error:   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1    | WrapperStartStopApp Error:   at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1    | WrapperStartStopApp Error:   at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59)
jvm 1    | WrapperStartStopApp Error:   ... 12 more
jvm 1    | WrapperStartStopApp Error: Caused by: com.pmease.quickbuild.QuickbuildException: Data version mismatch (database data version:122, application data version:126). Please follow instructions in the upgrade guide to upgrade the database.
jvm 1    | WrapperStartStopApp Error:   at com.pmease.quickbuild.Quickbuild.startServer(Quickbuild.java:963)
jvm 1    | WrapperStartStopApp Error:   at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:449)
jvm 1    | WrapperStartStopApp Error:   ... 17 more
jvm 1    | 2024-05-08 15:22:16,468 INFO  Stopping QuickBuild server...
jvm 1    | 2024-05-08 15:22:16,477 INFO  Stopping plugins...
jvm 1    | 2024-05-08 15:22:16,478 INFO  Stopping task scheduler...
jvm 1    | 2024-05-08 15:22:17,387 INFO  QuickBuild server stopped.
robinshen ADMIN ·

QB complains that it is connecting to QB13 database with QB14 code. You mentioned that you already upgraded successfully to QB14. Please make sure that you are connecting to the upgraded database.