• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Null Pointer Exception while creating SOAPFault Exception class's Detail object

 
Shivashankar Gurumurthy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create a SOAPFaultException of my own and throw it. I had set the code,string and actor attributes into the new class without a problem. but when i am trying to create a Detail object i am getting a null pointer exception from the server.

I am trying to do all these things in WSAD.

Yesterday i saw a page in developer works in which people were having problem in creating a detail entry. But in my case creating a detail object itself is throwing a null pointer

For your information the code is well checked and i am not the cause for that

Please advise.

the code ......

javax.xml.soap.SOAPFactory soapFactory = javax.xml.soap.SOAPFactory.newInstance();

javax.xml.soap.Detail detail = javax.xml.soap.soapFactory.createDetail();
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Shankar-

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.

As to your question, is it any different than this one you posted earlier?
[ March 14, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic