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

Radai Rosenblatt (JIRA) jira-events at lists.jboss.org
Wed Mar 13 05:42:43 EDT 2013


Radai Rosenblatt created DROOLS-79:
--------------------------------------

             Summary: 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: Mark Proctor


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)


so far i've not been able to reproduce this issue stand-alone

--
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