[JBoss JIRA] (ELY-1371) NullPointerException within DigestSaslClient if username is null.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/ELY-1371?page=com.atlassian.jira.plugin.s... ]
Darran Lofthouse resolved ELY-1371.
-----------------------------------
Fix Version/s: 1.1.3.CR1
1.2.0.Beta4
Resolution: Done
> NullPointerException within DigestSaslClient if username is null.
> -----------------------------------------------------------------
>
> Key: ELY-1371
> URL: https://issues.jboss.org/browse/ELY-1371
> Project: WildFly Elytron
> Issue Type: Bug
> Components: SASL
> Affects Versions: 1.1.2.Final
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Priority: Blocker
> Fix For: 1.1.3.CR1, 1.2.0.Beta4
>
>
> When running an EJB client which uses scoped context or legacy jboss-remote-naming API to invoke secured EJBs, a NPE occurs.
> Additionally, in the case with jboss-remote-naming legacy API, after this exception is logged, the client thread freezes (in the scoped context case, the exception propagates to the client thread).
> Full stack trace for the case of scoped context:
> {noformat}
> Suppressed: java.lang.NullPointerException
> at java.nio.charset.CharsetEncoder.canEncode(CharsetEncoder.java:984)
> at org.wildfly.security.mechanism.digest.DigestUtil.userRealmPasswordDigest(DigestUtil.java:209)
> at org.wildfly.security.sasl.digest.AbstractDigestMechanism.getSaltedPasswordFromTwoWay(AbstractDigestMechanism.java:539)
> at org.wildfly.security.sasl.digest.DigestSaslClient.createResponse(DigestSaslClient.java:231)
> at org.wildfly.security.sasl.digest.DigestSaslClient.evaluateMessage(DigestSaslClient.java:364)
> at org.wildfly.security.sasl.util.AbstractSaslParticipant.evaluateMessage(AbstractSaslParticipant.java:180)
> at org.wildfly.security.sasl.digest.DigestSaslClient.evaluateChallenge(DigestSaslClient.java:349)
> at org.wildfly.security.sasl.util.AbstractDelegatingSaslClient.evaluateChallenge(AbstractDelegatingSaslClient.java:54)
> at org.wildfly.security.sasl.util.PrivilegedSaslClient.lambda$evaluateChallenge$0(PrivilegedSaslClient.java:55)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.wildfly.security.sasl.util.PrivilegedSaslClient.evaluateChallenge(PrivilegedSaslClient.java:55)
> at org.jboss.remoting3.remote.ClientConnectionOpenListener$Authentication.lambda$handleEvent$0(ClientConnectionOpenListener.java:650)
> at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:926)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (DROOLS-1741) Using a function in nested objects
by R D (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1741?page=com.atlassian.jira.plugi... ]
R D updated DROOLS-1741:
------------------------
Description:
I am working with a project with nested objects.
I have a rule in which I need to make use of a function. If I use this function on a variable in a nested object it does not work (I get a compilation error):
Using the nested object accessor approach (compilation error "Unable to Analyse Expression"):
ObjectA( objectB. ( (someFunction(someVariable)) == 0 ) )
EDIT: The same compilation error occurs as well when just using a more complex operation on variables in nested objects as well (updated project on GitHub):
ObjectA( objectB. ( (someVariable == 0 || someVariable == 1 ) || (someVariable > -1 || someVariable < 2 )) )
was:
I am working with a project with nested objects.
I have a rule in which I need to make use of a function. If I use this function on a variable in a nested object it does not work (I get a compilation error):
Using the nested object accessor approach (compilation error "Unable to Analyse Expression"):
ObjectA( objectB. ( (someFunction(someVariable)) == 0 ) )
> Using a function in nested objects
> ----------------------------------
>
> Key: DROOLS-1741
> URL: https://issues.jboss.org/browse/DROOLS-1741
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final
> Environment: Drools 6.5.0.Final
> JDK 1.8
> Reporter: R D
> Assignee: Mario Fusco
> Priority: Minor
> Attachments: Compilation_error.PNG
>
>
> I am working with a project with nested objects.
> I have a rule in which I need to make use of a function. If I use this function on a variable in a nested object it does not work (I get a compilation error):
> Using the nested object accessor approach (compilation error "Unable to Analyse Expression"):
> ObjectA( objectB. ( (someFunction(someVariable)) == 0 ) )
> EDIT: The same compilation error occurs as well when just using a more complex operation on variables in nested objects as well (updated project on GitHub):
> ObjectA( objectB. ( (someVariable == 0 || someVariable == 1 ) || (someVariable > -1 || someVariable < 2 )) )
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (WFCORE-3314) CLI, some basic ops don't support variables
by Jean-Francois Denise (JIRA)
Jean-Francois Denise created WFCORE-3314:
--------------------------------------------
Summary: CLI, some basic ops don't support variables
Key: WFCORE-3314
URL: https://issues.jboss.org/browse/WFCORE-3314
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Jean-Francois Denise
Assignee: Jean-Francois Denise
The following command don't support variables when parsing node path option:
- ls, cd, read-operation, read-attribute.
This is due to the fact that the CommandContext is not conveyed at parse time so variables can't be resolved.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (DROOLS-1741) Using a function in nested objects
by R D (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1741?page=com.atlassian.jira.plugi... ]
R D updated DROOLS-1741:
------------------------
Attachment: Compilation_error.PNG
> Using a function in nested objects
> ----------------------------------
>
> Key: DROOLS-1741
> URL: https://issues.jboss.org/browse/DROOLS-1741
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final
> Environment: Drools 6.5.0.Final
> JDK 1.8
> Reporter: R D
> Assignee: Mario Fusco
> Priority: Minor
> Attachments: Compilation_error.PNG
>
>
> I am working with a project with nested objects.
> I have a rule in which I need to make use of a function. If I use this function on a variable in a nested object it does not work (I get a compilation error):
> Using the nested object accessor approach (compilation error "Unable to Analyse Expression"):
> ObjectA( objectB. ( (someFunction(someVariable)) == 0 ) )
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months