[rules-users] drools 5.0.1 enum serialization/deserialization problem

Garner, Shawn Garner.Shawn at principal.com
Wed Jan 13 12:59:42 EST 2010


We are pre-compiling the rules and then reading them in and running them later.



I'm getting this error when reading in the compiled (serialized rules) rules:

"Error deserializing enum value"...



This line (pretty similar to this) is causing the issue when it's deserializing the Java 5 Enum.

MyClass( myEnumType == MyEnum.MY_ENUM_VALUE)





I saw some bug reports that this is fixed in 5.0.2 but I can't find it and it's been a while since 5.0.1 was released.



When is this going to be fixed or is there a way to get a snapshot 5.0.2 with this fixed?



Can somebody help me?



Thanks,

SDG



-----Message Disclaimer-----

This e-mail message is intended only for the use of the individual or
entity to which it is addressed, and may contain information that is
privileged, confidential and exempt from disclosure under applicable law.
If you are not the intended recipient, any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately by
reply email to Connect at principal.com and delete or destroy all copies of
the original message and attachments thereto. Email sent to or from the
Principal Financial Group or any of its member companies may be retained
as required by law or regulation.

Nothing in this message is intended to constitute an Electronic signature
for purposes of the Uniform Electronic Transactions Act (UETA) or the
Electronic Signatures in Global and National Commerce Act ("E-Sign")
unless a specific statement to the contrary is included in this message.

While this communication may be used to promote or market a transaction
or an idea that is discussed in the publication, it is intended to provide
general information about the subject matter covered and is provided with
the understanding that The Principal is not rendering legal, accounting,
or tax advice. It is not a marketed opinion and may not be used to avoid
penalties under the Internal Revenue Code. You should consult with
appropriate counsel or other advisors on all matters pertaining to legal,
tax, or accounting obligations and requirements.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100113/dc5b3117/attachment.html 


More information about the rules-users mailing list