[ 
https://issues.apache.org/jira/browse/CARBONDATA-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15498891#comment-15498891
 ] 

ASF GitHub Bot commented on CARBONDATA-245:
-------------------------------------------

Github user vinodkc commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/160#discussion_r79282603
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/writer/ThriftWriter.java ---
    @@ -80,6 +80,17 @@ public void open() throws IOException {
       }
     
       /**
    +   * This will check whether stream and binary out is open or not.
    +   * @return
    +   */
    +  public boolean isOpen() {
    +    if (null != binaryOut && null != dataOutputStream) {
    --- End diff --
    
    need to set  binaryOut  and dataOutputStream to null in close() method


> Actual Exception is getting lost in case of data dictionary file generation.
> ----------------------------------------------------------------------------
>
>                 Key: CARBONDATA-245
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-245
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-load
>            Reporter: ravikiran
>            Priority: Minor
>
> Actual Exception is getting lost in case of data dictionary file 
> generation.getting the null pointer exception as in the finally block we are 
> trying to write data to a null stream.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to