You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Geir Magnusson Jr." <ge...@apache.org> on 2005/11/28 17:26:39 UTC
Re: failed to use xml formatter on contributions combination
What the NPE from?
Also, we should start thinking about these external dependencies that
we can take advantage of and start formalizing how we bundle the pile
together...
geir
On Nov 28, 2005, at 10:37 AM, Mishura, Stepan M wrote:
> While running security unit test on contributions combination
> (lang/util/io/net/nio plus security/crypto/x-net) I tried to generate
> tests report with 'xml' formatter.
>
> So I added xml jars to class path and changed formatter type in
> build.xml to 'xml'. But all tests failed with
>
>
>
> [junit] Exception in thread "main" java.lang.NullPointerException
>
> [junit] at
> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.f
> or
> matOutput(XMLJUnitResultFormatter.java:253)
>
> [junit] at
> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.s
> et
> SystemOutput(XMLJUnitResultFormatter.java:92)
>
> [junit] at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.sendOutAn
> dE
> rr(JUnitTestRunner.java:435)
>
> [junit] at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run
> (JUnitTe
> stRunner.java:319)
>
> [junit] at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch
> (JUni
> tTestRunner.java:672)
>
> [junit] at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main
> (JUnitT
> estRunner.java:567)
>
>
>
> Any comments/suggestions/workarounds?
>
>
>
> Thanks,
> Stepan Mishura
> Intel Managed Runtime Division
>
>
>
--
Geir Magnusson Jr +1-203-665-6437
geirm@apache.org
Re: failed to use xml formatter on contributions combination
Posted by Matt Benson <gu...@yahoo.com>.
ah... same stack trace as Ant Bugzilla Report 36733:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36733
. Any info you can provide there could help solve the
bug, but you'd be using a nightly build at best then.
-Matt
--- "Geir Magnusson Jr." <ge...@apache.org> wrote:
> What the NPE from?
>
> Also, we should start thinking about these external
> dependencies that
> we can take advantage of and start formalizing how
> we bundle the pile
> together...
>
> geir
>
> On Nov 28, 2005, at 10:37 AM, Mishura, Stepan M
> wrote:
>
> > While running security unit test on contributions
> combination
> > (lang/util/io/net/nio plus security/crypto/x-net)
> I tried to generate
> > tests report with 'xml' formatter.
> >
> > So I added xml jars to class path and changed
> formatter type in
> > build.xml to 'xml'. But all tests failed with
> >
> >
> >
> > [junit] Exception in thread "main"
> java.lang.NullPointerException
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.f
>
> > or
> > matOutput(XMLJUnitResultFormatter.java:253)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.s
>
> > et
> > SystemOutput(XMLJUnitResultFormatter.java:92)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.sendOutAn
>
> > dE
> > rr(JUnitTestRunner.java:435)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run
>
> > (JUnitTe
> > stRunner.java:319)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch
>
> > (JUni
> > tTestRunner.java:672)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main
>
> > (JUnitT
> > estRunner.java:567)
> >
> >
> >
> > Any comments/suggestions/workarounds?
> >
> >
> >
> > Thanks,
> > Stepan Mishura
> > Intel Managed Runtime Division
> >
> >
> >
>
> --
> Geir Magnusson Jr
> +1-203-665-6437
> geirm@apache.org
>
>
>
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
Re: failed to use xml formatter on contributions combination
Posted by Matt Benson <gu...@yahoo.com>.
Also, what version of Ant is this?
-Matt
--- "Geir Magnusson Jr." <ge...@apache.org> wrote:
> What the NPE from?
>
> Also, we should start thinking about these external
> dependencies that
> we can take advantage of and start formalizing how
> we bundle the pile
> together...
>
> geir
>
> On Nov 28, 2005, at 10:37 AM, Mishura, Stepan M
> wrote:
>
> > While running security unit test on contributions
> combination
> > (lang/util/io/net/nio plus security/crypto/x-net)
> I tried to generate
> > tests report with 'xml' formatter.
> >
> > So I added xml jars to class path and changed
> formatter type in
> > build.xml to 'xml'. But all tests failed with
> >
> >
> >
> > [junit] Exception in thread "main"
> java.lang.NullPointerException
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.f
>
> > or
> > matOutput(XMLJUnitResultFormatter.java:253)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.s
>
> > et
> > SystemOutput(XMLJUnitResultFormatter.java:92)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.sendOutAn
>
> > dE
> > rr(JUnitTestRunner.java:435)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run
>
> > (JUnitTe
> > stRunner.java:319)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch
>
> > (JUni
> > tTestRunner.java:672)
> >
> > [junit] at
> >
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main
>
> > (JUnitT
> > estRunner.java:567)
> >
> >
> >
> > Any comments/suggestions/workarounds?
> >
> >
> >
> > Thanks,
> > Stepan Mishura
> > Intel Managed Runtime Division
> >
> >
> >
>
> --
> Geir Magnusson Jr
> +1-203-665-6437
> geirm@apache.org
>
>
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com