[JBoss JIRA] (DROOLS-2978) Test Scenario: unable to select rule defined in xlsx in EXPECTATION settings
by Toni Rikkola (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2978?page=com.atlassian.jira.plugi... ]
Toni Rikkola commented on DROOLS-2978:
--------------------------------------
[~jomarko] It is just the test scenarios picking this up. The real cause is xlsx is not indexed. So it breaks more than just the test scenarios.
Test scenarios picks it up since it uses the index information for the rule names in the part mentioned here. Another location that uses the rule name is for example the rule extension for guided rule or dtables. Then we also should extend the fields, used facts and so on.
> Test Scenario: unable to select rule defined in xlsx in EXPECTATION settings
> ----------------------------------------------------------------------------
>
> Key: DROOLS-2978
> URL: https://issues.jboss.org/browse/DROOLS-2978
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.7.0.Final
> Environment: Red Hat Decision Manager 7.0.0
> Reporter: Hiroko Miura
> Assignee: Toni Rikkola
> Labels: drools-tools, support
> Attachments: repo.zip, rule-selection-in-EXPECTATION.png
>
>
> In Test Scenario editor, when setting EXPECTATION, rule which is defined in XLSX is not listed in selection list of rule like an attached image.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10742) Wildfly 13 having wrong version of Maven dependency
by Bartosz Baranowski (JIRA)
[ https://issues.jboss.org/browse/WFLY-10742?page=com.atlassian.jira.plugin... ]
Bartosz Baranowski reassigned WFLY-10742:
-----------------------------------------
Assignee: Bartosz Baranowski (was: Jason Greene)
> Wildfly 13 having wrong version of Maven dependency
> ---------------------------------------------------
>
> Key: WFLY-10742
> URL: https://issues.jboss.org/browse/WFLY-10742
> Project: WildFly
> Issue Type: Bug
> Environment: wildfly-13.0.0.Final on Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-119-generic x86_64) with Java 1.8.0_171
> Reporter: Peter K
> Assignee: Bartosz Baranowski
>
> I have following Maven dependency in my pom.xml:
> {code:xml}
> <dependency>
> <groupId>com.google.guava</groupId>
> <artifactId>guava</artifactId>
> <version>20.0</version>
> </dependency>
> {code}
> A) When running it on wildfly-13.0.0.Final on Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-119-generic x86_64) with Java 1.8.0_171, it is complaining about a missing method in the Guava library (which is a Guava version < 20.0):
> {noformat}
> 2018-07-23 10:43:21,718 ERROR [stderr] (Thread-182) Exception in thread "Thread-182" java.lang.NoSuchMethodError: com.google.common.collect.Sets$SetView.iterator()Lcom/google/common/collect/UnmodifiableIterator;
> 2018-07-23 10:43:21,718 ERROR [stderr] (Thread-182) at org.reflections.Reflections.expandSuperTypes(Reflections.java:380)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at org.reflections.Reflections.<init>(Reflections.java:126)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at org.nd4j.linalg.api.ops.factory.DefaultOpFactory.<init>(DefaultOpFactory.java:71)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at java.lang.Class.newInstance(Class.java:442)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:6192)
> 2018-07-23 10:43:21,720 ERROR [stderr] (Thread-182) at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:6087)
> 2018-07-23 10:43:21,720 ERROR [stderr] (Thread-182) at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:201)
> 2018-07-23 10:43:21,720 ERROR [stderr] (Thread-182) at java.lang.Thread.run(Thread.java:748)}}
> {noformat}
> B) It runs on Mac OS X 10.13.5 with Java 1.8.0_144 without errors.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-10742) Wildfly 13 having wrong version of Maven dependency
by Bartosz Baranowski (JIRA)
[ https://issues.jboss.org/browse/WFLY-10742?page=com.atlassian.jira.plugin... ]
Bartosz Baranowski resolved WFLY-10742.
---------------------------------------
Resolution: Out of Date
12:08 $ ll ./dist/target/wildfly-14.0.0.CR1-SNAPSHOT/modules/system/layers/base/com/google/guava/main/
total 2688
drwxrwxr-x 2 baranowb baranowb 4096 wrz 7 12:07 ./
drwxrwxr-x 3 baranowb baranowb 4096 wrz 7 12:07 ../
-rw-rw-r-- 1 baranowb baranowb 2738171 wrz 7 12:07 guava-25.0-jre.jar
-rw-rw-r-- 1 baranowb baranowb 1373 wrz 7 12:07 module.xml
> Wildfly 13 having wrong version of Maven dependency
> ---------------------------------------------------
>
> Key: WFLY-10742
> URL: https://issues.jboss.org/browse/WFLY-10742
> Project: WildFly
> Issue Type: Bug
> Environment: wildfly-13.0.0.Final on Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-119-generic x86_64) with Java 1.8.0_171
> Reporter: Peter K
> Assignee: Bartosz Baranowski
>
> I have following Maven dependency in my pom.xml:
> {code:xml}
> <dependency>
> <groupId>com.google.guava</groupId>
> <artifactId>guava</artifactId>
> <version>20.0</version>
> </dependency>
> {code}
> A) When running it on wildfly-13.0.0.Final on Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-119-generic x86_64) with Java 1.8.0_171, it is complaining about a missing method in the Guava library (which is a Guava version < 20.0):
> {noformat}
> 2018-07-23 10:43:21,718 ERROR [stderr] (Thread-182) Exception in thread "Thread-182" java.lang.NoSuchMethodError: com.google.common.collect.Sets$SetView.iterator()Lcom/google/common/collect/UnmodifiableIterator;
> 2018-07-23 10:43:21,718 ERROR [stderr] (Thread-182) at org.reflections.Reflections.expandSuperTypes(Reflections.java:380)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at org.reflections.Reflections.<init>(Reflections.java:126)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at org.nd4j.linalg.api.ops.factory.DefaultOpFactory.<init>(DefaultOpFactory.java:71)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at java.lang.Class.newInstance(Class.java:442)
> 2018-07-23 10:43:21,719 ERROR [stderr] (Thread-182) at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:6192)
> 2018-07-23 10:43:21,720 ERROR [stderr] (Thread-182) at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:6087)
> 2018-07-23 10:43:21,720 ERROR [stderr] (Thread-182) at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:201)
> 2018-07-23 10:43:21,720 ERROR [stderr] (Thread-182) at java.lang.Thread.run(Thread.java:748)}}
> {noformat}
> B) It runs on Mac OS X 10.13.5 with Java 1.8.0_144 without errors.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2978) Test Scenario: unable to select rule defined in xlsx in EXPECTATION settings
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2978?page=com.atlassian.jira.plugi... ]
Jozef Marko commented on DROOLS-2978:
-------------------------------------
[~Rikkola] [~manstis] I propose to double check with [~tirelli] if we are going to fix as this is for old test scenarios. I remember I proposed to fix DROOLS-2000 however Edson declined because of new upcoming scenarios.
> Test Scenario: unable to select rule defined in xlsx in EXPECTATION settings
> ----------------------------------------------------------------------------
>
> Key: DROOLS-2978
> URL: https://issues.jboss.org/browse/DROOLS-2978
> Project: Drools
> Issue Type: Bug
> Components: Test Scenarios Editor
> Affects Versions: 7.7.0.Final
> Environment: Red Hat Decision Manager 7.0.0
> Reporter: Hiroko Miura
> Assignee: Toni Rikkola
> Labels: drools-tools, support
> Attachments: repo.zip, rule-selection-in-EXPECTATION.png
>
>
> In Test Scenario editor, when setting EXPECTATION, rule which is defined in XLSX is not listed in selection list of rule like an attached image.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months