Skip to content

[HOTFIX] NPE when there's no properties field in interpreter-setting.json - #1128

Closed
jongyoul wants to merge 1 commit into
apache:masterfrom
jongyoul:hotfix/interpreter-properties-is-null
Closed

[HOTFIX] NPE when there's no properties field in interpreter-setting.json#1128
jongyoul wants to merge 1 commit into
apache:masterfrom
jongyoul:hotfix/interpreter-properties-is-null

Conversation

@jongyoul

Copy link
Copy Markdown
Member

What is this PR for?

Fixing NPE while initializing interpreters from interpreter-setting.json

What type of PR is it?

[Bug Fix | Hot Fix]

Todos

  • - Fix NPE

What is the Jira issue?

N/A

How should this be tested?

  1. delete properties in one of interpreter-setting.json
  2. Build and run
  3. Got error
  4. Apply this PR
  5. Build and run
  6. Run it successfully

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@khalidhuseynov

Copy link
Copy Markdown
Member

LGTM

@bzz

bzz commented Jul 5, 2016

Copy link
Copy Markdown
Member

Looks good to me, let's merge asap as HOTFIX

@jongyoul
jongyoulforce-pushed the hotfix/interpreter-properties-is-null branch from 0b89b3a to 1dcf562CompareJuly 5, 2016 05:27
@prabhjyotsingh

Copy link
Copy Markdown
Contributor

Good catch, agreed with @bzz, let's merge asap.

@asfgitasfgit closed this in 41c74f5Jul 5, 2016
PhilippGrulich pushed a commit to SWC-SENSE/zeppelin that referenced this pull request Aug 8, 2016
…json
### What is this PR for?
Fixing NPE while initializing interpreters from interpreter-setting.json
### What type of PR is it?
[Bug Fix | Hot Fix]
### Todos
* [x] - Fix NPE
### What is the Jira issue?
N/A
### How should this be tested?
1. delete `properties` in one of `interpreter-setting.json`
1. Build and run
1. Got error
1. Apply this PR
1. Build and run
1. Run it successfully
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Jongyoul Lee <jongyoul@gmail.com>
Closesapache#1128 from jongyoul/hotfix/interpreter-properties-is-null and squashes the following commits:
1dcf562 [Jongyoul Lee] Fixed NPE when there's no properties field in interpreter-setting.json
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jongyoul@khalidhuseynov@bzz@prabhjyotsingh