Re: Required help to debug

Aleksander Slominski <[email protected]> Tue, 30 May 2006 13:37:23 -0400
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
[email protected] wrote:
> Hi Alek,
>
> Thanks for the suggestion. I was able to resolve it.
>
> I am facing another problem. When I try to do the following
>
> WSIFPort port = null;
> If(portName == null)
>   port = definition.getPort();
> Else
>   port = definition.getPort(portName);
>
> When this part of the code is executed, I am getting a
> NullPointerException in
>
> Org.apache.wsif.base.WSIFServiceImpl.createDynamicWSIFPort(WSIFServiceIm
> pl.java:525)
>   
could you send whole stack trace? what version of WSIF it is? i looked
WSIFServiceImpl.java but did not see anything that would create NPE -
maybe you should set break point on that line and/or add some println()
to see what happens there?

best,

alek