[Dart] Coverage problem with Dart2

Marco Nolden m.nolden at dkfz-heidelberg.de
Mon Jun 18 10:51:02 EDT 2007


Hi all,

I'm having a problem with displaying coverage information on a 
Dart2-Server (version 1.0.9):

after clicking on the percentage value I get the following exception, 
which is displayed on the page:

Show direct subtests ?sort_by(...) failed: Problem with the sequence
item at index 1047: The "CoverageMetric" subvariable was not found. The
problematic instruction: ---------- ==> assignment:
sortedTestList=testlist?sort_by(sortByKey) [on line 357, column 9 in
CoverageCatalog.ftl] ---------- Java backtrace for programmers:
---------- freemarker.template.TemplateModelException: ?sort_by(...)
failed: Problem with the sequence item at index 1047: The
"CoverageMetric" subvariable was not found. at
freemarker.core.SequenceBuiltins$sortBI.sort(SequenceBuiltins.java:312)
at
freemarker.core.SequenceBuiltins$sort_byBI$BIMethod.exec(SequenceBuiltins.java:501) 

at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
[...]

Clicking now on a subtest (directory) in the upper table I get another 
exception:

Expression test.PercentCoverage is undefined on line 377, column 18 in 
CoverageCatalog.ftl. The problematic instruction: ---------- ==> if 
test.PercentCoverage?string?has_content [on line 377, column 13 in 
CoverageCatalog.ftl] ---------- Java backtrace for programmers: 
---------- freemarker.core.InvalidReferenceException: Expression 
test.PercentCoverage is undefined on line 377, column 18 in 
CoverageCatalog.ftl. at 
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
[...]

Very similar data by the same client configuration (but different source 
files) are submitted to the MITK Dashboard at kitware and are displayed 
without problems:

http://public.kitware.com/MITK/Sites/mbi056/MITK_SVN_SUSE-10.2_ITK-3.0_VTK-5.0_x86-64_Debug/20070619-0200-Nightly/CoverageByName.html

Has anyone an idea how to fix that?

Marco

-- 
----------------------------------------------------------------------
Dipl.-Inform. Med. Marco Nolden
Deutsches Krebsforschungszentrum       (German Cancer Research Center)
Div. Medical & Biological Informatics          Tel: (+49) 6221-42 2325
Im Neuenheimer Feld 280                        Fax: (+49) 6221-42 2345
D-69120 Heidelberg                             eMail: M.Nolden at dkfz.de



More information about the Dart mailing list