|
Hi All I have few java beans like CarDemandPool { With Some properties and getter
setter methods for those properties; Other utility methods; } CustomerAppliedPool { With
Some properties and getter setter methods for those properties; Other utility methods; } In my rules file I am trying to use these shadow facts and
they are working fine. But when I am trying to instantiate CustomerAppliedPool
in one of the utility methods of CarDemandPool then
the exception is thrown which is Jess reported an
error in routine DefinstanceList.createNewShadowFact. Message: Called method threw an
exception. at jess.d7.a(Unknown Source) at jess.d7.a(Unknown Source) at jess.Rete.definstance(Unknown
Source) at jess.Rete.definstance(Unknown
Source) at com.uprr.app.tcm.business.ldm.jess.JessRuleEngine.processInputs(JessRuleEngine.java:123) at com.uprr.app.tcm.business.ldm.jess.JessRuleEngine.processRules(JessRuleEngine.java:62) at com.uprr.app.tcm.business.jess.LDMRulesTestCommited.testProdCommitSurplusDemand(LDMRulesTestCommited.java:198) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source) at java.lang.reflect.Method.invoke(Unknown
Source) I am using jess 6.1 version. One more thing I wanted to inform you is that I am
using the CarDemandPool fact and customerAppliedPool
fact in the rules file individually. Can there be a confusion of CustomerAppliedPool individual fact and the object I am trying
to instantiate in demand pool? Please help me on this if you have any Ideas. Thanks in advance. Regards Subrahmanyam |
- JESS: Shadow Facts Subrahmanyam
- Re: JESS: Shadow Facts ejfried
- JESS: Shadow facts Gerhard Austaller
