Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> problem: JDBC driver, NullPointerException

problem: JDBC driver, NullPointerException

From: <pg_at_softcomputer.com>
Date: Tue, 12 May 1998 18:23:39 GMT
Message-ID: <6ja43b$iud$1@nnrp1.dejanews.com>


I'm trying to use Oracle's JDBC thin driver on AIX 4.3 with Java 1.1.4. When I run the sample program Employee.java. I get the following exception: java.lang.NullPointerException

        at oracle.jdbc.driver.OracleStatement.doDefaultTypes(Compiled Code)
        at oracle.jdbc.driver.OracleStatement.doExecuteQuery(Compiled Code)
        at oracle.jdbc.driver.OracleStatement.doExecute(Compiled Code)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(Compiled
Code)
        at oracle.jdbc.driver.OracleStatement.executeQuery(Compiled Code)
        at Employee.main(Compiled Code)
The same program runs without problems on Windows NT. Does somebody know how to make this program run on AIX.

Thanks,
Peter

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Tue May 12 1998 - 13:23:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US