[Red Hat JIRA] (DROOLS-6016) Drools throws illegal reflective access errors.
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-6016?page=com.atlassian.jira.plug... ]
Mario Fusco resolved DROOLS-6016.
---------------------------------
Resolution: Explained
> Drools throws illegal reflective access errors.
> -----------------------------------------------
>
> Key: DROOLS-6016
> URL: https://issues.redhat.com/browse/DROOLS-6016
> Project: Drools
> Issue Type: Enhancement
> Reporter: Mirtunjay Singh
> Assignee: Mario Fusco
> Priority: Major
>
> Drools throws illegal reflective access errors when --illegal-access=deny flag is set.
> [JEP 396|https://openjdk.java.net/jeps/396] will strongly encapsulate JDK internals by default. This means that {{--illegal-access-}} parameter will no longer default to {{permit}} in Java 16 or 17. It will default to {{deny}}.
> *Error when the illegal-access flag is set as deny.*
> _java.lang.ExceptionInInitializerError: null_
> _at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:989)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:592)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:514)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:483)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:429)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:396)_
> _at org.kie.soup.commons.xstream.XStreamUtils.createTrustingXStream(XStreamUtils.java:119)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:170)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:169)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl.<clinit>(KieModuleModelImpl.java:167)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:180)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:142)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:113)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:85)_
> _at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:138)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:135)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:101)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:79)_
> _at com.somepackage.SomeClass.someMethod(SomeClass.java:35)_
> _Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @28486680_
> _at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:340)_
> _at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:280)_
> _at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:176)_
> _at java.base/java.lang.reflect.Field.setAccessible(Field.java:170)_
> _at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)_
> _at com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)_
> _... 24 common frames omitted_
>
> *Warnings when the illegal-access flag is set to debug.*
> _WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/libs/xstream-1.4.10.jar) to field java.util.TreeSet.m_
> _at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)_
> _at com.thoughtworks.xstream.converters.collections.TreeSetConverter.<clinit>(TreeSetConverter.java:48)_
> _at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:990)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:592)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:514)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:483)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:429)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:396)_
> _at org.kie.soup.commons.xstream.XStreamUtils.createTrustingXStream(XStreamUtils.java:119)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:170)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:169)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl.<clinit>(KieModuleModelImpl.java:167)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:180)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:142)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:113)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:85)_
> _at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:138)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:135)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:101)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:79)_
> _at com.somepackage.SomeClass.someMethod(SomeClass.java:35)_
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-6016) Drools throws illegal reflective access errors.
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-6016?page=com.atlassian.jira.plug... ]
Mario Fusco updated DROOLS-6016:
--------------------------------
Sprint: 2021 Week 07-09 (from Feb 15)
> Drools throws illegal reflective access errors.
> -----------------------------------------------
>
> Key: DROOLS-6016
> URL: https://issues.redhat.com/browse/DROOLS-6016
> Project: Drools
> Issue Type: Enhancement
> Reporter: Mirtunjay Singh
> Assignee: Mario Fusco
> Priority: Major
>
> Drools throws illegal reflective access errors when --illegal-access=deny flag is set.
> [JEP 396|https://openjdk.java.net/jeps/396] will strongly encapsulate JDK internals by default. This means that {{--illegal-access-}} parameter will no longer default to {{permit}} in Java 16 or 17. It will default to {{deny}}.
> *Error when the illegal-access flag is set as deny.*
> _java.lang.ExceptionInInitializerError: null_
> _at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:989)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:592)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:514)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:483)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:429)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:396)_
> _at org.kie.soup.commons.xstream.XStreamUtils.createTrustingXStream(XStreamUtils.java:119)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:170)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:169)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl.<clinit>(KieModuleModelImpl.java:167)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:180)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:142)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:113)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:85)_
> _at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:138)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:135)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:101)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:79)_
> _at com.somepackage.SomeClass.someMethod(SomeClass.java:35)_
> _Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @28486680_
> _at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:340)_
> _at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:280)_
> _at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:176)_
> _at java.base/java.lang.reflect.Field.setAccessible(Field.java:170)_
> _at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)_
> _at com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)_
> _... 24 common frames omitted_
>
> *Warnings when the illegal-access flag is set to debug.*
> _WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/libs/xstream-1.4.10.jar) to field java.util.TreeSet.m_
> _at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)_
> _at com.thoughtworks.xstream.converters.collections.TreeSetConverter.<clinit>(TreeSetConverter.java:48)_
> _at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:990)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:592)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:514)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:483)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:429)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:396)_
> _at org.kie.soup.commons.xstream.XStreamUtils.createTrustingXStream(XStreamUtils.java:119)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:170)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:169)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl.<clinit>(KieModuleModelImpl.java:167)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:180)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:142)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:113)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:85)_
> _at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:138)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:135)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:101)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:79)_
> _at com.somepackage.SomeClass.someMethod(SomeClass.java:35)_
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (WFLY-14421) Too many open file Descriptors in Wildfly-18
by Manas Panda (Jira)
[ https://issues.redhat.com/browse/WFLY-14421?page=com.atlassian.jira.plugi... ]
Manas Panda commented on WFLY-14421:
------------------------------------
Correct we are using the same JDK version in both wildfly-10 and wildfly-18.
> Too many open file Descriptors in Wildfly-18
> --------------------------------------------
>
> Key: WFLY-14421
> URL: https://issues.redhat.com/browse/WFLY-14421
> Project: WildFly
> Issue Type: Task
> Reporter: Manas Panda
> Assignee: Brian Stansberry
> Priority: Major
>
> In the application code deployed in wildfly10, if the fileinputstream is not closed programmatically (its a miss in the code), during the GC (G1GC) cycle, the orphan references of the opened file input streams are closed, so the number of open file descriptor is not growing.
> However, after the upgrade of the wildfly10 to wildfly18, the file input streams which are not closed programmatically are not getting closed during the GC (G1GC) cycle due to which the number of open file descriptors are growing.
> We agree that the input streams have to be closed programmatically in the application code which we did now, but would like to understand the reason behind this behavior change in wildfly18.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5818) Support @Modifies in executable-model
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5818?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5818:
--------------------------------------
Description:
Support @Modifies for property reactivity in executable-model:
e.g.)
{code:java}
public class Light {
private boolean on;
@Modifies( { "on" } )
public void turnOn() {
setOn(true);
}
...
{code}
The issue is found in org.drools.mvel.integrationtests.VarargsTest.
was:
Support @Modifies for property reactivity in executable-model:
e.g.)
{code:java}
public class Light {
private boolean on;
@Modifies( { "on" } )
public void turnOn() {
setOn(true);
}
...
{code}
org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
> Support @Modifies in executable-model
> -------------------------------------
>
> Key: DROOLS-5818
> URL: https://issues.redhat.com/browse/DROOLS-5818
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> Support @Modifies for property reactivity in executable-model:
> e.g.)
> {code:java}
> public class Light {
> private boolean on;
> @Modifies( { "on" } )
> public void turnOn() {
> setOn(true);
> }
> ...
> {code}
> The issue is found in org.drools.mvel.integrationtests.VarargsTest.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5818) Support @Modifies in executable-model
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5818?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5818:
--------------------------------------
Description:
Support @Modifies for property reactivity in executable-model:
e.g.)
{code:java}
public class Light {
private boolean on;
@Modifies( { "on" } )
public void turnOn() {
setOn(true);
}
...
{code}
org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
was:
Support @Modifies in executable-model:
e.g.)
{code:java}
public class Light {
private boolean on;
@Modifies( { "on" } )
public void turnOn() {
setOn(true);
}
...
{code}
org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
> Support @Modifies in executable-model
> -------------------------------------
>
> Key: DROOLS-5818
> URL: https://issues.redhat.com/browse/DROOLS-5818
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> Support @Modifies for property reactivity in executable-model:
> e.g.)
> {code:java}
> public class Light {
> private boolean on;
> @Modifies( { "on" } )
> public void turnOn() {
> setOn(true);
> }
> ...
> {code}
> org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
> Currently, executable-model is disabled:
> {code:java}
> // TODO: ....
> return TestParametersUtil.getKieBaseCloudConfigurations(false);
> {code}
> If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5818) Support @Modifies in executable-model
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5818?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5818:
--------------------------------------
Description:
Support @Modifies in executable-model:
e.g.)
{code:java}
public class Light {
private boolean on;
@Modifies( { "on" } )
public void turnOn() {
setOn(true);
}
...
{code}
org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
was:
Support
org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
> Support @Modifies in executable-model
> -------------------------------------
>
> Key: DROOLS-5818
> URL: https://issues.redhat.com/browse/DROOLS-5818
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> Support @Modifies in executable-model:
> e.g.)
> {code:java}
> public class Light {
> private boolean on;
> @Modifies( { "on" } )
> public void turnOn() {
> setOn(true);
> }
> ...
> {code}
> org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
> Currently, executable-model is disabled:
> {code:java}
> // TODO: ....
> return TestParametersUtil.getKieBaseCloudConfigurations(false);
> {code}
> If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5818) Support @Modifies in executable-model
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5818?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5818:
--------------------------------------
Description:
Support
org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
was:
org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
> Support @Modifies in executable-model
> -------------------------------------
>
> Key: DROOLS-5818
> URL: https://issues.redhat.com/browse/DROOLS-5818
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> Support
> org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
> Currently, executable-model is disabled:
> {code:java}
> // TODO: ....
> return TestParametersUtil.getKieBaseCloudConfigurations(false);
> {code}
> If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5818) Support @Modifies in executable-model
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5818?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5818:
--------------------------------------
Summary: Support @Modifies in executable-model (was: executable-model test failure in test-compiler-integration VarargsTest)
> Support @Modifies in executable-model
> -------------------------------------
>
> Key: DROOLS-5818
> URL: https://issues.redhat.com/browse/DROOLS-5818
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> org.drools.mvel.integrationtests.VarargsTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
> Currently, executable-model is disabled:
> {code:java}
> // TODO: ....
> return TestParametersUtil.getKieBaseCloudConfigurations(false);
> {code}
> If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5826) executable-model test failure in test-compiler-integration PropertySpecificTest
by Toshiya Kobayashi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5826?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi updated DROOLS-5826:
--------------------------------------
Description:
-Probably the same issue as DROOLS-5818- (reproducible even after DROOLS-5818 fix)
org.drools.mvel.integrationtests.PropertySpecificTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
was:
*Probably the same issue as DROOLS-5818* (I'll revisit later)
org.drools.mvel.integrationtests.PropertySpecificTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
Currently, executable-model is disabled:
{code:java}
// TODO: ....
return TestParametersUtil.getKieBaseCloudConfigurations(false);
{code}
If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
> executable-model test failure in test-compiler-integration PropertySpecificTest
> -------------------------------------------------------------------------------
>
> Key: DROOLS-5826
> URL: https://issues.redhat.com/browse/DROOLS-5826
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> -Probably the same issue as DROOLS-5818- (reproducible even after DROOLS-5818 fix)
> org.drools.mvel.integrationtests.PropertySpecificTest in test-compiler-integration fails with some tests when executable-model is enabled. See TODO comment in the test class. Once fixed (or the test failure is justified), we can remove the TODO comment and let the test run with executable-model.
> Currently, executable-model is disabled:
> {code:java}
> // TODO: ....
> return TestParametersUtil.getKieBaseCloudConfigurations(false);
> {code}
> If the test failure contains multiple bugs, we may split this JIRA into multiple JIRAs.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-6016) Drools throws illegal reflective access errors.
by Mirtunjay Singh (Jira)
[ https://issues.redhat.com/browse/DROOLS-6016?page=com.atlassian.jira.plug... ]
Mirtunjay Singh commented on DROOLS-6016:
-----------------------------------------
Hello [~mfusco],
I tried version 7.48.0.Final
Thank you.
> Drools throws illegal reflective access errors.
> -----------------------------------------------
>
> Key: DROOLS-6016
> URL: https://issues.redhat.com/browse/DROOLS-6016
> Project: Drools
> Issue Type: Enhancement
> Reporter: Mirtunjay Singh
> Assignee: Mario Fusco
> Priority: Major
>
> Drools throws illegal reflective access errors when --illegal-access=deny flag is set.
> [JEP 396|https://openjdk.java.net/jeps/396] will strongly encapsulate JDK internals by default. This means that {{--illegal-access-}} parameter will no longer default to {{permit}} in Java 16 or 17. It will default to {{deny}}.
> *Error when the illegal-access flag is set as deny.*
> _java.lang.ExceptionInInitializerError: null_
> _at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:989)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:592)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:514)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:483)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:429)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:396)_
> _at org.kie.soup.commons.xstream.XStreamUtils.createTrustingXStream(XStreamUtils.java:119)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:170)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:169)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl.<clinit>(KieModuleModelImpl.java:167)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:180)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:142)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:113)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:85)_
> _at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:138)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:135)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:101)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:79)_
> _at com.somepackage.SomeClass.someMethod(SomeClass.java:35)_
> _Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @28486680_
> _at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:340)_
> _at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:280)_
> _at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:176)_
> _at java.base/java.lang.reflect.Field.setAccessible(Field.java:170)_
> _at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)_
> _at com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)_
> _... 24 common frames omitted_
>
> *Warnings when the illegal-access flag is set to debug.*
> _WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/libs/xstream-1.4.10.jar) to field java.util.TreeSet.m_
> _at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)_
> _at com.thoughtworks.xstream.converters.collections.TreeSetConverter.<clinit>(TreeSetConverter.java:48)_
> _at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:990)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:592)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:514)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:483)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:429)_
> _at com.thoughtworks.xstream.XStream.<init>(XStream.java:396)_
> _at org.kie.soup.commons.xstream.XStreamUtils.createTrustingXStream(XStreamUtils.java:119)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:170)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.<init>(KieModuleModelImpl.java:169)_
> _at org.drools.compiler.kproject.models.KieModuleModelImpl.<clinit>(KieModuleModelImpl.java:167)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:180)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:142)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:113)_
> _at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:85)_
> _at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:138)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:135)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:101)_
> _at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:79)_
> _at com.somepackage.SomeClass.someMethod(SomeClass.java:35)_
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months