Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEDBD18488 for ; Fri, 19 Feb 2016 22:07:18 +0000 (UTC) Received: (qmail 61740 invoked by uid 500); 19 Feb 2016 22:07:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 61656 invoked by uid 500); 19 Feb 2016 22:07:18 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 61620 invoked by uid 99); 19 Feb 2016 22:07:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2016 22:07:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 167AC2C14F2 for ; Fri, 19 Feb 2016 22:07:18 +0000 (UTC) Date: Fri, 19 Feb 2016 22:07:18 +0000 (UTC) From: "sandeep akinapelli (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-13101) NullPointerException in HiveLexer.g MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 sandeep akinapelli created HIVE-13101: ----------------------------------------- Summary: NullPointerException in HiveLexer.g Key: HIVE-13101 URL: https://issues.apache.org/jira/browse/HIVE-13101 Project: Hive Issue Type: Bug Components: Query Planning Affects Versions: 2.0.0 Reporter: sandeep akinapelli Assignee: sandeep akinapelli Priority: Minor In HiveLexer.g: {code:Java} protected boolean allowQuotedId() { String supportedQIds = HiveConf.getVar(hiveConf, HiveConf.ConfVars.HIVE_QUOTEDID_SUPPORT); return !"none".equals(supportedQIds); } {code} NullPointerException is thrown when hiveConf is not set. Stack trace: {code:Java}java.lang.NullPointerException at org.apache.hadoop.hive.conf.HiveConf.getVar(HiveConf.java:3142) ~[hive-exec-2.0.0.jar:2.0.0] at org.apache.hadoop.hive.ql.parse.HiveLexer.allowQuotedId(HiveLexer.java:360) ~[hive-exec-2.0.0.jar:2.0.0] at org.apache.hadoop.hive.ql.parse.HiveLexer$DFA21.specialStateTransition(HiveLexer.java:11522) ~[hive-exec-2.0.0.jar:2.0.0] at org.antlr.runtime.DFA.predict(DFA.java:80) ~[antlr-runtime-3.5.1.jar:3.5.1] at org.apache.hadoop.hive.ql.parse.HiveLexer.mIdentifier(HiveLexer.java:8357) ~[hive-exec-2.0.0.jar:2.0.0] at org.apache.hadoop.hive.ql.parse.HiveLexer.mTokens(HiveLexer.java:11395) ~[hive-exec-2.0.0.jar:2.0.0] at org.antlr.runtime.Lexer.nextToken(Lexer.java:85) ~[antlr-runtime-3.5.1.jar:3.5.1] {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)