[jboss-jira] [JBoss JIRA] (DROOLS-79) ClassCastException when compiling a rule

Mario Fusco (JIRA) jira-events at lists.jboss.org
Thu Mar 28 09:43:41 EDT 2013


     [ https://issues.jboss.org/browse/DROOLS-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco reassigned DROOLS-79:
---------------------------------

    Assignee: Mario Fusco  (was: Mark Proctor)

    
> ClassCastException when compiling a rule
> ----------------------------------------
>
>                 Key: DROOLS-79
>                 URL: https://issues.jboss.org/browse/DROOLS-79
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5
>            Reporter: Radai Rosenblatt
>            Assignee: Mario Fusco
>         Attachments: JBRULES-79.zip
>
>
> when compiling a rule on jboss i see this exception printed out to the log:
> 2013-03-13 10:54:37,517 ERROR [stderr] (Thread-264) Exception in thread "Thread-264" java.lang.ClassCastException: org.mvel2.compiler.ExecutableLiteral cannot be cast to org.mvel2.compiler.ExecutableAccessor
> 2013-03-13 10:54:37,517 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.ConditionAnalyzer.analyzeNode(ConditionAnalyzer.java:173)
> 2013-03-13 10:54:37,517 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.ConditionAnalyzer.analyzeNode(ConditionAnalyzer.java:174)
> 2013-03-13 10:54:37,517 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.ConditionAnalyzer.analyzeNode(ConditionAnalyzer.java:169)
> 2013-03-13 10:54:37,517 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.ConditionAnalyzer.analyzeNode(ConditionAnalyzer.java:169)
> 2013-03-13 10:54:37,517 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.ConditionAnalyzer.analyzeSingleCondition(ConditionAnalyzer.java:108)
> 2013-03-13 10:54:37,517 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.ConditionAnalyzer.analyzeCondition(ConditionAnalyzer.java:99)
> 2013-03-13 10:54:37,518 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.ConditionAnalyzer.analyzeCondition(ConditionAnalyzer.java:70)
> 2013-03-13 10:54:37,518 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.MvelConditionEvaluator.getAnalyzedCondition(MvelConditionEvaluator.java:83)
> 2013-03-13 10:54:37,673 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:270)
> 2013-03-13 10:54:37,673 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.MvelConstraint.access$200(MvelConstraint.java:51)
> 2013-03-13 10:54:37,673 ERROR [stderr] (Thread-264) 	at org.drools.rule.constraint.MvelConstraint$ConditionJitter.run(MvelConstraint.java:250)
> 2013-03-13 10:54:37,673 ERROR [stderr] (Thread-264) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 2013-03-13 10:54:37,673 ERROR [stderr] (Thread-264) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 2013-03-13 10:54:37,673 ERROR [stderr] (Thread-264) 	at java.lang.Thread.run(Thread.java:722)
> attached to this bug is a maven project that reproduces the issue consistently

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list