Re: After restart, dashboard/builds gives Error 500

Thaddaeus Frogley <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Thank you.

On 31 Aug 2011, at 19:54, Julian Simpson wrote:

> Most likely explanation is that an XML log file is malformed (perhaps a build was writing logs when you shut down the server?).
> 
> J.
> 
> On Wednesday, 31 August 2011, Thaddaeus Frogley wrote:
> I have just restarted my build server, and now, although it appears to
> be running builds okay, cruisecontrol now gives an error message on
> the dashboard builds page:
> 
> HTTP ERROR: 500
> 
> INTERNAL_SERVER_ERROR
> RequestURI=/dashboard/tab/builds
> 
> Caused by:
> 
> java.lang.NullPointerException
>        at org.apache.xerces.dom.DeepNodeListImpl.nextMatchingElementAfter(Unknown
> Source)
>        at org.apache.xerces.dom.DeepNodeListImpl.item(Unknown Source)
>        at org.apache.xerces.dom.DeepNodeListImpl.getLength(Unknown Source)
>        at net.sourceforge.cruisecontrol.dashboard.service.DashboardXmlConfigService.getStoryTrackers(DashboardXmlConfigService.java:111)
>        at net.sourceforge.cruisecontrol.dashboard.service.BuildSummaryUIService.transform(BuildSummaryUIService.java:83)
>        at net.sourceforge.cruisecontrol.dashboard.service.BuildSummaryUIService.transformWithLevel(BuildSummaryUIService.java:89)
>        at net.sourceforge.cruisecontrol.dashboard.service.BuildSummaryUIService.transformWithLevel(BuildSummaryUIService.java:77)
>        at net.sourceforge.cruisecontrol.dashboard.web.LatestBuildsListingController.handleTabRequest(LatestBuildsListingController.java:69)
>        at net.sourceforge.cruisecontrol.dashboard.tabs.BaseTabController.handleRequest(BaseTabController.java:60)
>        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:858)
>        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
>        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
>        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
>        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>        at org.mortbay.jetty.Server.handle(Server.java:324)
>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
> 
> Any suggestions as to how this can be fixed would be appreciated.
> 
> Thanks,
> 
> Thad
> --
> Thaddaeus Frogley
> Senior Programmer, Climax Games
> 
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
> 
> 
> -- 
> Julian Simpson
> The Build Doctor Ltd.
> http://www.build-doctor.com
> [email protected]
> (+44) 207 183 0323
> 
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better 
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev_______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.