[
https://issues.apache.org/jira/browse/LENS-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arshad Matin closed LENS-381.
-----------------------------
> 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)