[jboss-jira] [JBoss JIRA] (JGRP-1849) Misconfigured SASL protocol can fail with NPE
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Dec 3 08:49:40 EST 2014
[ https://issues.jboss.org/browse/JGRP-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024728#comment-13024728 ]
RH Bugzilla Integration commented on JGRP-1849:
-----------------------------------------------
Tristan Tarrant <ttarrant at redhat.com> changed the Status of [bug 1107615|https://bugzilla.redhat.com/show_bug.cgi?id=1107615] from MODIFIED to ON_QA
> Misconfigured SASL protocol can fail with NPE
> ---------------------------------------------
>
> Key: JGRP-1849
> URL: https://issues.jboss.org/browse/JGRP-1849
> Project: JGroups
> Issue Type: Bug
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
> Priority: Optional
> Fix For: 3.4.5, 3.5
>
>
> Misconfigured JGroups SASL protocol (e.g. mech is not specified) can result into NPE:
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.jgroups.auth.sasl.SaslUtils.getSaslServerFactory(SaslUtils.java:118) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.protocols.SASL.init(SASL.java:178) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:861) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.init(JChannel.java:849) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.<init>(JChannel.java:159) [jgroups.jar:3.5.0.Beta7]
> at org.jgroups.JChannel.<init>(JChannel.java:129) [jgroups.jar:3.5.0.Beta7]
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:373) [infinispan-core.jar:7.0.0-SNAPSHOT]
> ... 124 more
> {noformat}
> It should fail more gracefully, e.g. throw some custom exception with details what's wrong with configuration.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list