Feedback
Did this article resolve your question/issue?

   

Article

NullPointerException when executing select with Connect for ODBC and JDBC ARC driver

Information

 
TitleNullPointerException when executing select with Connect for ODBC and JDBC ARC driver
URL Namenullpointerexception-when-executing-select-with-connect-for-odbc-and-jdbc-arc-driver
Article Number000155305
EnvironmentProduct: Connect for ODBC and JDBC Auto REST Connector Driver
Version: 8.0, 6.0
O/S: All Supported
Database: N/A
Application: N/A
Question/Problem Description
Executing the following causes NPE:

select TJOIN1.RNUM, TJOIN1.C1, TJOIN1.C2 from AUTOREST.TJOIN1 where C1 in ( select C1 from AUTOREST.TJOIN1)

 
Steps to Reproduce
Clarifying Information
Error Message[DataDirect][AutoREST JDBC Driver][AutoREST]java.lang.NullPointerException java.lang.NullPointerException in statement [select TJOIN1.RNUM, TJOIN1.C1, TJOIN1.C2 from AUTOREST.TJOIN1 where C1 in ( select C1 from AUTOREST.TJOIN1)]
SQLState: HY000
ErrorCode: -458
Defect NumberXDBC-17150
Enhancement Number
Cause
The driver was not checking for a null value when performing the comparison.
Resolution
Fixed in hotfixes:

JDBC : 6.0.0.000575 (C0312.F000387.U000198)

ODBC : 08.00.0239 (B0532, U0375)

Refer to "Connect for JDBC hot fix download and install instructions" for instructions on how to download and install the hot fix.

Refer to "Connect and Connect64 for ODBC hot fix download and install instructions" for instructions on how to download and install the hot fix.
Workaround
Notes
Last Modified Date2/5/2020 4:45 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.