Hi,
I have a rule that is working fine in eclipse junit4 test environment.
Running through maven test environment. It is throwing error.
the description is as below.
rule "insert LNACrossTXPONSatConfig into memory"
when
$TXP: Transponder($ULNK_CHNL_LIST: uplinkChannelConfigurations )
$ULNK_CHNL: ArrayList() from $ULNK_CHNL_LIST
then
insert( new LNACrossTXPOnSatConfig($TXP.satelliteConfigurationUUIDRef.id, $TXP.id,
$ULNK_CHNL.uplinkLnaUUIDRef.id, $ULNK_CHNL.uplinkFreqConverterUUIDRef.id) );
**********************************************************************************
infrastructure:
eclipse-ide: indigo
drools lib: drools 5.2.final
eclipse plugin: drools plugin 5.2.final
jdk 6
**********************************************************************************
error:
Unable to Analyse Expression drools.insert(new
LNACrossTXPOnSatConfig($TXP.satelliteConfigurationUUIDRef.id, $TXP.id,
$ULNK_CHNL.uplinkLnaUUIDRef.id,
$ULNK_CHNL.uplinkFreqConverterUUIDRef.id));:
[Error: unable to resolve method using strict-mode: java.lang.Object.id()]
[Near : {... drools.insert(new LNACrossTXPO ....}]
^
[Line: 3, Column: 98] : [Rule name='insert LNACrossTXPONSatConfig into memory']
**********************************************************************************
Any help would be highly appreciated.
Thanks,
Rav
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal
privilege. It should not be copied, disclosed to, retained or used by, any other party. If
you are not an intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.