Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » tptp ant execution / birt reporting error.
tptp ant execution / birt reporting error. [message #115609] Tue, 16 October 2007 13:23 Go to next message
Nick Young is currently offline Nick YoungFriend
Messages: 16
Registered: July 2009
Junior Member
Hi, I'm trying to get my tests running via ant, and although I have a basic
test running successfully, and creating a .execution file with the results,
when I come to create the test reports I get an error as follows:

test-results-publication:
[echo] Publishing test suite results report...
[tptp:publication] REPORT D:\eclipseide\projects\com.microfocus.eclipse.testcontainer\ tptpreport
[tptp:publication] 16-Oct-2007 11:32:27 org.eclipse.birt.report.engine.executor.ExecutionContext
evaluate
[tptp:publication] SEVERE: org.eclipse.birt.data.engine.core.DataException:
A BIRT exception occurred: Can not convert the value of NaN to BigDecimal
type.. See next exception for more information.
[tptp:publication] Can not convert the value of NaN to BigDecimal type.
[tptp:publication] org.mozilla.javascript.EvaluatorException: org.eclipse.birt.data.engine.core.DataException:
A BIRT exception occurred: Can not convert the value of NaN to BigDecimal
type.. See next exception for more information.
[tptp:publication] Can not convert the value of NaN to BigDecimal type.
[tptp:publication] at org.eclipse.birt.report.engine.data.dte.NativeRowObject.get( NativeRowObject.java:94)
[tptp:publication] at org.mozilla.javascript.ScriptableObject.getProperty(Scriptab leObject.java:1263)
[tptp:publication] at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1301)
[tptp:publication] at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1283)
[tptp:publication] at org.mozilla.javascript.gen.c15._c0(<inline>:1)
[tptp:publication] at org.mozilla.javascript.gen.c15.call(<inline>)
[tptp:publication] at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:304)
[tptp:publication] at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:2769)
[tptp:publication] at org.mozilla.javascript.gen.c15.call(<inline>)
[tptp:publication] at org.mozilla.javascript.gen.c15.exec(<inline>)
[tptp:publication] at org.eclipse.birt.core.script.ScriptContext.eval(ScriptContex t.java:224)
[tptp:publication] at org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:549)
[tptp:publication] at org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:528)
[tptp:publication] at org.eclipse.birt.report.engine.executor.DataItemExecutor.exe cute(DataItemExecutor.java:89)
[tptp:publication] at org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:63)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resumeLayout(HTMLInlineStackingLM.java:94)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layoutChildren(HTMLInlineStackingLM.java:138)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.java:30)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.l ayoutChildren(HTMLTableBandLM.java:67)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(HTMLTableLM.java:74)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resumeLayout(HTMLInlineStackingLM.java:94)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layoutChildren(HTMLInlineStackingLM.java:138)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.java:30)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(HTMLTableLM.java:74)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:139)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
[tptp:publication] at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
[tptp:publication] at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGenerator.generateHTMLReportFragment(BIRTReportGenerato r.java:215)
[tptp:publication] at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGenerator.processReportElement(BIRTReportGenerator.java :128)
[tptp:publication] at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGenerator.generateHTMLReport(BIRTReportGenerator.java:1 01)
[tptp:publication] at org.eclipse.tptp.test.report.birt.internal.BIRTTestPassRepor tGenerator.generateTabularReport(BIRTTestPassReportGenerator .java:128)
[tptp:publication] at org.eclipse.tptp.test.report.birt.services.TestSuitesTabular PublicationService.publish(TestSuitesTabularPublicationServi ce.java:40)
[tptp:publication] at org.eclipse.hyades.test.core.services.AbstractTestResultsPub licationService.execute(AbstractTestResultsPublicationServic e.java:105)
[tptp:publication] at org.eclipse.hyades.automation.server.AbstractService.execute (AbstractService.java:43)
[tptp:publication] at org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.java:140)
[tptp:publication] at org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableThread.java:131)
[tptp:publication] at java.lang.Thread.run(Thread.java:534)
[tptp:publication] 16-Oct-2007 11:32:27 org.eclipse.birt.report.engine.executor.ExecutionContext
evaluate
[tptp:publication] SEVERE: org.eclipse.birt.data.engine.core.DataException:
A BIRT exception occurred: Can not convert the value of NaN to BigDecimal
type.. See next exception for more information.
[tptp:publication] Can not convert the value of NaN to BigDecimal type.
[tptp:publication] org.mozilla.javascript.EvaluatorException: org.eclipse.birt.data.engine.core.DataException:
A BIRT exception occurred: Can not convert the value of NaN to BigDecimal
type.. See next exception for more information.
[tptp:publication] Can not convert the value of NaN to BigDecimal type.
[tptp:publication] at org.eclipse.birt.report.engine.data.dte.NativeRowObject.get( NativeRowObject.java:94)
[tptp:publication] at org.mozilla.javascript.ScriptableObject.getProperty(Scriptab leObject.java:1263)
[tptp:publication] at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1301)
[tptp:publication] at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:1283)
[tptp:publication] at org.mozilla.javascript.gen.c16._c0(<inline>:1)
[tptp:publication] at org.mozilla.javascript.gen.c16.call(<inline>)
[tptp:publication] at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:304)
[tptp:publication] at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:2769)
[tptp:publication] at org.mozilla.javascript.gen.c16.call(<inline>)
[tptp:publication] at org.mozilla.javascript.gen.c16.exec(<inline>)
[tptp:publication] at org.eclipse.birt.core.script.ScriptContext.eval(ScriptContex t.java:224)
[tptp:publication] at org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:549)
[tptp:publication] at org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(ExecutionContext.java:528)
[tptp:publication] at org.eclipse.birt.report.engine.executor.DataItemExecutor.exe cute(DataItemExecutor.java:89)
[tptp:publication] at org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:63)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resumeLayout(HTMLInlineStackingLM.java:94)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layoutChildren(HTMLInlineStackingLM.java:138)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.java:30)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.l ayoutChildren(HTMLTableBandLM.java:67)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(HTMLTableLM.java:74)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resumeLayout(HTMLInlineStackingLM.java:94)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layoutChildren(HTMLInlineStackingLM.java:138)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.java:30)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutChildren(HTMLBlockStackingLM.java:68)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(HTMLTableLM.java:74)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLAbstractLM.java:159)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:139)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
[tptp:publication] at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
[tptp:publication] at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
[tptp:publication] at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGenerator.generateHTMLReportFragment(BIRTReportGenerato r.java:215)
[tptp:publication] at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGenerator.processReportElement(BIRTReportGenerator.java :128)
[tptp:publication] at org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGenerator.generateHTMLReport(BIRTReportGenerator.java:1 01)
[tptp:publication] at org.eclipse.tptp.test.report.birt.internal.BIRTTestPassRepor tGenerator.generateTabularReport(BIRTTestPassReportGenerator .java:128)
[tptp:publication] at org.eclipse.tptp.test.report.birt.services.TestSuitesTabular PublicationService.publish(TestSuitesTabularPublicationServi ce.java:40)
[tptp:publication] at org.eclipse.hyades.test.core.services.AbstractTestResultsPub licationService.execute(AbstractTestResultsPublicationServic e.java:105)
[tptp:publication] at org.eclipse.hyades.automation.server.AbstractService.execute (AbstractService.java:43)
[tptp:publication] at org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.java:140)
[tptp:publication] at org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableThread.java:131)
[tptp:publication] at java.lang.Thread.run(Thread.java:534)




I've googled the error with little success, and I'm quite willing to acknowledge
that it may be a dumb user error... If I do a "report" from within eclipse
test view the resulting report is correct and runs without error. I am currently
running eclipse 3.2.1 with tptp 4.2.4 (I think!) and birt 2.1.1. This was
the version as installed through the callisto discovery site.


A cut-down of the relevant portion of my test.xml is below:


<target name="set-date-range">
<tstamp>
<format property="startDateTime" pattern="MM/dd/yyyy hh:mm aa" offset="-30"
unit="day" />
</tstamp>
<tstamp>
<format property="endDateTime" pattern="MM/dd/yyyy hh:mm aa" />
</tstamp>
</target>


<target name="test-results-publication" depends="clean, testgui, set-date-range">

<echo message="Publishing test suite results report..." />
<tptp:publication report="${report.publication.location}" reportTemplateLocation=" org.eclipse.tptp.test.report.birt.internal.TabularTPFTestSui teReportElement "
startDateTime="${startDateTime}" endDateTime="${endDateTime}">
<fileset dir="${tptp.test.workspace}">
<include name="gui_tests/Project_Copybook_Wizard.testsuite" />
<include name="gui_tests/ProjectGUISuite.testsuite" />
</fileset>


Does anyone have any suggestions where I am going wrong and how to solve
this problem?

