What is different about the two contexts? You say they are both SOAP 2.3.1. Are they the same JDK, mail.jar, activation.jar, xerces.jar (or xercesImpl.jar), ...?
Scott Nichol ----- Original Message ----- From: "Brian Shields" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 4:44 AM Subject: Re: null pointer exception > > I am using soap 2.3.1 for both and the parameters are the same, to the smae method. > Scott Nichol <[EMAIL PROTECTED]> wrote:What version of Apache SOAP are you using? Is there anything different > about the parameter you are serializing in this call? > > Scott Nichol > > ----- Original Message ----- > From: "Brian Shields" > To: > Sent: Thursday, November 21, 2002 12:14 PM > Subject: null pointer exception > > > > I am getting the following error when i try to invoke a call. I have > no > > idea why...i have it working from a different context to the same > > method. Any ideas where i should start looking for the error?? > > Thanks, > > Brian > > > > > > > > Error : java.lang.NullPointerException > > java.lang.NullPointerException > > at javax.activation.MimeType.parse(MimeType.java:80) > > at javax.activation.MimeType.(MimeType.java:48) > > at org.apache.soap.rpc.SOAPContext.addBodyPart(SOAPContext.java:328) > > at org.apache.soap.rpc.SOAPContext.addBodyPart(SOAPContext.java:300) > > at > > > org.apache.soap.encoding.soapenc.MimePartSerializer.marshall(MimePartSer > ializer.java:153) > > at > > > org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterS > erializer.java:107) > > at org.apache.soap.rpc.RPCMessage.serializeParams(RPCMessage.java:333) > > at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:307) > > at org.apache.soap.Body.marshall(Body.java:145) > > at org.apache.soap.Envelope.marshall(Envelope.java:195) > > at > > > org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnectio > n.java:273) > > at org.apache.soap.rpc.Call.invoke(Call.java:248) > > at com.xess.engine.patches.ReceiveEmail.(ReceiveEmail.java:99) > > at com.xess.engine.patches.ReceiveEmail.main(ReceiveEmail.java:179) > > > > > > > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>