RE: Required help to debug

<[email protected]> Tue, 30 May 2006 23:27:09 +0530
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
Hi Alek,

Thanks,

I am using WSIF-2.1.0_RC1.

I am testing a Java Binding basically.

I tried debugging the WSIF code. In WSIFDynamicProvider_Java in
createDynamicWSIFPort() method

In line no 124 the Object o is of type UnknownExtensibilityElement.
But the code expects it to be a JavaBinding. Because of this
The WSIFPort is not at all created and null is returned from this
Method.

Pls suggest

Regards
Prakash




-----Original Message-----
From: Aleksander Slominski [mailto:[email protected]]
Sent: Tuesday, May 30, 2006 11:07 PM
To: [email protected]
Subject: Re: Required help to debug

[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(WSIFService
> Im
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com