[
https://issues.apache.org/jira/browse/PIG-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lorand Bendig reassigned PIG-3576:
----------------------------------
Assignee: Lorand Bendig
> NPE due to PIG-3549 when job never gets submitted
> -------------------------------------------------
>
> Key: PIG-3576
> URL: https://issues.apache.org/jira/browse/PIG-3576
> Project: Pig
> Issue Type: Bug
> Reporter: Aniket Mokashi
> Assignee: Lorand Bendig
> Priority: Trivial
>
> NPE can happen if job never gets submitted due to errors like - input path
> does not exists. Following line (toString method) throws npe-
> {code}
> msg.append("JobID: " + j.getAssignedJobID().toString() + " Reason: " +
> j.getMessage());
> {code}
> Apparently, a.toString can throw NPE, but String.valueOf(a) handles null
> well(writes "null" for null values).
--
This message was sent by Atlassian JIRA
(v6.1#6144)