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.

Unexpected Exception #4453

MFalkner ·

Working at home, I've got a slower connection to the QuickBuild server.
Often, I have issues with the content (see below).
Is this a known issue and is there anything I can do?

  1. Wrong content in gadget:
    On the dashboard, some gadgets, show no data and/or gadget 1 shows data from gadget 2.
    Usually, pressing F5 will show different data, but mostly still not correct.

  2. Wrong task triggered:
    I start build A but build B is started.
    I want to edit node 1, but node 3 is opened.
    Usually, I have to go back and try to start again.

  3. Opening the logs of a step shows "unexpected exception"
    Usually, pressing F5 will show the content.

Whoops! An unexpected exception occurred.
Error Details:

Message: null

Root cause:

java.lang.NullPointerException
at com.pmease.quickbuild.plugin.scm.perforce.ShelvedChangesBuildTabContribution.getTabs(ShelvedChangesBuildTabContribution.java:39)
at com.pmease.quickbuild.web.page.build.BuildPage.onInitialize(BuildPage.java:810)
at org.apache.wicket.Component.fireInitialize(Component.java:924)
at org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002)
at org.apache.wicket.Page.internalPrepareForRender(Page.java:278)
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:1250)
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(Unknown Source)

  • solved #5
  • replies 9
  • views 161
  • stars 0
robinshen ADMIN ·

This looks very abnormal to me, and should not caused by slow connections. Are you accessing QB via a proxy? If so, is it possible to access QB 8810 port directly to see if the problem still exist?

MFalkner ·

I'm logged in to the company via VPN tunnel and they have got a proxy to access all external pages. However, QB should be internal and therefore bypass the proxy.

I'm using http://aaaaaa.bbbb.cc:8810/dashboard to access QB, so directly 8810 already.

Could the VPN tunnel be the problem?

robinshen ADMIN ·

Not sure if it is caused by VPN. Have you ever encounter this without using VPN?

robinshen ADMIN ·
MFalkner ·

At a first glance, it looks it really makes a difference. Many thanks for the hint.
I'll have to monitor it for a while.
Also, so far, I did not manage to download the self-signed certificate to my computer yet, but will probably find out how to do this in a quite hour.

MFalkner ·

Ok, this is how to export the public cert, might be worth adding to the wiki page:
/path/to/jdk/bin/keytool -export -alias QuickBuild -keystore /path/to/keystore -rfc -file qb-public.cert

robinshen ADMIN ·

There is a section in the SSL wiki page explaining how to import certificate into QB's keystore.

MFalkner ·

Sure, that is what I did, and I would not have been able to do it without the instructions.
What I did not find is, how to export the self-signed certificate to use it in the browser to avoid this annoying security message when accessing QB.

Anyway, so far one day of use and no odd behavior anymore, looks like this was the solution.
Many thanks.

robinshen ADMIN ·

I see. I'd suggest to use certificate with trusted CA to avoid browser security alerts, for instance let's encrypt. That is what our own QB instance (https://build.pmease.com) is using.