Forum Discussion

ricky's avatar
ricky
Occasional Contributor
8 years ago

Java 8 upgrade impacts groovy - Ready API 1.9.0 - ODBC driver error

Hi,

 

After upgrading to the latest version of ready API (1.9.0) my existing scripts to fetch data from Excel stops working and i receive the below error

 

Error Message Box:
java.lang.NullPointerException: Cannot invoke method close() on null object


Log :

INFO:sun.jdbc.odbc.JdbcOdbcDriver

 

On analyzing further i could get that Java 8 upgrade caused this and not sure how to fix this, if any faced this issue or any idea on how to use our existing groovy please let me know. 

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3

    Would you mind showing full stack trace? By the way, what is the oracle jdbc driver being used?

    From log message, it appears that you seemed to be using very old / deprecated driver class name.

     

    Can you please show the script? Looks, it is trying to close the connection without even checking if there is connect exists.