geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ias" <iasan...@hotmail.com>
Subject RE: [EWS]fix the Axis module
Date Tue, 31 Aug 2004 12:22:08 GMT
> Concerning the failure of the EWS on the Axis snap shot it is 
> happen at the jaxrpc mapper inside axis code. I check the 
> wsdl file with Axis WSDL2Java tool and it works ok. That 
> means there is something assumned in the jaxrpc mapper that 
> is broken. Still I do not get what it is.
> 
> Ias do you have any idea what would be wrong?
> Thanks
> Srinath
> 
> p.s. stac
> 
> 
> the NUllPointer come at here becouse name variable is null 
> String fieldName = getAsFieldName(elem.getName());  // jongjin.

>From the comment (// jongjin), I think that the logic comes from Jongjin
Choi. 
Anyway, how can elem.getName() be null? Could you tell me which test case
causes this error?

Regards,

Ias
 
> 
> java.lang.NullPointerException
> 	at
> org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldNam
> e(JavaBeanHelperWriter.java:403)
> 	at
> org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeMetaData
> (JavaBeanHelperWriter.java:318)
> 	at
> org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeFileBody
> (JavaBeanHelperWriter.java:175)
> 	at 
> org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:130)
> 	at
> org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaB
> eanWriter.java:243)
> 	at 
> org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:130)
> 	at
> org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWr
> iter.java:112)
> 	at
> org.apache.geronimo.ews.jaxrpcmapping.J2eeGeneratorFactory$Wri
> ters.generate(J2eeGeneratorFactory.java:303)
> 	at
> org.apache.geronimo.ews.jaxrpcmapping.J2eeEmitter.generateType
> s(J2eeEmitter.java:516)
> 	at
> org.apache.geronimo.ews.jaxrpcmapping.J2eeEmitter.generate(J2e
> eEmitter.java:417)
> 	at
> org.apache.geronimo.ews.jaxrpcmapping.J2eeEmitter.runServerSid
> e(J2eeEmitter.java:175)
> 	at
> org.apache.geronimo.ews.ws4j2ee.toWs.ws.ServerSideWsGenerator.
> generate(ServerSideWsGenerator.java:129)
> 	at
> org.apache.geronimo.ews.ws4j2ee.toWs.Ws4J2eeEmitter.generatedS
> EIandtypes(Ws4J2eeEmitter.java:53)
> 	at
> org.apache.geronimo.ews.ws4j2ee.toWs.Ws4J2eeEmitter.emmit(Ws4J
> 2eeEmitter.java:112)
> 	at 
> org.apache.geronimo.ews.ws4j2ee.toWs.Ws4J2ee.generate(Ws4J2ee.
> java:129)
> 	at 
> org.apache.geronimo.ews.ws4j2ee.toWs.Ws4J2ee.main(Ws4J2ee.java:360)
> 	at
> org.apache.geronimo.ews.ws4j2ee.GenerateWithoutWSDLTest.testEc
> hoJar(GenerateWithoutWSDLTest.java:147)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	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:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTest
> s(RemoteTestRunner.java:392)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(Rem
> oteTestRunner.java:276)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Re
> moteTestRunner.java:167)
> 
> 
> 
> ------------------------------------
> Lanka Sofware Foundation
> ------------------------------------
> 

Mime
View raw message