You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/20 12:47:20 UTC
[jira] [Commented] (IGNITE-3515) NullPointerException when stopping
IgniteSemaphore and no method has been called previously to initialize
semaphore with initializeSemaphore().
[ https://issues.apache.org/jira/browse/IGNITE-3515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385792#comment-15385792 ]
ASF GitHub Bot commented on IGNITE-3515:
----------------------------------------
GitHub user kromulan opened a pull request:
https://github.com/apache/ignite/pull/875
IGNITE-3515
Null check for sync object added to IgniteSemaphore implementation stop method.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kromulan/ignite IGNITE-3515
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/875.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #875
----
commit b72e5788e735f8ed34add648638450ba3f51bbca
Author: Krome Plasma <re...@tetryon.net>
Date: 2016-07-20T12:41:26Z
IgniteSemaphore implementation stop method null check
----
> NullPointerException when stopping IgniteSemaphore and no method has been called previously to initialize semaphore with initializeSemaphore().
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-3515
> URL: https://issues.apache.org/jira/browse/IGNITE-3515
> Project: Ignite
> Issue Type: Bug
> Components: data structures
> Affects Versions: 1.6
> Reporter: Krome Plasma
> Fix For: 1.7
>
>
> IgniteSemaphore stop() method does not check if internal synchronization object 'sync' is null hence null pointer exception is thrown.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)