HP3000-L Archives

November 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bruce Toback <[log in to unmask]>
Reply To:
Bruce Toback <[log in to unmask]>
Date:
Thu, 15 Nov 2001 19:45:41 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
Hi all,

Sorry to interrupt the festivities, but I have a technical question.

I've been trying on and off to get JDBC working with IMAGE/SQL. I finally
decided that I'd just take an evening and try to make it work. However,
I'm stuck.

When my little program tries to load HP's JDBC driver, I get an exception:

>Exception in thread "main" java.lang.ExceptionInInitializerError:
>java.lang.Null
>PointerException
>        at java.io.Writer.<init>(Writer.java:75)
>        at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:98)
>        at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:87)
>        at java.io.PrintWriter.<init>(PrintWriter.java:110)
>        at java.io.PrintWriter.<init>(PrintWriter.java:94)
>        at com.hp.jdbc.allbase.JdbcDriver.<clinit>(JdbcDriver.java:77)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:124)
>        at javatest3.<init>(javatest3.java:10)
>        at javatest3.main(javatest3.java:45)

So I've obviously got the driver in the CLASSPATH because the exception
comes from the HP code. I've tried this on MacOS X (JDK 1.3.1) and on
Linux (JDK 1.2.?). I get the same thing either way.

Any clues?

Thanks,
-- Bruce


--------------------------------------------------------------------------
Bruce Toback    Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc.            (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142      | But ah, my foes, and oh, my friends -
Phoenix AZ 85028                   | It gives a lovely light.
btoback AT optc.com                |     -- Edna St. Vincent Millay
Mail sent to [log in to unmask] will be inspected for a
fee of US$250. Mailing to said address constitutes agreement to
pay, including collection costs.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2