[Dart] Dart StackTrace
Miller, James V (GE, Research)
millerjv at crd.ge.com
Wed Jun 7 14:11:37 EDT 2006
Eric,
Sorry we have not been able to get to your issue yet. I think your request is very reasonable. We need to reconcile the XML file that you are submitting with the XML parsing and reporting code. It sounds plausible that Dart is restricting the Build testnames to be .Build.StageName.Error or .Build.StageName.Warning. We should be able to fix this so the names are .Build.StageName1.StageNameA.StageNamei.Error, etc.
Jim
-----Original Message-----
From: dart-bounces+millerjv=crd.ge.com at public.kitware.com [mailto:dart-bounces+millerjv=crd.ge.com at public.kitware.com]On Behalf Of Eric Meek
Sent: Wednesday, June 07, 2006 10:50 AM
To: dart at public.kitware.com
Subject: Re: [Dart] Dart StackTrace
Since I haven't received any responses to my first e-mail, I and a co-worker have been doing some testing and have discovered a build test with more then 2 periods in it causes the StackTrace below unless the third period is followed by either Error or Warning. For example, if I create a build test with the name .Build.Preparation the stack trace doesn't appear when visiting the stage summary page and the Build time is correct on the main Dashboard. However, if I create a build test with a name .Build.Preparation.untar it causes the stack trace listed below and the build times are their default value of 0.0 on the project Dashboard.
What I would like to do is organize the build class results in a similar manner to how I can organize test class results. For example, I would like to create stages with names of .Build.Preparation.unzip, .Build.Preparation.untar, etc. This makes browsing the commands more organized and much nicer. Listing the commands with this type of naming convention using the Test pages (the pages you access through clicking on the numbers in the Test columns) works just fine. It is nice viewing the commands like this with the various sub-levels (e.g. http://icl.cs.utk.edu:8081/ReST/Dashboard/TestCatalog?submissionid=33 ). When doing this the Test pages make a nice summary of a "sub-stage" viewable on what is called a Meta Test page seen at http://icl.cs.utk.edu:8081/ReST/Dashboard/Test?testname=.Build.Preparation <http://icl.cs.utk.edu:8081/ReST/Dashboard/Test?testname=.Build.Preparation&submissionid=33> &submissionid=33
I say all this to find out if what I am seeing is this a bug causing the correct use of the DartSubmission xml to fail or miss understanding of the DartSubmission xml. I've posted one of my xml files that causes the problem if someone wouldn't mind looking at it. In that version I was trying to use placeholder class tests to see if that would help, however, it didn't effect it either way so they can be ignored.
All in all, the naming convention between the various classes of results seems very inconsistent. What I have inferred from the Dart.pdf is a build result name can be ".Build.*" . In practice, however, .Build.Preparation.untar works in a few places and breaks most others.
Thanks again for any help,
Eric
"If a first you don't succeed, you're running about average." - M.H. Alderson
On Jun 5, 2006, at 5:11 PM, Eric Meek wrote:
Hello,
I've been trying to take the output of a utility I'm developing and submit the results to Dart. When I make the submission, it is received sucessfully and most everything work but when I click on the 0 in the Warning or Error column next to the build name I get the error pasted below.
I've tried several changes to my DartSubmission xml to correct this problem with my latest version posted at http://www.cs.utk.edu/~meek/icl/ReST/File71.xml.gz
What I am trying to do is have a possible total of 6 different stages with each stage containing 1 or more commands.
Thanks for any help,
Eric
[SocketListener0-0] ERROR freemarker.runtime -
Expression stage.StageName is undefined on line 82, column 43 in Build.ftl.
The problematic instruction:
----------
==> ${stage.StageName} [on line 82, column 41 in Build.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression stage.StageName is undefined on line 82, column 43 in Build.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)
at freemarker.core.Environment.visit(Environment.java:351)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.IfBlock.accept(IfBlock.java:82)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:196)
at freemarker.core.Environment.process(Environment.java:176)
at freemarker.template.Template.process(Template.java:231)
at dart.server.servlet.Dashboard.doGet(Dashboard.java:312)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:666)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
"It is better to keep your mouth closed and let people think you are a fool than to open it and remove all doubt." - Samuel Clemens
_______________________________________________
Dart mailing list
Dart at public.kitware.com
http://public.kitware.com/mailman/listinfo/dart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/dart/attachments/20060607/16af1821/attachment-0001.html
More information about the Dart
mailing list