Re:

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: ebeard(at)lexmark(dot)com
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re:
Date: 2002-06-05 16:05:47
Message-ID: 1023293148.1644.419.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Eric,

This isn't much to go on, can you do me a favour and try the latest
driver from jdbc.postgresql.org and see if you get the same error

Dave
On Tue, 2002-06-04 at 14:38, ebeard(at)lexmark(dot)com wrote:
>
>
> I've included the information that I think may be helpful. If you need anything
> else, please let me know.
>
> Thanks
> Eric
>
> System Information
> NT 4.0 SP 6
> Sun's JDK 1.4
> pgjdbc2.jar
> ODBC drivers 7.02.0001 dated 4/15/02
>
> Source Code
>
> Class.forName("org.postgresql.Driver");
> System.out.println("Driver loaded");
> Connection con = DriverManager.getConnection
>
> ("jdbc:postgresql://pgsql-db.lpdev.prtdev.lexmark.com:5432","db","pw");
> System.out.println("Connection made loaded");
>
> Statement stmt = con.createStatement();
> ResultSet rs = stmt.executeQuery("SELECT * FROM ArchiveLogEntry");
> System.out.println("Result queried");
>
> Trace
>
> Something unusual has occured to cause the driver to fail. Please report this
> exception: Exception: java.lang.NullPointerException
> Stack Trace:
>
> java.lang.NullPointerException
> at org.postgresql.Connection.openConnection(Connection.java:155)
> at org.postgresql.Driver.connect(Driver.java:149)
> at java.sql.DriverManager.getConnection(DriverManager.java:512)
> at java.sql.DriverManager.getConnection(DriverManager.java:171)
> at com.lexmark.printer.fglib.vulog.actionPerformed(vulog.java:201)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
> at
> javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
>
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
> at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
>
> at java.awt.Component.processMouseEvent(Component.java:5021)
> at java.awt.Component.processEvent(Component.java:4818)
> at java.awt.Container.processEvent(Container.java:1380)
> at java.awt.Component.dispatchEventImpl(Component.java:3526)
> at java.awt.Container.dispatchEventImpl(Container.java:1437)
> at java.awt.Component.dispatchEvent(Component.java:3367)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
> at java.awt.Container.dispatchEventImpl(Container.java:1423)
> at java.awt.Window.dispatchEventImpl(Window.java:1566)
> at java.awt.Component.dispatchEvent(Component.java:3367)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
>
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
>
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
> End of Stack Trace
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>

In response to

  • at 2002-06-04 18:38:12 from ebeard

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-06-05 16:24:38 Java GUI development
Previous Message Nick Fankhauser 2002-06-05 15:29:31 Re: