[
https://issues.apache.org/jira/browse/ASTERIXDB-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126678#comment-16126678
]
ASF subversion and git services commented on ASTERIXDB-2036:
------------------------------------------------------------
Commit 98de3eb14558ee64da8f2bab4a840dab119df401 in asterixdb's branch
refs/heads/master from [~alamoudi]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=98de3eb ]
[ASTERIXDB-2036] Make MetadataProvider Config final
- user model changes: no
- storage format changes: no
- interface changes: no
details:
- Make config map final to avoid NullPointerExceptions
Change-Id: I25ed6433a4e1a267deeedbf22d09c119704e8d7d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1937
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Xikui Wang <[email protected]>
> MetadataProvider Config is not set sometimes causing NPE
> --------------------------------------------------------
>
> Key: ASTERIXDB-2036
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2036
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: MTD - Metadata
> Reporter: Abdullah Alamoudi
> Assignee: Abdullah Alamoudi
>
> AqlMetadataProvider has a configuration map. This map is null until set from
> outside.
> We always set it and use it. when some use case forget to set it, we end up
> with NullPointerException
> To avoid this, we will always create it and make it final.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)