Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Fw: Issue generating Lyo OSLC Test Suite html report

Yup, I am on a Mac, and have the same default JRE as yours.

___________________________________________________________________________
Samit Mehta
mailto:samit.mehta@xxxxxxxxxx

IBM Rational Software - Business Development


Michael Fiedler <fiedler.mf@xxxxxxxxx> wrote on 09/19/2012 10:41:44 AM:

> From: Michael Fiedler <fiedler.mf@xxxxxxxxx>

> To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>,
> Cc: Michael F Fiedler/Durham/IBM@IBMUS, Samit Mehta/San Francisco/IBM@IBMUS
> Date: 09/19/2012 10:46 AM
> Subject: Re: [lyo-dev] Fw: Issue generating Lyo OSLC Test Suite html report
>
> I'm seeing this issue too, even after Yuhong's instructions.
> Google-ing give a hint it might be JRE related.   I'm investigating.
>
> Samit, Are you on a Mac?  Can you do a java -version command in your
> JRE directory?
>
> Mine looks like:
>
> java version "1.6.0_33"
> Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
> Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
>
> On Wed, Sep 19, 2012 at 9:54 AM, Yuhong Yin <yyin@xxxxxxxxxx> wrote:
> > Hello Samit
> >
> > First please make sure you have the latest Lyo OSLC test suite in your
> > workspace.
> >
> > One thing you can try is to remove all files and directory from these two
> > directories
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/report
> >
> > then run the ant tasks in two steps
> > step 1: run the ant task "provider-test"
> > step 2: run these ant tasks: "merge-results", "append-oslc-spec-info" and
> > "junitreport"
> >
> > Let me know if you still have issue and we will do further debug.
> >
> > Thanks,
> >
> > Yuhong
> >
> > ----------------------------------------------------------------------
> > Yuhong Yin
> >
> > IBM Software, Rational
> > 550 King St. Littleton, MA, 01460
> > Tel: 978-899-4762
> > Email: yyin@xxxxxxxxxx
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Samit Mehta <samit.mehta@xxxxxxxxxx>
> > Date: Tue, Sep 18, 2012 at 3:16 PM
> > Subject: [lyo-dev] Issue generating Lyo OSLC Test Suite html report
> > To: lyo-dev@xxxxxxxxxxx
> >
> >
> > Any ideas on how to resolve the following XSLT processing errors when
> > generating the html report using Ant from the Lyo OSLC Test Suite results.
> > Not sure if it is related, but the generated Bar Chart (barchartSVG.svg)
> > is also incorrect - shows more errors than the actual test results.
> >
> > junitreport:
> >     [echo] Detecting A Previous OSLCAssessmentReport.html file within the
> > report directory ...
> >     [echo] NO OSLCAssessmentReport.html file within the report directory
> > was detected ...
> >     [echo] Converting TESTS-TestSuitesOSLC.xml into a HTML report
> >     [xslt] Processing
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-
> TestSuitesOSLC.xml
> > to
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/report/RTC4/barchartSVG.svg
> >     [xslt] Loading stylesheet
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/reportstyle/barchartSVG.xsl
> >     [xslt] Processing
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-
> TestSuitesOSLC.xml
> > to
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/report/RTC4/
> OSLCAssessmentReport.html
> >     [xslt] Loading stylesheet
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/reportstyle/junit-noframes.xsl
> >     [xslt] : Error! The first argument to the non-static Java function
> > 'replace' is not a valid object reference.
> >     [xslt] : Error! Cannot convert data-type 'void' to 'reference'.
> >     [xslt] : Fatal Error! Could not compile stylesheet
> >     [xslt] Failed to process
> > /work/git/org.eclipse.lyo.testsuite/
> org.eclipse.lyo.testsuite.server/assessment/cm/junit/RTC4/TESTS-
> TestSuitesOSLC.xml
> >
> > ____________________________________________
> > Samit Mehta
> > mailto:samit.mehta@xxxxxxxxxx
> > IBM Rational Software - Business Development
> >
> >
> > _______________________________________________
> > lyo-dev mailing list
> > lyo-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/lyo-dev
> >
>


Back to the top