You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/03/28 20:50:26 UTC
[jira] Created: (PIG-172) NullPointerException thrown if we catch
exception with null message
NullPointerException thrown if we catch exception with null message
-------------------------------------------------------------------
Key: PIG-172
URL: https://issues.apache.org/jira/browse/PIG-172
Project: Pig
Issue Type: Bug
Reporter: Olga Natkovich
Assignee: Olga Natkovich
grunt> A = load '/user/pig/tests/data/singlefile/studentcolon10k' using PigStorage(':');
grunt> B = foreach A generate $2, $1, $0;
grunt> define X `awk 'BEGIN {FS = ","; OFS = "\t"} {print $3, $2, $1}'` input (stdin using PigStorage(','));
grunt> C = stream B through X;
grunt> D = foreach C generate a, b;
java.lang.NullPointerException
at org.apache.pig.tools.grunt.Utils.getPermissionException(Utils.java:24)
at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:77)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
at org.apache.pig.Main.main(Main.java:253)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-172) NullPointerException thrown if we catch
exception with null message
Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583190#action_12583190 ]
Alan Gates commented on PIG-172:
--------------------------------
+1 on the patch
> NullPointerException thrown if we catch exception with null message
> -------------------------------------------------------------------
>
> Key: PIG-172
> URL: https://issues.apache.org/jira/browse/PIG-172
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Olga Natkovich
> Attachments: PIG-172.patch
>
>
> grunt> A = load '/user/pig/tests/data/singlefile/studentcolon10k' using PigStorage(':');
> grunt> B = foreach A generate $2, $1, $0;
> grunt> define X `awk 'BEGIN {FS = ","; OFS = "\t"} {print $3, $2, $1}'` input (stdin using PigStorage(','));
> grunt> C = stream B through X;
> grunt> D = foreach C generate a, b;
> java.lang.NullPointerException
> at org.apache.pig.tools.grunt.Utils.getPermissionException(Utils.java:24)
> at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:77)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:253)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-172) NullPointerException thrown if we catch
exception with null message
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-172:
-------------------------------
Status: Patch Available (was: Open)
> NullPointerException thrown if we catch exception with null message
> -------------------------------------------------------------------
>
> Key: PIG-172
> URL: https://issues.apache.org/jira/browse/PIG-172
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Olga Natkovich
> Attachments: PIG-172.patch
>
>
> grunt> A = load '/user/pig/tests/data/singlefile/studentcolon10k' using PigStorage(':');
> grunt> B = foreach A generate $2, $1, $0;
> grunt> define X `awk 'BEGIN {FS = ","; OFS = "\t"} {print $3, $2, $1}'` input (stdin using PigStorage(','));
> grunt> C = stream B through X;
> grunt> D = foreach C generate a, b;
> java.lang.NullPointerException
> at org.apache.pig.tools.grunt.Utils.getPermissionException(Utils.java:24)
> at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:77)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:253)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-172) NullPointerException thrown if we catch
exception with null message
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-172:
-------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
patch committed
> NullPointerException thrown if we catch exception with null message
> -------------------------------------------------------------------
>
> Key: PIG-172
> URL: https://issues.apache.org/jira/browse/PIG-172
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Olga Natkovich
> Attachments: PIG-172.patch
>
>
> grunt> A = load '/user/pig/tests/data/singlefile/studentcolon10k' using PigStorage(':');
> grunt> B = foreach A generate $2, $1, $0;
> grunt> define X `awk 'BEGIN {FS = ","; OFS = "\t"} {print $3, $2, $1}'` input (stdin using PigStorage(','));
> grunt> C = stream B through X;
> grunt> D = foreach C generate a, b;
> java.lang.NullPointerException
> at org.apache.pig.tools.grunt.Utils.getPermissionException(Utils.java:24)
> at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:77)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:253)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-172) NullPointerException thrown if we catch
exception with null message
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-172:
-------------------------------
Attachment: PIG-172.patch
> NullPointerException thrown if we catch exception with null message
> -------------------------------------------------------------------
>
> Key: PIG-172
> URL: https://issues.apache.org/jira/browse/PIG-172
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Olga Natkovich
> Attachments: PIG-172.patch
>
>
> grunt> A = load '/user/pig/tests/data/singlefile/studentcolon10k' using PigStorage(':');
> grunt> B = foreach A generate $2, $1, $0;
> grunt> define X `awk 'BEGIN {FS = ","; OFS = "\t"} {print $3, $2, $1}'` input (stdin using PigStorage(','));
> grunt> C = stream B through X;
> grunt> D = foreach C generate a, b;
> java.lang.NullPointerException
> at org.apache.pig.tools.grunt.Utils.getPermissionException(Utils.java:24)
> at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:77)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
> at org.apache.pig.Main.main(Main.java:253)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.