Have you done an update recently ? 
Are you running these outside of eclipse ? 

I just did an update and they are running ok for me.

Edell. 

-----Original Message-----
From: Vescovi, Matteo 
Sent: 17 July 2006 14:39
To: yoko-dev@incubator.apache.org
Subject: failures in tools?

Hi,
is anyone else getting the following failures when running tests in
trunk/tools (revision 422708)?

[surefire] testBindingGenDefault(org.apache.yoko.tools.WSDLToIDLTest)
Time elapsed: 0.383 sec  <<< FAILURE!
junit.framework.AssertionFailedError: WSDLToIDL Failed expected:<0> but
was:<-1>
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.failNotEquals(Assert.java:280)
    at junit.framework.Assert.assertEquals(Assert.java:64)
    at junit.framework.Assert.assertEquals(Assert.java:198)
    at
org.apache.yoko.tools.WSDLToIDLTest.testBindingGenDefault(WSDLToIDLTest.
java:147)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery
.java:242)
    at
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java
:216)
    at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)

[surefire]
testBindingGenSpecifiedFile(org.apache.yoko.tools.WSDLToIDLTest)  Time
elapsed: 0.364 sec  <<< FAILURE!
junit.framework.AssertionFailedError: WSDLToIDL Failed expected:<0> but
was:<-1>
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.failNotEquals(Assert.java:280)
    at junit.framework.Assert.assertEquals(Assert.java:64)
    at junit.framework.Assert.assertEquals(Assert.java:198)
    at
org.apache.yoko.tools.WSDLToIDLTest.testBindingGenSpecifiedFile(WSDLToID
LTest.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery
.java:242)
    at
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java
:216)
    at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)

[surefire] testIDLGenDefault(org.apache.yoko.tools.WSDLToIDLTest)  Time
elapsed: 0.061 sec  <<< ERROR!
java.lang.NullPointerException
    at
org.apache.yoko.tools.WSDLToIDLTest.testIDLGenDefault(WSDLToIDLTest.java
:196)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery
.java:242)
    at
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java
:216)
    at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)

[surefire] testIDLGenSpecifiedFile(org.apache.yoko.tools.WSDLToIDLTest)
Time elapsed: 0.06 sec  <<< ERROR!
java.lang.NullPointerException
    at
org.apache.yoko.tools.WSDLToIDLTest.testIDLGenSpecifiedFile(WSDLToIDLTes
t.java:217)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery
.java:242)
    at
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java
:216)
    at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)

[surefire] testBindAndIDLGen(org.apache.yoko.tools.WSDLToIDLTest)  Time
elapsed: 0.128 sec  <<< ERROR!
java.lang.NullPointerException
    at
org.apache.yoko.tools.WSDLToIDLTest.testBindAndIDLGen(WSDLToIDLTest.java
:241)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery
.java:242)
    at
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java
:216)
    at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)

[surefire] testBindingGenDuplicate(org.apache.yoko.tools.WSDLToIDLTest)
Time elapsed: 0.06 sec  <<< ERROR!
java.lang.NullPointerException
    at
org.apache.yoko.tools.WSDLToIDLTest.testBindingGenDuplicate(WSDLToIDLTes
t.java:308)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery
.java:242)
    at
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java
:216)
    at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)

[surefire] testMissingBindingName(org.apache.yoko.tools.WSDLToIDLTest)
Time elapsed: 0.284 sec  <<< FAILURE!
junit.framework.AssertionFailedError: WSDLToIDL should succeed even
without Binding name. Name used from creation of CORBA binding to
generate IDL. expected:<0> but was:<-1>
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.failNotEquals(Assert.java:280)
    at junit.framework.Assert.assertEquals(Assert.java:64)
    at junit.framework.Assert.assertEquals(Assert.java:198)
    at
org.apache.yoko.tools.WSDLToIDLTest.testMissingBindingName(WSDLToIDLTest
.java:336)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery
.java:242)
    at
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java
:216)
    at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)



Reply via email to