Re: EchoBinding sample extension failing with NPE in isPolicySetApplicable

2007-09-14 Thread Venkata Krishnan
Thanks Luciano. I'd view that bindings must implement the 'getType' method. I'll go and fix the echo-binding-extension for this. - Venkat On 9/14/07, Luciano Resende [EMAIL PROTECTED] wrote: Looks like the CompositeWireBuilder is getting a NPE in isPolicySetApplicable due to bindingType is

Re: EchoBinding sample extension failing with NPE in isPolicySetApplicable

2007-09-14 Thread Venkata Krishnan
Sorry.. should have mentioned 'bindings that implement PolicySetAttachPoint'. On 9/14/07, Venkata Krishnan [EMAIL PROTECTED] wrote: Thanks Luciano. I'd view that bindings must implement the 'getType' method. I'll go and fix the echo-binding-extension for this. - Venkat On 9/14/07,

Re: EchoBinding sample extension failing with NPE in isPolicySetApplicable

2007-09-14 Thread Luciano Resende
Shouldn't this be more like a compilation error typed by interfaces, instead of a NPE ? On 9/14/07, Venkata Krishnan [EMAIL PROTECTED] wrote: Sorry.. should have mentioned 'bindings that implement PolicySetAttachPoint'. On 9/14/07, Venkata Krishnan [EMAIL PROTECTED] wrote: Thanks Luciano.

EchoBinding sample extension failing with NPE in isPolicySetApplicable

2007-09-13 Thread Luciano Resende
Looks like the CompositeWireBuilder is getting a NPE in isPolicySetApplicable due to bindingType is not set. I have added a check to see if bindingType is null (svn revision #575419), and in that case, isPolicySetApplicable will return false to this scenario. Could someone review this issue to