drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devender Yadav <dev....@gmail.com>
Subject Re: null pointer at AbstractSqlAccessor.getString()
Date Fri, 08 Jan 2016 09:16:13 GMT
@Jason Altekruse

Thanks for the reply.

This is a very silly bug & critical for JDBC users. Please look into it
once.

Regards,
Devender

On Tue, Jan 5, 2016 at 2:03 PM, Devender Yadav <dev.emr@gmail.com> wrote:

>  I am testing Drill JDBC. While fetching results, I got null pointer at
>
>
> org.apache.drill.exec.vector.accessor.AbstractSqlAccessor.getString(AbstractSqlAccessor.jav
> a:101)
>
> Below mentioned method is throwing null pointer becaue
> getObject(rowOffset) returns null for null values & null.toString() is
> throwing *null pointer*.
>
> @Override
> public String getString(int rowOffset) throws InvalidAccessException
> { return getObject(rowOffset).toString(); }
>
>
> I raised an *issue*(https://issues.apache.org/jira/browse/DRILL-4128) on
> Drill JIRA.‚Äč
> Regards,
> Devender
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message