[JBoss JIRA] (DROOLS-900) java.lang.IncompatibleClassChangeError error while using HashSets
by Pravasis Pattnaik (JIRA)
[ https://issues.jboss.org/browse/DROOLS-900?page=com.atlassian.jira.plugin... ]
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)
10 years, 2 months
[JBoss JIRA] (DROOLS-900) java.lang.IncompatibleClassChangeError error while using HashSets
by Pravasis Pattnaik (JIRA)
[ https://issues.jboss.org/browse/DROOLS-900?page=com.atlassian.jira.plugin... ]
Pravasis Pattnaik updated DROOLS-900:
-------------------------------------
Description: In the compiled drl file we were using (Sets.newHashSet(e1,e2,..)).contains(input) 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(input) it fixes everything. (was: 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.)
> 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(input) 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(input) it fixes everything.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months
[JBoss JIRA] (DROOLS-900) java.lang.IncompatibleClassChangeError error while using HashSets
by Pravasis Pattnaik (JIRA)
Pravasis Pattnaik created DROOLS-900:
----------------------------------------
Summary: 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)
10 years, 2 months
[JBoss JIRA] (DROOLS-900) java.lang.IncompatibleClassChangeError error while using HashSets
by Pravasis Pattnaik (JIRA)
[ https://issues.jboss.org/browse/DROOLS-900?page=com.atlassian.jira.plugin... ]
Pravasis Pattnaik updated DROOLS-900:
-------------------------------------
Workaround Description: If I change it to Sets.newHashSet(e1,e2,..).contains(i) it fixes everything. (was: If I change it to Sets.newHashSet(e1,e2,..).contains(x) 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)
10 years, 2 months
[JBoss JIRA] (WFLY-5244) bean-validation quickstart fails to validate due to non-compliant arquillian.xml
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/WFLY-5244?page=com.atlassian.jira.plugin.... ]
Rob Stryker commented on WFLY-5244:
-----------------------------------
If it turns out that arquillian_1_0.xsd is modified to fix this bug by adding the property element to the schema, (rather than removing the property from the quickstart) I'd like to request that the schema be added to http://www.jboss.org/schema/jbossas/ for easy mirroring of all of our relevant schema into JBoss Tools.
> bean-validation quickstart fails to validate due to non-compliant arquillian.xml
> --------------------------------------------------------------------------------
>
> Key: WFLY-5244
> URL: https://issues.jboss.org/browse/WFLY-5244
> Project: WildFly
> Issue Type: Bug
> Reporter: Rob Stryker
> Assignee: Jason Greene
>
> bean-validation quickstart fails to validate in arquillian.xml.
> The arquillian_1_0.xsd file includes the following:
> {code}
> <element name="container">
> <complexType>
> <choice minOccurs="1" maxOccurs="unbounded">
> <element ref="tns:configuration" minOccurs="0" maxOccurs="1" />
> <!--
> <element ref="tns:dependencies" minOccurs="0" maxOccurs="1" />
> -->
> <element ref="tns:protocol" minOccurs="0" maxOccurs="unbounded" />
> </choice>
> <attribute name="qualifier" type="string" use="required" />
> <attribute name="default" type="boolean" use="optional" default="false" />
> <attribute name="mode" use="optional" default="suite">
> <simpleType>
> <restriction base="string">
> <enumeration value="suite" />
> <enumeration value="class" />
> <enumeration value="manual" />
> <enumeration value="custom" />
> </restriction>
> </simpleType>
> </attribute>
> </complexType>
> <unique name="unique-protocol-within-container">
> <annotation>
> <documentation>
> @type must be unique between all
> protocols in a container.
> </documentation>
> </annotation>
> <selector xpath="tns:protocol" />
> <field xpath="@type" />
> </unique>
> </element>
> {code}
> The arquillian.xml included in the example includes the following:
> {code}
> <container qualifier="jboss" default="true">
> <!-- By default, arquillian will use the JBOSS_HOME environment variable. Alternatively, the configuration below can be uncommented. -->
> <!--<configuration> -->
> <property name="jbossHome">C:/tools/wildfly-9.0.0.Final</property>
> <!--</configuration> -->
> </container>
> {code}
> Validation error is that "property" is not a valid sub-element, which is true based on the xsd file.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 2 months