[jboss-jira] [JBoss JIRA] (WFLY-1351) Incorrect exception handling in CoreGroupCommunicationService#handle
RH Bugzilla Integration (JIRA)
issues at jboss.org
Sat Jun 28 11:32:30 EDT 2014
[ https://issues.jboss.org/browse/WFLY-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980236#comment-12980236 ]
RH Bugzilla Integration commented on WFLY-1351:
-----------------------------------------------
mark yarborough <myarboro at redhat.com> changed the Status of [bug 963448|https://bugzilla.redhat.com/show_bug.cgi?id=963448] from VERIFIED to CLOSED
> Incorrect exception handling in CoreGroupCommunicationService#handle
> --------------------------------------------------------------------
>
> Key: WFLY-1351
> URL: https://issues.jboss.org/browse/WFLY-1351
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Clustering
> Reporter: Dennis Reed
> Assignee: Paul Ferraro
> Fix For: 8.0.0.Alpha3
>
>
> org/jboss/as/clustering/impl/CoreGroupCommunicationService#handle catches and hides any internal exceptions, and just returns null instead.
> This breaks callers of CoreGroupCommunicationService when they get a null value where it's not expected (after verifying that the response was not flagged as an exception)
> java.lang.NullPointerException
> at org.jboss.as.clustering.lock.AbstractClusterLockSupport.lock(AbstractClusterLockSupport.java:157)
> It also catches an exception from the called method, and returns it as the return value, instead of just throwing it as an exception so it can be properly returned as an exception inside JGroups' RequestCorrelator.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list