You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/07/30 18:26:02 UTC

[jira] [Commented] (ASTERIXDB-2007) CCApplication.stop() throws NullPointerException when start() fails before appCtx is initialized

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16106594#comment-16106594 ] 

ASF subversion and git services commented on ASTERIXDB-2007:
------------------------------------------------------------

Commit 18b8323eef11544719af8119677f64fc0c234935 in asterixdb's branch refs/heads/master from [~alamoudi]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=18b8323 ]

[ASTERIXDB-2007][CLUS] Ensure AppCtx created before stopping Active Handler

- user model changes: no
- storage format changes: no
- interface changes: no

details:
- if application.start() fails before creation of the application
  context, then application.stop() will throw a null pointer
  exception. This change checks that appCtx is not null before
  dispatching calls on the object.

Change-Id: I898b6192fd91054129ed11d20c7ffe21116408c2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1908
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
BAD: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mh...@apache.org>


> CCApplication.stop() throws NullPointerException when start() fails before appCtx is initialized
> ------------------------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2007
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2007
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: CLUS - Cluster management
>            Reporter: Abdullah Alamoudi
>            Assignee: Abdullah Alamoudi
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)