[JBoss JIRA] (DROOLS-3787) executable-model build failed because trying to resolve test case in Windows
by Luca Molteni (Jira)
[ https://issues.jboss.org/browse/DROOLS-3787?page=com.atlassian.jira.plugi... ]
Luca Molteni updated DROOLS-3787:
---------------------------------
Sprint: 2019 Week 11-13
> executable-model build failed because trying to resolve test case in Windows
> ----------------------------------------------------------------------------
>
> Key: DROOLS-3787
> URL: https://issues.jboss.org/browse/DROOLS-3787
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.18.0.Final, 7.19.0.Final
> Environment: - Windows 2012
> - Windows 7
> Confirmed with some tags
> - 7.14.0.Final-redhat-00004
> - 7.18.0.Final
> - 7.19.0.Final
> - 7.20.0-SNAPSHOT
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
> Attachments: with-test-sources-reproducer.zip
>
>
> Under the condition:
> - Windows
> - executable-model build (mvn clean install -DgenerateModel=YES -DskipTests)
> The build tries to resolve java source under "src/test/java" then failed with the error
> {noformat}
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.20.0-SNAPSHOT:generateModel (default-generateModel) on project
> with-test-sources: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.20.0-SNAPSHOT:generateModel faile
> d: Unable to get KieModule, Errors Existed: Error Messages:
> [ERROR] Message [id=1, level=ERROR, path=src/test/java/com/sample/SampleTest.java, line=15, column=372
> [ERROR] text=Only a type can be imported. org.mockito.Mockito resolves to a package]
> [ERROR] Message [id=2, level=ERROR, path=src/test/java/com/sample/SampleTest.java, line=22, column=563
> [ERROR] text=Mockito cannot be resolved]
> [ERROR] ---
> {noformat}
> It doesn't happen in MacOS/RHEL7
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (WFCORE-4386) Unable to start WF with JDK11 and GC log enabled
by Marek Kopecký (Jira)
Marek Kopecký created WFCORE-4386:
-------------------------------------
Summary: Unable to start WF with JDK11 and GC log enabled
Key: WFCORE-4386
URL: https://issues.jboss.org/browse/WFCORE-4386
Project: WildFly Core
Issue Type: Bug
Components: Scripts
Reporter: Marek Kopecký
Assignee: James Perkins
Unable to start WF with JDK11 and GC log enabled
Log:
{noformat}
[0.005s][error][logging] Missing terminating quote in -Xlog option 'file="C:\Users\Administrator\playground\w'
Invalid -Xlog option '-Xlog:gc*:file="C:\Users\Administrator\playground\w', see error log for details.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
{noformat}
The issue is caused by [this line of common.ps1 file|https://github.com/wildfly/wildfly-core/blob/master/core-feature-pac...]
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (DROOLS-3794) Inconsistent null check between JITed and non-JITed "contains"/"memberOf" condition
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-3794?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-3794:
--------------------------------
Sprint: 2019 Week 11-13
> Inconsistent null check between JITed and non-JITed "contains"/"memberOf" condition
> -----------------------------------------------------------------------------------
>
> Key: DROOLS-3794
> URL: https://issues.jboss.org/browse/DROOLS-3794
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.19.0.Final
> Reporter: Max Zerzouri
> Assignee: Mario Fusco
> Priority: Major
> Attachments: DroolsTest.java, drl.drl
>
>
> A condition such as {{list contains item}} or {{item memberOf list}} seems to correspond to {{EvaluatorHelper.contains(list, item)}}, but when this has been compiled through {{ASMConditionEvaluatorJitter}}, the condition includes the additional constraint, {{item != null}}. This differs to the non-JITed condition, which does not require {{item}} to be non-null.
> Attached an example {{.drl}} file as an example case, and a simple runner. Running {{java DroolsTest 14}} triggers the issue for me (resulting in an infinite loop in this case), but since the recompilation is asynchronous, it might require a larger number.
> Decompiled {{ConditionalEvaluator}} for the test case below:
> {code:java}
> import droolstest.Bar;
> import droolstest.Foo;
> import java.util.List;
> import org.drools.core.common.InternalFactHandle;
> import org.drools.core.common.InternalWorkingMemory;
> import org.drools.core.rule.Declaration;
> import org.drools.core.rule.constraint.ConditionEvaluator;
> import org.drools.core.rule.constraint.EvaluatorHelper;
> import org.drools.core.spi.Tuple;
> public class ConditionEvaluator4471f59df9b54235ba1be708b5c480da
> implements ConditionEvaluator {
> private static final String EXPRESSION = "!( foo.barNames contains name )";
> private final Declaration[] declarations;
> public boolean evaluate(InternalFactHandle internalFactHandle, InternalWorkingMemory internalWorkingMemory, Tuple tuple) {
> Tuple tuple2 = tuple;
> Foo foo = (Foo)this.declarations[0].getValue(internalWorkingMemory, tuple2.getFactHandle().getObject());
> List list = foo.getBarNames();
> String string = ((Bar)internalFactHandle.getObject()).getName();
> return !(list == null ? false : (string == null ? false : EvaluatorHelper.contains((Object)list, (Object)string)));
> }
> public ConditionEvaluator4471f59df9b54235ba1be708b5c480da(Declaration[] arrdeclaration) {
> this.declarations = arrdeclaration;
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months
[JBoss JIRA] (DROOLS-3795) Added new row with action in between of guided decision table is replicating in source for other below rows
by Toni Rikkola (Jira)
[ https://issues.jboss.org/browse/DROOLS-3795?page=com.atlassian.jira.plugi... ]
Toni Rikkola moved RHDM-895 to DROOLS-3795:
-------------------------------------------
Project: Drools (was: Red Hat Decision Manager)
Key: DROOLS-3795 (was: RHDM-895)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Docs QE Status: NEW
Component/s: Guided Decision Table Editor
(was: Decision Central)
Affects Version/s: (was: 7.2.0.GA)
QE Status: NEW
> Added new row with action in between of guided decision table is replicating in source for other below rows
> -----------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-3795
> URL: https://issues.jboss.org/browse/DROOLS-3795
> Project: Drools
> Issue Type: Bug
> Components: Guided Decision Table Editor
> Reporter: Oscar Molina Baltanas
> Assignee: Toni Rikkola
> Priority: Major
> Labels: drools-tools, support
>
> Added action value for a particular row is also applying to other rows. Value is not added for other rows in table but source has that value for other rows also. Go to the sections "Steps to reproduce" to see the issue.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 9 months