<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16982" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P.MsoListParagraph {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt 36pt; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 34
}
LI.MsoListParagraph {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt 36pt; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 34
}
DIV.MsoListParagraph {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt 36pt; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 34
}
P.emailquote {
        BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; FONT-SIZE: 12pt; PADDING-BOTTOM: 0cm; MARGIN-LEFT: 1pt; BORDER-LEFT: medium none; MARGIN-RIGHT: 0cm; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; FONT-FAMILY: "Times New Roman","serif"; mso-style-name: emailquote; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
LI.emailquote {
        BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; FONT-SIZE: 12pt; PADDING-BOTTOM: 0cm; MARGIN-LEFT: 1pt; BORDER-LEFT: medium none; MARGIN-RIGHT: 0cm; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; FONT-FAMILY: "Times New Roman","serif"; mso-style-name: emailquote; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
DIV.emailquote {
        BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; FONT-SIZE: 12pt; PADDING-BOTTOM: 0cm; MARGIN-LEFT: 1pt; BORDER-LEFT: medium none; MARGIN-RIGHT: 0cm; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; FONT-FAMILY: "Times New Roman","serif"; mso-style-name: emailquote; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0cm
}
UL {
        MARGIN-BOTTOM: 0cm
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff size=2>It
gets more strange!</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff size=2>I had
already tried your first suggestion and that didn't fix it.</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2>However, I have three other rules that do essentially the same thing
but on different object classes - the object classes are very similar
however.</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff size=2>When I
removed the insert statement from the first rule (the one mentioned below)
replacing it with just a system.out.println, then the other rules all fire
successfully and their insert statements work fine.</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff size=2>So I
thought it must be something strange with the UtranCell
class.</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff size=2>But
then I tried your second suggestion - modifying only the first rule and
that worked great. So I made the same update to the other rules - now the same
problem is happening to another rule that had been working
perfectly.</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff size=2>So
then I tried playing around with the rule salience of each of the rules and it
turns out that the rule which is run last is the one that fails. If I change
salience to make a different rule run last then that rule fails with the
exception - otherwise it works fine!</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff size=2>Very
weird!</FONT></SPAN></DIV>
<DIV><SPAN class=802191514-19032010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Swindells,
Thomas<BR><B>Sent:</B> 19 March 2010 10:57<BR><B>To:</B> Rules Users
List<BR><B>Subject:</B> Re: [rules-users] Exception during
insert<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Odd,
<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Looks
like it is a problem in the internal of mvel, there’s two things I’d suggest you
could try:<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Firstly
try change it to be something similar to:<o:p></o:p></SPAN></P>
<P class=MsoListParagraph><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">for (int i=0;
i<ucells.length; i++) <o:p></o:p></SPAN></P>
<P class=MsoListParagraph><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">{<o:p></o:p></SPAN></P>
<P class=MsoListParagraph><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">UnltranCell toInsert =
ucells[i];<BR>
insert( toInsert );<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">
}</SPAN><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">If
you are lucky this may sort out the type inference.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">The
other option is to try rewriting the rule to be more declarative and not have
the iteration. This can be achieved by inserting the UtranCell array as a
global (cells) and then having a rule where the when part similar to “$cell :
UltranCell() from cells” and a then part which inserts the single cell returned
into the knowledge base.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Thomas<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<B>On Behalf Of </B>Ryan Fitzgerald<BR><B>Sent:</B> 19 March 2010
10:40<BR><B>To:</B> rules-users@lists.jboss.org<BR><B>Subject:</B> Re:
[rules-users] Exception during insert<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">**Apologies if this
post starts a new thread**<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Hi
Thomas,<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">I get a series of
</SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">com.sample.UtranCell
</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">strings
printed expected.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">So the array seems to
be correctly comprised of UtranCell objects.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">I have the following
import statement in the drl file:<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 10pt; BACKGROUND: #e8f2fe; COLOR: #960000; FONT-FAMILY: 'Courier New'">import</SPAN></B><SPAN
style="FONT-SIZE: 10pt; BACKGROUND: #e8f2fe; COLOR: black; FONT-FAMILY: 'Courier New'">
com.sample.UtranCell;</SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> </SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Weird!<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">/Ryan.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">From:
rules-users-boun...@lists.jboss.org <BR>[<A
href="mailto:rules-users-boun...@lists.jboss.org">mailto:rules-users-boun...@lists.jboss.org</A>]
On Behalf Of Ryan Fitzgerald<BR>Sent: 19 March 2010 09:41<BR>To:
rules-users@lists.jboss.org<BR>Subject: [rules-users] Exception during
insert<BR><BR>Hi,<BR><BR>I get the following exception when trying to insert an
object from within a <BR>rule consequence:<BR><BR>[Error: object is not an
instance of declaring class]<BR><BR>The rule is as follows:<BR><BR>rule "Utran
Cell Selection Rule"<BR>salience 50<BR>dialect
"java"<BR>
when<BR>
then<BR>
UtranCell[] ucells =
<BR>TopologyService.getInstance().getUtranCells();<BR>
for (int i=0; i<ucells.length; i++)
{<BR>
insert( ucells[i]
);<BR>
}<BR>end<BR><BR><BR>And it works fine if I replace the insert with
System.out.println(ucells[i]) - <BR>it seems to be something problematic with
the insert. Full trace is below.<BR><BR>I can't see what the problem is...any
ideas?<BR><BR>Thanks,<BR>Ryan.<BR><BR>org.drools.runtime.rule.ConsequenceException:
[Error: object is not an instance <BR>of declaring class]<BR>[Near : {...
Unknown
....}]<BR>
^<BR>[Line: 1, Column: 0]<BR> at
<BR>org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:23)<BR>
at
<BR>org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:943)<BR>
at
org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:885)<BR>
at
org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1086)<BR>
at
<BR>org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:660)<BR>
at
<BR>org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:627)<BR>
at
<BR>org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:183)<BR>
at com.sample.DroolsTest.main(DroolsTest.java:28)<BR>Caused by: [Error: object
is not an instance of declaring class]<BR>[Near : {... Unknown
....}]<BR>
^<BR>[Line: 1, Column: 0]<BR> at
<BR>org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:389)<BR>
at
<BR>org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:138)<BR>
at
org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:133)<BR>
at
org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)<BR>
at
<BR>org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:104)<BR>
at
org.mvel2.MVEL.executeExpression(MVEL.java:995)<BR>
at
<BR>org.drools.base.dataproviders.MVELDataProvider.getResults(MVELDataProvider.java:91)<BR>
at
org.drools.reteoo.FromNode.evaluateAndPropagate(FromNode.java:124)<BR>
at
org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:104)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:117)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:28)<BR>
at
org.drools.reteoo.JoinNode.assertLeftTuple(JoinNode.java:116)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:117)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:28)<BR>
at
org.drools.reteoo.JoinNode.assertLeftTuple(JoinNode.java:116)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:117)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:28)<BR>
at
org.drools.reteoo.JoinNode.assertLeftTuple(JoinNode.java:116)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:117)<BR>
at
<BR>org.drools.reteoo.SingleLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:78)<BR>
at
<BR>org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:142)<BR>
at
<BR>org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:42)<BR>
at
<BR>org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:185)<BR>
at
<BR>org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:146)<BR>
at
<BR>org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1046)<BR>
at
<BR>org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1001)<BR>
at
<BR>org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.java:114)<BR>
at
<BR>org.drools.base.DefaultKnowledgeHelper.insert(DefaultKnowledgeHelper.java:108)<BR>
at
<BR>com.sample.Rule_Utran_Cell_Selection_Rule_0.consequence(Rule_Utran_Cell_Selection_Rule_0.java:9)<BR>
at
<BR>com.sample.Rule_Utran_Cell_Selection_Rule_0ConsequenceInvoker.evaluate(Rule_Utran_Cell_Selection_Rule_0ConsequenceInvoker.java:18)<BR>
at
<BR>org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:934)<BR>
... 6 more<BR>Caused by: java.lang.IllegalArgumentException: object is not an
instance of <BR>declaring class<BR> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)<BR> at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)<BR> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)<BR> at
java.lang.reflect.Method.invoke(Unknown
Source)<BR> at
<BR>org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:931)<BR>
at
<BR>org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:316)<BR>
... 36 more</SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> </SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P></DIV></DIV></DIV><BR>
<HR>
<FONT face=Arial color=gray
size=1><BR>**************************************************************************************<BR>This
message is confidential and intended only for the addressee. If you have
received this message in error, please immediately notify the postmaster@nds.com
and delete it from your system as well as any copies. The content of e-mails as
well as traffic data may be monitored by NDS for employment and security
purposes. To protect the environment please do not print this e-mail unless
necessary.<BR><BR>NDS Limited. Registered Office: One London Road, Staines,
Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales.
Registered no. 3080780. VAT no. GB 603 8808
40-00<BR>**************************************************************************************<BR></FONT><BR>
<HR>
<FONT face=Arial color=gray size=1>This message is confidential and intended
only for the addressee. If you have received this message in error, please
immediately notify the postmaster@nds.com and delete it from your system as well
as any copies. The content of e-mails as well as traffic data may be monitored
by NDS for employment and security purposes.<BR>To protect the environment
please do not print this e-mail unless necessary.<BR><BR>An NDS Group Limited
company. www.nds.com<BR></FONT></BODY></HTML>