asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-2007) CCApplication.stop() throws NullPointerException when start() fails before appCtx is initialized
Date Sun, 30 Jul 2017 18:26:02 GMT

    [ 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 <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@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)

Mime
View raw message