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

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

GitHub user ravikiran23 opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/160

    [CARBONDATA-245] Actual Exception is getting lost in case of data 
dictionary file generation.

    PROBLEM : 
    during data load if any exception comes when the dictionary file is getting 
generated.
    then in the finally block trying to write the meta file but as the stream 
is null, it will throw null pointer.
      
    solution : 
    in the finally added a check whether the stream is null or not. then only 
writing data to the stream.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravikiran23/incubator-carbondata 
nullPointerInDataLoad

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/160.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #160
    
----
commit 58335f16ac3541b2ebcf157e933ab5291a59e9c1
Author: ravikiran <ravikiran.sn...@gmail.com>
Date:   2016-09-16T18:34:38Z

    if for any reason data load is failed during the dictionary generation then 
in the finally block trying to write the meta file but as the stream is null, 
it will throw null pointer.

----


> 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