[Red Hat JIRA] (WFLY-14241) The messageID cannot be used in a filter expressing via JBoss CLI
by Ranabir Chakraborty (Jira)
[ https://issues.redhat.com/browse/WFLY-14241?page=com.atlassian.jira.plugi... ]
Ranabir Chakraborty reopened WFLY-14241:
----------------------------------------
> The messageID cannot be used in a filter expressing via JBoss CLI
> -----------------------------------------------------------------
>
> Key: WFLY-14241
> URL: https://issues.redhat.com/browse/WFLY-14241
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 22.0.0.Beta1
> Reporter: Ranabir Chakraborty
> Assignee: Ranabir Chakraborty
> Priority: Major
>
> The messageID header property holds a java.lang.Long value, however, it is not possible to use filter operators on the messageID header property.
> For example, the following expression would not work besides messageID in each message was greater than '0'.
> [standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default/jms-queue=A:count-messages(filter="messageID>0")
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months
[Red Hat JIRA] (DROOLS-5405) NPE removing a rule from KieBase
by Denis Mikhalyov (Jira)
[ https://issues.redhat.com/browse/DROOLS-5405?page=com.atlassian.jira.plug... ]
Denis Mikhalyov commented on DROOLS-5405:
-----------------------------------------
Got the same problem on 7.45 and 7.47 but I can not reproduce it on demand. We have ~4000 rules and use KieScanner to load updates from Business Central repository. Quite often we see the error and re-create KieContainer. I've "fixed" this in
_org.drools.core.phreak.AddRemoveRule.iterateLeftTuple:_
{code:java}
if (pmem != null) {
InternalAgenda ia = pmem.getActualAgenda(wm);
if (pmem.getRuleAgendaItem() == null) {
PhreakRuleTerminalNode.doLeftDelete(ia, pmem.getOrCreateRuleAgendaItem(ia).getRuleExecutor(), lt);
}
else {
PhreakRuleTerminalNode.doLeftDelete(ia, pmem.getRuleAgendaItem().getRuleExecutor(), lt);
}
}
{code}
Still actually I don't have understanding how to correct it normally.
> NPE removing a rule from KieBase
> --------------------------------
>
> Key: DROOLS-5405
> URL: https://issues.redhat.com/browse/DROOLS-5405
> Project: Drools
> Issue Type: Bug
> Components: build, core engine
> Affects Versions: 7.37.0.Final
> Reporter: dianle zhang
> Assignee: Ant Stephenson
> Priority: Blocker
>
> removing a rule from KieBase causes the following NPE:
> java.lang.NullPointerException: null
> at org.drools.core.phreak.AddRemoveRule.iterateLeftTuple(AddRemoveRule.java:1063) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.phreak.AddRemoveRule.visitChild(AddRemoveRule.java:978) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.phreak.AddRemoveRule.lambda$processLeftTuplesOnLian$1(AddRemoveRule.java:936) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.common.DefaultFactHandle$SingleLinkedTuples.forEachLeftTuple(DefaultFactHandle.java:727) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.common.DefaultFactHandle.forEachLeftTuple(DefaultFactHandle.java:923) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.phreak.AddRemoveRule.processLeftTuplesOnLian(AddRemoveRule.java:931) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.phreak.AddRemoveRule.processLeftTuples(AddRemoveRule.java:856) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.phreak.AddRemoveRule.removeRule(AddRemoveRule.java:173) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.reteoo.ReteooBuilder.removeTerminalNode(ReteooBuilder.java:191) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.reteoo.ReteooBuilder.removeRules(ReteooBuilder.java:177) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.impl.KnowledgeBaseImpl.lambda$removeRule$6(KnowledgeBaseImpl.java:1553) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.impl.KnowledgeBaseImpl.enqueueModification(KnowledgeBaseImpl.java:745) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
> at org.drools.core.impl.KnowledgeBaseImpl.removeRule(KnowledgeBaseImpl.java:1537) ~[drools-core-7.37.0.Final.jar:7.37.0.Final]
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months
[Red Hat JIRA] (ELY-2065) No suitable provider found for type 'PKCS11' on openjdk 11 when configuration is passed in provider-loader
by Diana Vilkolakova (Jira)
[ https://issues.redhat.com/browse/ELY-2065?page=com.atlassian.jira.plugin.... ]
Diana Vilkolakova updated ELY-2065:
-----------------------------------
Workaround Description: Possible workaround is to configure PKCS11 provider statically in java.security.
> No suitable provider found for type 'PKCS11' on openjdk 11 when configuration is passed in provider-loader
> ----------------------------------------------------------------------------------------------------------
>
> Key: ELY-2065
> URL: https://issues.redhat.com/browse/ELY-2065
> Project: WildFly Elytron
> Issue Type: Bug
> Components: API / SPI
> Reporter: Diana Vilkolakova
> Assignee: Diana Vilkolakova
> Priority: Major
>
> Steps to Reproduce work using OpenJDK 8, but on OpenJDK 11 the following exception gets thrown:
> {code}
> {{ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([}}
> {{ ("subsystem" => "elytron"),}}
> {{ ("key-store" => "pkcs11ks")}}
> {{]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.security.key-store.pkcs11ks" => "WFLYELY00004: Unable to start the service.}}
> {{ Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYELY00012: No suitable provider found for type 'PKCS11'"}}}}
> {code}
> Configuration loading for SunPKCS11 was changed after Java 8 and the constructor that accepts InputStream configuration is not present in openjdk 11. Maybe because of this, the configuration is ignored when it is passed in *provider-loader*.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months
[Red Hat JIRA] (WFLY-14241) The messageID cannot be used in a filter expressing via JBoss CLI
by Ranabir Chakraborty (Jira)
[ https://issues.redhat.com/browse/WFLY-14241?page=com.atlassian.jira.plugi... ]
Ranabir Chakraborty closed WFLY-14241.
--------------------------------------
Resolution: Not a Bug
> The messageID cannot be used in a filter expressing via JBoss CLI
> -----------------------------------------------------------------
>
> Key: WFLY-14241
> URL: https://issues.redhat.com/browse/WFLY-14241
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 22.0.0.Beta1
> Reporter: Ranabir Chakraborty
> Assignee: Ranabir Chakraborty
> Priority: Major
>
> The messageID header property holds a java.lang.Long value, however, it is not possible to use filter operators on the messageID header property.
> For example, the following expression would not work besides messageID in each message was greater than '0'.
> [standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default/jms-queue=A:count-messages(filter="messageID>0")
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 4 months