Pig
  1. Pig
  2. PIG-172

NullPointerException thrown if we catch exception with null message

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None

      Description

      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)

      1. PIG-172.patch
        0.7 kB
        Olga Natkovich

        Activity

        Olga Natkovich created issue -
        Olga Natkovich made changes -
        Field Original Value New Value
        Attachment PIG-172.patch [ 12378811 ]
        Olga Natkovich made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Alan Gates added a comment -

        +1 on the patch

        Show
        Alan Gates added a comment - +1 on the patch
        Hide
        Olga Natkovich added a comment -

        patch committed

        Show
        Olga Natkovich added a comment - patch committed
        Olga Natkovich made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Olga Natkovich made changes -
        Fix Version/s 0.1.0 [ 12312848 ]
        Alan Gates made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Olga Natkovich
            Reporter:
            Olga Natkovich
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development