<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Janno has no configurations as such, so it should work. If it doesn't
work I'm guessing it's a bug with Janino. You could probably recreate
the issue outside of Drools and submit a bug to the Janino author.<br>
<br>
Mark<br>
Joe White wrote:
<blockquote
cite="mid:34BDFBE99738224A95074CB8A2C54D6E6C4E57@recsbs1.RecondoTech.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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]-->
<div class="Section1">
<p class="MsoNormal">According to the Janino Jira in <a
moz-do-not-send="true" href="http://jira.codehaus.org/browse/JANINO-72">http://jira.codehaus.org/browse/JANINO-72</a>
autoboxing was supported in version 2.5.6. It looks like drools 4.0.4
uses
Janino 2.5.10. The test below uses a DRL file that would require
autoboxing and
it produces a runtime exception from Janino. Does anybody know of a way
to make
a Janino/Drools Autoboxing combination work? I have to use autoboxing
and I
would very much prefer to use Janino over MVEL for drl compilation.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for your help,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Joe<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The information below includes the stack trace,
the Input
java file, the DRL, and a snippet for the drools setup and execution.
The
exception is easy to produce and the info below should be enough to
reproduce
it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/********************INPUT JAVA OBJECT
*******************************/<o:p></o:p></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">package</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
com.sample;</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New";"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">public</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">class</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
Input {</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">public</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> <span
style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Double</span>
</span><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 192);">valOne</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">;</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">public</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> <span
style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Double</span>
</span><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 192);">valTwo</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">;</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">public</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> <span
style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Double</span>
getValOne() {</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">return</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 192);">valOne</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">;</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
}</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">public</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">void</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
setValOne(<span
style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Double</span>
valOne) {</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">this</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">.</span><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 192);">valOne</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> =
valOne;</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
}</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">public</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> <span
style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Double</span>
getValTwo() {</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">return</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 192);">valTwo</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">;</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
}</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">public</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">void</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
setValTwo(<span
style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Double</span>
valTwo) {</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">this</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">.</span><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 192);">valTwo</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> =
valTwo;</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
}</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">}</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/********************END
*******************************/<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/********************DRL
*******************************/<o:p></o:p></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">package</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
test;</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">import</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
com.sample.Input</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">dialect</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><span
style="font-size: 10pt; font-family: "Courier New"; color: green;">"java"</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">rule</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><span
style="font-size: 10pt; font-family: "Courier New"; color: green;">"test
293"</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">when</span></b><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
inputVal : Input()</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">then</span></b><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><span
style="font-size: 10pt; font-family: "Courier New"; color: olive;">//double
valOne = 0;</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
</span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">double</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
deductibleapplied =inputVal.valOne*inputVal.valTwo;</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(150, 0, 0);">end</span></b><o:p></o:p></p>
<p class="MsoNormal">/********************END
*******************************/<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/********************DROOLS SETUP
*******************************/<o:p></o:p></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">PackageBuilderConfiguration
pkgBuilderCfg = </span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">new</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
PackageBuilderConfiguration();</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">JavaDialectConfiguration
javaConf =
(JavaDialectConfiguration) pkgBuilderCfg.getDialectConfiguration( </span><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(42, 0, 255);">"java"</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> );</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">javaConf.setCompiler(
JavaDialectConfiguration.</span><i><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 192);">JANINO</span></i><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
); </span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">PackageBuilder
builder = </span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">new</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
PackageBuilder(pkgBuilderCfg);<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"><o:p> </o:p></span></p>
<p class="MsoNormal" style=""><span
style="background: silver none repeat scroll 0%; font-size: 10pt; font-family: "Courier New"; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Input</span><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">
input = </span><b><span
style="font-size: 10pt; font-family: "Courier New"; color: rgb(127, 0, 85);">new</span></b><span
style="font-size: 10pt; font-family: "Courier New"; color: black;"> <span
style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Input</span>();</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">input.setValOne(10.0);</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">input.setValTwo(1000.0);</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">workingMemory.insert(
input );</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New"; color: black;">workingMemory.fireAllRules();
<o:p></o:p></span></p>
<p class="MsoNormal">/********************END
*******************************/<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/******************** STACK TRACE
*******************************/<o:p></o:p></p>
<p class="MsoNormal" style=""><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">java.lang.RuntimeException</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">:
SNO: Conversion
failed</span><span style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.binaryNumericPromotion(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compileArithmeticOperation(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.access$39(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler$7.visitBinaryOperation(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.Java$BinaryOperation.accept(Java.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.access$12(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler$2.visitLocalVariableDeclarationStatement(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.Java$LocalVariableDeclarationStatement.accept(Java.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.access$3(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler$2.visitBlock(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.Java$Block.accept(Java.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler$1.visitPackageMemberClassDeclaration(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.codehaus.janino.Compiler.compile(Compiler.java)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.drools.commons.jci.compilers.JaninoJavaCompiler.compile(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">JaninoJavaCompiler.java:174</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.drools.commons.jci.compilers.AbstractJavaCompiler.compile(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">AbstractJavaCompiler.java:51</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.drools.rule.builder.dialect.java.JavaDialect.compileAll(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">JavaDialect.java:332</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.drools.compiler.DialectRegistry.compileAll(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">DialectRegistry.java:60</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.drools.compiler.PackageBuilder.addPackage(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">PackageBuilder.java:308</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">PackageBuilder.java:167</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at
com.sample.SimpleTester.readRule(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">SimpleTester.java:62</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">
at com.sample.SimpleTester.main(</span><u><span
style="font-size: 10pt; font-family: "Courier New"; color: navy;">SimpleTester.java:23</span></u><span
style="font-size: 10pt; font-family: "Courier New"; color: red;">)</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>