Thanks!
Nick
Re: tptp ant execution / birt reporting error. [message #115635 is a reply to message #115609] Tue, 16 October 2007 13:43 Go to previous message
Nick Young is currently offline Nick YoungFriend
Messages: 16
Registered: July 2009
Junior Member
Hello,

Apologies to all, I posted this question because I've been looking at this
for some time and couldn't see anything wrong. After posting, I think I've
actually sussed the problem as a very small typo in my test.xml giving a
very strange error at execution time. For the benefit of google/others reference,
this error seems to be produced when actually it means that there are no
test results to parse (looking in the wrong place!)

Thanks,
Nick


> Hi, I'm trying to get my tests running via ant, and although I have a
> basic test running successfully, and creating a .execution file with
> the results, when I come to create the test reports I get an error as
> follows:
>
> test-results-publication:
> [echo] Publishing test suite results report...
> [tptp:publication] REPORT
> D:\eclipseide\projects\com.microfocus.eclipse.testcontainer\ tptpreport
> [tptp:publication] 16-Oct-2007 11:32:27
> org.eclipse.birt.report.engine.executor.ExecutionContext
> evaluate
> [tptp:publication] SEVERE:
> org.eclipse.birt.data.engine.core.DataException:
> A BIRT exception occurred: Can not convert the value of NaN to
> BigDecimal
> type.. See next exception for more information.
> [tptp:publication] Can not convert the value of NaN to BigDecimal
> type.
> [tptp:publication] org.mozilla.javascript.EvaluatorException:
> org.eclipse.birt.data.engine.core.DataException:
> A BIRT exception occurred: Can not convert the value of NaN to
> BigDecimal
> type.. See next exception for more information.
> [tptp:publication] Can not convert the value of NaN to BigDecimal
> type.
> [tptp:publication] at
> org.eclipse.birt.report.engine.data.dte.NativeRowObject.get( NativeRowO
> bject.java:94)
> [tptp:publication] at
> org.mozilla.javascript.ScriptableObject.getProperty(Scriptab leObject.j
> ava:1263)
> [tptp:publication] at
> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:
> 1301)
> [tptp:publication] at
> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:
> 1283)
> [tptp:publication] at org.mozilla.javascript.gen.c15._c0(<inline>:1)
> [tptp:publication] at org.mozilla.javascript.gen.c15.call(<inline>)
> [tptp:publication] at
> org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:30
> 4)
> [tptp:publication] at
> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:2769
> )
> [tptp:publication] at org.mozilla.javascript.gen.c15.call(<inline>)
> [tptp:publication] at org.mozilla.javascript.gen.c15.exec(<inline>)
> [tptp:publication] at
> org.eclipse.birt.core.script.ScriptContext.eval(ScriptContex t.java:224
> )
> [tptp:publication] at
> org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(Exec
> utionContext.java:549)
> [tptp:publication] at
> org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(Exec
> utionContext.java:528)
> [tptp:publication] at
> org.eclipse.birt.report.engine.executor.DataItemExecutor.exe cute(DataI
> temExecutor.java:89)
> [tptp:publication] at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportI
> temExecutor.execute(LocalizedReportItemExecutor.java:35)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:63)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resume
> Layout(HTMLInlineStackingLM.java:94)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layout
> Children(HTMLInlineStackingLM.java:138)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.
> java:30)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.l ayoutChild
> ren(HTMLTableBandLM.java:67)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(
> HTMLTableLM.java:74)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resume
> Layout(HTMLInlineStackingLM.java:94)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layout
> Children(HTMLInlineStackingLM.java:138)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.
> java:30)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(
> HTMLTableLM.java:74)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(H
> TMLPageLM.java:139)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageL
> M.java:81)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layo
> ut(HTMLReportLayoutEngine.java:80)
> [tptp:publication] at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRen
> derTask.java:194)
> [tptp:publication] at
> org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGener
> ator.generateHTMLReportFragment(BIRTReportGenerator.java:215 )
> [tptp:publication] at
> org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGener
> ator.processReportElement(BIRTReportGenerator.java:128)
> [tptp:publication] at
> org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGener
> ator.generateHTMLReport(BIRTReportGenerator.java:101)
> [tptp:publication] at
> org.eclipse.tptp.test.report.birt.internal.BIRTTestPassRepor tGenerator
> .generateTabularReport(BIRTTestPassReportGenerator.java:128)
> [tptp:publication] at
> org.eclipse.tptp.test.report.birt.services.TestSuitesTabular Publicatio
> nService.publish(TestSuitesTabularPublicationService.java:40 )
> [tptp:publication] at
> org.eclipse.hyades.test.core.services.AbstractTestResultsPub licationSe
> rvice.execute(AbstractTestResultsPublicationService.java:105 )
> [tptp:publication] at
> org.eclipse.hyades.automation.server.AbstractService.execute (AbstractS
> ervice.java:43)
> [tptp:publication] at
> org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.j
> ava:140)
> [tptp:publication] at
> org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableTh
> read.java:131)
> [tptp:publication] at java.lang.Thread.run(Thread.java:534)
> [tptp:publication] 16-Oct-2007 11:32:27
> org.eclipse.birt.report.engine.executor.ExecutionContext
> evaluate
> [tptp:publication] SEVERE:
> org.eclipse.birt.data.engine.core.DataException:
> A BIRT exception occurred: Can not convert the value of NaN to
> BigDecimal
> type.. See next exception for more information.
> [tptp:publication] Can not convert the value of NaN to BigDecimal
> type.
> [tptp:publication] org.mozilla.javascript.EvaluatorException:
> org.eclipse.birt.data.engine.core.DataException:
> A BIRT exception occurred: Can not convert the value of NaN to
> BigDecimal
> type.. See next exception for more information.
> [tptp:publication] Can not convert the value of NaN to BigDecimal
> type.
> [tptp:publication] at
> org.eclipse.birt.report.engine.data.dte.NativeRowObject.get( NativeRowO
> bject.java:94)
> [tptp:publication] at
> org.mozilla.javascript.ScriptableObject.getProperty(Scriptab leObject.j
> ava:1263)
> [tptp:publication] at
> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:
> 1301)
> [tptp:publication] at
> org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRun time.java:
> 1283)
> [tptp:publication] at org.mozilla.javascript.gen.c16._c0(<inline>:1)
> [tptp:publication] at org.mozilla.javascript.gen.c16.call(<inline>)
> [tptp:publication] at
> org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto ry.java:30
> 4)
> [tptp:publication] at
> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime .java:2769
> )
> [tptp:publication] at org.mozilla.javascript.gen.c16.call(<inline>)
> [tptp:publication] at org.mozilla.javascript.gen.c16.exec(<inline>)
> [tptp:publication] at
> org.eclipse.birt.core.script.ScriptContext.eval(ScriptContex t.java:224
> )
> [tptp:publication] at
> org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(Exec
> utionContext.java:549)
> [tptp:publication] at
> org.eclipse.birt.report.engine.executor.ExecutionContext.eva luate(Exec
> utionContext.java:528)
> [tptp:publication] at
> org.eclipse.birt.report.engine.executor.DataItemExecutor.exe cute(DataI
> temExecutor.java:89)
> [tptp:publication] at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportI
> temExecutor.execute(LocalizedReportItemExecutor.java:35)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:63)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resume
> Layout(HTMLInlineStackingLM.java:94)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layout
> Children(HTMLInlineStackingLM.java:138)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.
> java:30)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.l ayoutChild
> ren(HTMLTableBandLM.java:67)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(
> HTMLTableLM.java:74)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.resume
> Layout(HTMLInlineStackingLM.java:94)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLInlineStackin gLM.layout
> Children(HTMLInlineStackingLM.java:138)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLRowLM.layout( HTMLRowLM.
> java:30)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking LM.layoutC
> hildren(HTMLBlockStackingLM.java:68)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLTableLM.layou tChildren(
> HTMLTableLM.java:74)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.la yout(HTMLA
> bstractLM.java:159)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(H
> TMLPageLM.java:139)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageL
> M.java:81)
> [tptp:publication] at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layo
> ut(HTMLReportLayoutEngine.java:80)
> [tptp:publication] at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRen
> derTask.java:194)
> [tptp:publication] at
> org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGener
> ator.generateHTMLReportFragment(BIRTReportGenerator.java:215 )
> [tptp:publication] at
> org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGener
> ator.processReportElement(BIRTReportGenerator.java:128)
> [tptp:publication] at
> org.eclipse.tptp.platform.report.birt.core.provisional.BIRTR eportGener
> ator.generateHTMLReport(BIRTReportGenerator.java:101)
> [tptp:publication] at
> org.eclipse.tptp.test.report.birt.internal.BIRTTestPassRepor tGenerator
> .generateTabularReport(BIRTTestPassReportGenerator.java:128)
> [tptp:publication] at
> org.eclipse.tptp.test.report.birt.services.TestSuitesTabular Publicatio
> nService.publish(TestSuitesTabularPublicationService.java:40 )
> [tptp:publication] at
> org.eclipse.hyades.test.core.services.AbstractTestResultsPub licationSe
> rvice.execute(AbstractTestResultsPublicationService.java:105 )
> [tptp:publication] at
> org.eclipse.hyades.automation.server.AbstractService.execute (AbstractS
> ervice.java:43)
> [tptp:publication] at
> org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.j
> ava:140)
> [tptp:publication] at
> org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableTh
> read.java:131)
> [tptp:publication] at java.lang.Thread.run(Thread.java:534)
> I've googled the error with little success, and I'm quite willing to
> acknowledge that it may be a dumb user error... If I do a "report"
> from within eclipse test view the resulting report is correct and runs
> without error. I am currently running eclipse 3.2.1 with tptp 4.2.4 (I
> think!) and birt 2.1.1. This was the version as installed through the
> callisto discovery site.
>
> A cut-down of the relevant portion of my test.xml is below:
>
> <target name="set-date-range">
> <tstamp>
> <format property="startDateTime" pattern="MM/dd/yyyy hh:mm aa"
> offset="-30"
> unit="day" />
> </tstamp>
> <tstamp>
> <format property="endDateTime" pattern="MM/dd/yyyy hh:mm aa" />
> </tstamp>
> </target>
> <target name="test-results-publication" depends="clean, testgui,
> set-date-range">
>
> <echo message="Publishing test suite results report..." />
> <tptp:publication report="${report.publication.location}"
> reportTemplateLocation="org.eclipse.tptp.test.report.birt.internal.Tab
> ularTPFTestSuiteReportElement"
> startDateTime="${startDateTime}" endDateTime="${endDateTime}">
> <fileset dir="${tptp.test.workspace}">
> <include name="gui_tests/Project_Copybook_Wizard.testsuite" />
> <include name="gui_tests/ProjectGUISuite.testsuite" />
> </fileset>
> Does anyone have any suggestions where I am going wrong and how to
> solve this problem?
>
> Thanks!
> Nick
Previous Topic:TPTP still doesn't work
Next Topic:Error when recording http
Goto Forum:
  


Current Time: Tue Apr 23 16:28:57 GMT 2024

Powered by FUDForum. Page generated in 0.03553 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top