[rules-users] Nested exceptions

Michael Neale michael.neale at gmail.com
Mon Feb 12 23:54:32 EST 2007


so in your consequence a NPE is happening? yes it wraps it up.

I think there has been some talk of modifying the trace (if posisble) to
show exactly where it happens, but at the moment its just that unpleasant
wrapped exception from the consequence.

On 2/13/07, Matthew Shaw <mshaw at emergency.qld.gov.au> wrote:
>
>  Hi Guys,
>
> Drools 3 throws "RuntimeDroolsException"
>
> However is it nested? I am finding that say one of my objects passed in
> has a null property (forced error) I get the above exception with a nested
> null pointer exception.
>
> However it does not give any useful information like, what rule/condition
> the null pointer ocurred in.
>
> Am I catching the right exception?
>
> Cheers,
> Matt.
>
> Matt Shaw
> Snr Applications Developer
> Service Performance & Management Unit
> Phone: 3247 8666. ext. 94666
>  This correspondence is for the named persons only.
> It may contain confidential or privileged information or both.
> No confidentiality or privilege is waived or lost by any mis transmission.
>
> If you receive this correspondence in error please delete it from your
> system immediately and notify the sender.
> You must not disclose, copy or relay on any part of this correspondence,
> if you are not the intended recipient.
> Any opinions expressed in this message are those of the individual sender
> except where the sender expressly,
> and with the authority, states them to be the opinions of the Department
> of Emergency Services, Queensland.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070213/3d4077fc/attachment.html 


More information about the rules-users mailing list