Fixed in r602988.

- Venkat

On Dec 10, 2007 11:07 PM, Simon Laws <[EMAIL PROTECTED]> wrote:

> On Dec 10, 2007 4:32 PM, Venkata Krishnan <[EMAIL PROTECTED]> wrote:
>
> > Hi Simon...  sorry about that... I'll fix that now ..
> >
> > - Venkat
> >
> > On Dec 10, 2007 9:55 PM, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> > > With the latest trunk in samples/binding-echo-extension I'm getting a
> > null
> > > pointer at the last line of this (from BaseAssemblyProcessor.java)
> > >
> > >    protected void validatePolicySets(Base parent, PolicySetAttachPoint
> > > policySetAttachPoint) throws ContributionResolveException {
> > >        String appliesTo = null;
> > >        IntentAttachPointType attachPointType =
> > > policySetAttachPoint.getType
> > > ();
> > >        String scdlFragment = ""; //need to write the 'parent' as scdl
> > xml
> > > string
> > >
> > >        //validate policysets specified for the attachPoint
> > >        for (PolicySet policySet : policySetAttachPoint.getPolicySets
> ())
> > {
> > >            appliesTo = policySet.getAppliesTo();
> > >            if ( !policySet.isUnresolved() ) {
> > >                if
> > > (!PolicyValidationUtils.isPolicySetApplicable(scdlFragment, appliesTo,
> > > attachPointType)) {
> > >                    throw new ContributionResolveException("Policy Set
> '"
> > +
> > > policySet.getName ()
> > >                        + "' does not apply to binding type  "
> > >                        + attachPointType.getName());
> > >
> > >
> > > It's trying to throw the exception and attachPointType is null. Anyone
> > any
> > > ideas before I dive in an debug it.
> > >
> > > Regards
> > >
> > > Simon
> > >
> >
> No problem Venkat. Thanks for looking at it. One less thing for me to
> debug
> ;-)
>
> Simon
>

Reply via email to