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

Hudson commented on LENS-381:
-----------------------------

SUCCESS: Integrated in Lens-Commit #488 (See 
[https://builds.apache.org/job/Lens-Commit/488/])
LENS-381 : Fix NPE for fetching result from JDBC (Sushil Mohanty via 
amareshwari) (amareshwari: rev f28b1e4988474527c414bbb78a7981bfaad77611)
* 
lens-query-lib/src/main/java/org/apache/lens/lib/query/AbstractOutputFormatter.java


> NPE while streaming resultset from jdbc driver
> ----------------------------------------------
>
>                 Key: LENS-381
>                 URL: https://issues.apache.org/jira/browse/LENS-381
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Sushil Mohanty
>            Assignee: Sushil Mohanty
>             Fix For: 2.1
>
>         Attachments: LENS-381.patch
>
>
> Exception
> {CODE}
> 01 Mar 2015 08:37:51,935 [event_processor_thread] WARN  
> org.apache.lens.server.query.ResultFormatter  - Exception while formatting 
> result for 48609723-6b91-401a-84d4-8bd1dc93d161
> java.lang.NullPointerException
>       at 
> org.apache.lens.lib.query.AbstractOutputFormatter.initColumnFields(AbstractOutputFormatter.java:140)
>       at 
> org.apache.lens.lib.query.AbstractOutputFormatter.init(AbstractOutputFormatter.java:123)
>       at 
> org.apache.lens.lib.query.WrappedFileFormatter.init(WrappedFileFormatter.java:54)
>       at 
> org.apache.lens.lib.query.FileSerdeFormatter.init(FileSerdeFormatter.java:72)
>       at 
> org.apache.lens.server.query.ResultFormatter.formatOutput(ResultFormatter.java:104)
>       at 
> org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:65)
>       at 
> org.apache.lens.server.query.ResultFormatter.process(ResultFormatter.java:41)
>       at 
> org.apache.lens.server.api.events.AsyncEventListener$2.run(AsyncEventListener.java:101)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:701)
> {CODE}



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

Reply via email to