[rules-users] Decision table errors

Welsh, Armand AWelsh at statestreet.com
Wed Nov 7 11:57:20 EST 2012


It looks like you SHOLOG class does not have an import in your Drools Package, or you have an import, but the drools compiler cannot find the class specified with a type that is compatible with the "2101" string argument.

As such, the compiler is unable to determine the data type of the lotType property, for which it assumes there should be either a public variabl logType within the SHOLOG class, or a getLogType() function.

I suspect the issue if the former, as the latter typically produces a different error.


From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Mahadevappa, Shobha
Sent: Wednesday, November 07, 2012 3:48 AM
To: rules-users at lists.jboss.org
Subject: [rules-users] Decision table errors

Hi,
I have a decision table which has an invalid column.
Drools gives the below compilation error but I am not sure about what is the line number (highlighted in red below) it is referring to in the error message.
Any pointers towards this is greatly appreciated.

Unable to Analyse Expression logType_41 == "2101":
Error: unable to resolve method using strict-mode: com.keane.nREAP.util.generatedclasses.SHOLOG.logType_41()]
Near : {... logType_41 == "2101" ....}]
^
[Line: 8, Column: 19] : [Rule name='VerificationAgain_12']


Regards,
Shobha M | Senior Program Manager, A&AD | NTT DATA Global Delivery Services Limited| w. +91-80-26659482 (Ext 3679) | v. 8814.3679 | m. +91.9972522743 | shobha.mahadevappa at nttdata.com<mailto:shobha.mahadevappa at nttdata.com>


______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121107/5d4a9f71/attachment-0001.html 


More information about the rules-users mailing list