Uh, sure, I've never actually used git so I'm not too clear on how that
works but I can cook up the code no problem.  I guess the question is how
best to do it.  Is that ActionException somthing that get's thrown by some
IOC containers or is it a feature that was never finished?  In other words
should I just tack on a null check afterwards or should I remove the call
from the try catch.
Raif

On Thu, May 26, 2011 at 2:03 PM, Nathan Stott <[email protected]> wrote:

> If you'll create a unit test for it and send a pull request, I'll be
> happy to merge it in
>
> On Thu, May 26, 2011 at 1:06 PM, Raif <[email protected]> wrote:
> > Hi,
> > the DeleteEventListener fires ( of course ) when you are deleting an
> > entity.  IT does a ServiceLocator.Current.Getnstance(genericExtractor)
> > call inside a try catch which listens for a ActivationException if it
> > gets one it returns Guid.Empty.
> > line 60-66
> > The problem for me is that the ServiceLocator is returning null.  Not
> > throwing an ActivationException.  so then the next line blows up cuz
> > the extractor is null.
> > I'm using structuremap for my ioc and I'm not sure if it's an issue of
> > the way I have the servicelocator set up or what.  I'm going to add an
> > extra null check in there and recompile for my own purposes but if
> > there is a better way or if this is a bug perhaps someone could patch
> > it up.
> > thanks,
> > raif
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> [email protected].
> > For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to