Hi,



 I am testing Drill JDBC. While fetching results, I got null pointer at



org.apache.drill.exec.vector.accessor.AbstractSqlAccessor.getString(AbstractSqlAccessor.java: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>(https://issues.apache.org/jira/browse/DRILL-4128)
 on Drill JIRA.?





Regards,

Devender





________________________________






NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

Reply via email to