The enum is called RuleType, sorry. I am posting this here because this error only happens within Drools projects, in normal java projects this error does not happen.
The error is /"Cannot switch on a value of type RuleType. Only convertible int values or enum variables are permitted"/ no more, no less. It happens on the *switch(type)*. I don't really know how it can happen but maybe someone here could give some pointers. Once again, the same switch and enum in a bland java project gives no problems. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-causes-switch-enum-e-to-break-tp4029233p4029235.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users