History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3777
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Major Major
Assignee: Robin Shen
Reporter: Cheolhee Jeon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

quickbuild find build history function not work (triggered by user)

Created: 19/Aug/21 02:23 AM   Updated: 08/Jan/22 01:08 PM
Component/s: None
Affects Version/s: 10.0.15
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: ubuntu 16.04


 Description  « Hide
Hello,

I've got new problem with qb function in find build history.
As you know, there's function that I can find build history by user.
but It seems like not working.
when I hit the button "+" beside of triggered by, it shows loading circle and then nothing happen.
I've tested this function with another qb server, and it showed user dropdown box.

I'm guessing this because of data sync with DB, but I don't know how to solve it. Please help me.
(I've added several users with DB insert(QB_USER table), and didn't restart server after injection.)
when I go to administration menu on the web, I can see the users that I added by DB.

Thanks. Nick.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [19/Aug/21 11:58 PM]
Please try this again and check if there are any errors printed in QB server log.

Cheolhee Jeon [20/Aug/21 12:09 AM]
Hello, Robin.

Here's the log when I tail the quickbuild log.

2021-08-20 09:10:35,001 [qtp1737190040-92273] ERROR com.pmease.quickbuild.web.WicketConfig - Error handling wicket request.
 org.apache.wicket.WicketRuntimeException: Exception in rendering component: [DropDownChoice [Component id = select]]
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2556)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
        at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
        at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:729)
        at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)
        at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
        at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
        at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:729)
        at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)
        at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
        at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
        at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
        at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.markup.html.list.ListView.renderItem(ListView.java:585)
        at org.apache.wicket.markup.html.list.ListView.renderChild(ListView.java:574)
        at org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:97)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
        at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
        at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
        at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.markup.html.list.ListView.renderItem(ListView.java:585)
        at org.apache.wicket.markup.html.list.ListView.renderChild(ListView.java:574)
        at org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:97)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
        at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
        at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1567)
        at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
        at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
        at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1613)
        at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:729)
        at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:76)
        at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)
        at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
        at org.apache.wicket.Component.internalRender(Component.java:2359)
        at org.apache.wicket.Component.render(Component.java:2284)
        at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:983)
        at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:794)
        at org.apache.wicket.ajax.AjaxRequestTarget.constructResponseBody(AjaxRequestTarget.java:672)
        at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:633)
        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.RequestHandlerStack.execute(RequestHandlerStack.java:96)
        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.doPost(WicketServlet.java:159)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        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.UserAgentFilter.doFilter(UserAgentFilter.java:83)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:365)
        at org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
        at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1187)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
        at org.eclipse.jetty.server.Server.handle(Server.java:499)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
        at java.lang.Thread.run(Thread.java:748)
 Caused by: java.lang.NullPointerException
        at com.pmease.quickbuild.web.component.editor.UserChoiceEditor$2.getDisplayValue(UserChoiceEditor.java:42)
        at org.apache.wicket.markup.html.form.AbstractChoice.appendOptionHtml(AbstractChoice.java:369)
        at org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:346)
        at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
        at org.apache.wicket.Component.internalRenderComponent(Component.java:2529)
        ... 108 more

Robin Shen [20/Aug/21 12:18 AM]
Looks like that this is caused by adding user directly from SQL, as these users are not reflected in QB's internal cache. Restarting QB server to refresh cache should solve the issue.

Cheolhee Jeon [20/Aug/21 12:39 AM]
Thx, I'll try restart server and let you know what's going on :)

Change by Robin Shen [08/Jan/22 01:08 PM]
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Incomplete [ 4 ]