[rules-users] NullPointerException when using bean property which happens to be a Enum name

Sean Su sean.x.su at gmail.com
Thu Apr 18 13:49:46 EDT 2013


yes. you are correct.


On Thu, Apr 18, 2013 at 1:28 PM, Stephen Masters <stephen.masters at me.com>wrote:

> Shouldn't that have been:
>
> $foo : Foo (myEnum == MyEnum.someItem)
>
> Your field is presumably "myEnum", whereas the class is "MyEnum".
>
>
> On 18 Apr 2013, at 18:19, Sean Su <sean.x.su at gmail.com> wrote:
>
> $foo : Foo (MyEnum == MyEnum.someItem)
>
>
>
> _______________________________________________
> 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/20130418/f6763edf/attachment.html 


More information about the rules-users mailing list