This discussion is archived
1 Reply Latest reply: Mar 28, 2013 8:44 AM by Joe Weinstein RSS

OracleDriver.getPropertyInfo throws an NPE

622030 Newbie
Currently Being Moderated
Hi,

I get a null pointer exception when calling getProperty on version 11.2.0.1 and 11.2.0.3 using Oracles ojdbc6 driver, thrown from here:


oracle.jdbc.driver.OracleDriver.getPropertyInfo(OracleDriver.java:663)


Debugging the code calling getProperty I can see that the url is valid as are the items in the properties object I pass in. Using the same driver, url and properties object I am able to call connect without any issues. In fact everything seems to work, save for this.

This code works using exactly the same parameters with version 11.1.0.7 of the odjbc6 driver and every other implementation of java.sql.Driver we have encountered so far.

Has anyone else encountered this problem? Does anyone have any idea of what has gone wrong here?

Thanks!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points