You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by ph...@bnpparibas.com on 2002/08/12 12:11:30 UTC

NullPointerException in SOAPFaultRouter.notifyListeners

Hi all,
I've got the same problem, but found nowhere a solution (someone publish a
new version of the builFaultListener method with hard coded instanciation,
but that solution is not viable).

I finally find why this exception happens. The problem comes from the way
you specify the listener in the deployement descriptor :
If you specify :
<isd:faultListener>
   org.apache.soap.server.DOMFaultListener
</isd:faultListener>

You'll produce the exception !

Instead, specifiy your fault listener that way :
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>

Strange, isn't it ? Perhaps the above version keeps an '\n' in the class
name ? Problem with the XML parsing ?

Also, to the developpers of the DeploymentDescriptor class : please trace
the instanciation exception and size down the array if an instanciation
fails ;-)

Hope this will help.
Philippe.






This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.