[ https://issues.apache.org/jira/browse/PIG-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437250#comment-13437250 ]
Cheolsoo Park commented on PIG-1332: ------------------------------------ PIG-2833 is duplicate of this. > NullPointerException in PigServer when invoking debugOff() method > ----------------------------------------------------------------- > > Key: PIG-1332 > URL: https://issues.apache.org/jira/browse/PIG-1332 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.6.0 > Reporter: Paolo Castagna > Priority: Minor > Attachments: debugoff.patch > > > {code} > PigServer pig = new PigServer("local"); > pig.debugOff(); > {code} > The debugOff() method is causing a NullPointerException. > Root cause is defaultLogLevel which is null in PigContext. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira