[
https://issues.apache.org/jira/browse/STORM-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jungtaek Lim resolved STORM-2216.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0.3
1.1.0
2.0.0
Thanks [~revans2], I merged into master, 1.x, 1.0.x branches.
> Favor JSONValue.parseWithException
> ----------------------------------
>
> Key: STORM-2216
> URL: https://issues.apache.org/jira/browse/STORM-2216
> Project: Apache Storm
> Issue Type: Improvement
> Reporter: Robert Joseph Evans
> Assignee: Robert Joseph Evans
> Fix For: 2.0.0, 1.1.0, 1.0.3
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> In a number of places we will parse JSON with `JSONValue.parse` but if it
> cannot parse the data it just returns null, which leads to NPEs that are not
> descriptive and hard to debug. `JSONValue.parseWithException` throws an
> exception that explains what happened and makes it much simpler to debug.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)