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

Sean Su sean.x.su at gmail.com
Fri Apr 19 23:22:31 EDT 2013


Case has been created:

https://issues.jboss.org/browse/GUVNOR-2007

thanks

Sean


On Thu, Apr 18, 2013 at 2:54 PM, Michael Anstis <michael.anstis at gmail.com>wrote:

> Please raise a JIRA for Guvnor and attach your model JAR. I will take a
> look.
> On 18 Apr 2013 18:50, "Sean Su" <sean.x.su at gmail.com> wrote:
>
>> 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
>>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> 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/20130419/54724a94/attachment.html 


More information about the rules-users mailing list