org.apache.pig.tools.pigscript.parser.TokenMgrError: Lexical error at line 19, column 0. Encountered: <EOF> after : ""

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Harish Swamy
, 1 year ago
Lexical error at line 19, column 0. Encountered: <EOF> after : ""
via pig-user by Arvind S, 1 year ago
Lexical error at line 7, column 0. Encountered: <EOF> after : ""
via pig-user by Arvind S, 1 year ago
Lexical error at line 7, column 0. Encountered: <EOF> after : ""
via pig-user by Arvind S, 1 year ago
Lexical error at line 7, column 0. Encountered: <EOF> after : ""
via pig-user by Christopher Maier, 1 year ago
Lexical error at line 7, column 0. Encountered: <EOF> after : ""
via pig-user by Christopher Maier, 1 year ago
Lexical error at line 7, column 0. Encountered: <EOF> after : ""
org.apache.pig.tools.pigscript.parser.TokenMgrError: Lexical error at line 19, column 0. Encountered: <EOF> after : ""
at org.apache.pig.tools.pigscript.parser.PigScriptParserTokenManager.getNextToken(PigScriptParserTokenManager.java:3326)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.jj_ntk(PigScriptParser.java:1379)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:106)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:198)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:173)
at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:84)
at org.apache.pig.Main.run(Main.java:613)
at org.apache.pig.Main.main(Main.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.