[jboss-jira] [JBoss JIRA] (DROOLS-900) java.lang.IncompatibleClassChangeError error while using HashSets

Pravasis Pattnaik (JIRA) issues at jboss.org
Tue Sep 1 02:09:05 EDT 2015


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

Pravasis Pattnaik updated DROOLS-900:
-------------------------------------
    Workaround Description: If I change it to Sets.newHashSet(e1,e2,..).contains(input) it fixes everything.  (was: If I change it to Sets.newHashSet(e1,e2,..).contains(i) it fixes everything.)


> java.lang.IncompatibleClassChangeError error while using HashSets
> -----------------------------------------------------------------
>
>                 Key: DROOLS-900
>                 URL: https://issues.jboss.org/browse/DROOLS-900
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 5.6.0.Final
>            Reporter: Pravasis Pattnaik
>            Assignee: Mario Fusco
>            Priority: Minor
>         Attachments: compiled-drl.txt, req.txt
>
>
> In the compiled drl file we were using (Sets.newHashSet(e1,e2,..)).contains(x) then we get an exception java.lang.IncompatibleClassChangeError: Class XYZ does not implement the requested interface java.util.Collection on large input sets.Here XYZ is our input ruleRequest to be evaluated. If I change it to Sets.newHashSet(e1,e2,..).contains(x) it fixes everything.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list