[ https://issues.apache.org/jira/browse/PIG-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112343#comment-16112343 ]
Nandor Kollar commented on PIG-5254: ------------------------------------ Looks good to me. > Hit Ctrl-D to quit grunt shell fail > ----------------------------------- > > Key: PIG-5254 > URL: https://issues.apache.org/jira/browse/PIG-5254 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.18.0, 0.17.1 > Reporter: Daniel Dai > Assignee: Weijun Qian > Fix For: 0.18.0, 0.17.1 > > Attachments: PIG-5254.patch > > > Exception: > {code} > java.lang.NullPointerException > at > org.apache.pig.tools.grunt.ConsoleReaderInputStream$ConsoleLineInputStream.read(ConsoleReaderInputStream.java:107) > at java.io.InputStream.read(InputStream.java:170) > at java.io.SequenceInputStream.read(SequenceInputStream.java:207) > at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) > at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) > at java.io.InputStreamReader.read(InputStreamReader.java:184) > at java.io.BufferedReader.fill(BufferedReader.java:161) > at java.io.BufferedReader.read1(BufferedReader.java:212) > at java.io.BufferedReader.read(BufferedReader.java:286) > at > org.apache.pig.tools.pigscript.parser.JavaCharStream.FillBuff(JavaCharStream.java:143) > at > org.apache.pig.tools.pigscript.parser.JavaCharStream.ReadByte(JavaCharStream.java:171) > at > org.apache.pig.tools.pigscript.parser.JavaCharStream.readChar(JavaCharStream.java:274) > at > org.apache.pig.tools.pigscript.parser.JavaCharStream.BeginToken(JavaCharStream.java:193) > at > org.apache.pig.tools.pigscript.parser.PigScriptParserTokenManager.getNextToken(PigScriptParserTokenManager.java:3215) > at > org.apache.pig.tools.pigscript.parser.PigScriptParser.jj_ntk(PigScriptParser.java:1511) > at > org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:117) > at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230) > at > org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205) > at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:66) > at org.apache.pig.Main.run(Main.java:564) > at org.apache.pig.Main.main(Main.java:175) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)