From: ebeard(at)lexmark(dot)com
To: pgsql-jdbc(at)postgresql(dot)org
Subject:
Date: 2002-06-04 18:38:12
Message-ID: 200206041838.OAA16365@interlock2.lexmark.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Responses

  • Re: at 2002-06-05 15:29:31 from Nick Fankhauser
  • Re: at 2002-06-05 16:05:47 from Dave Cramer

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vernon Wu 2002-06-05 03:10:52 Re: Java GUI development
Previous Message zze-Synchro ball001 exterieur FTRD 2002-06-04 13:34:38 Connexion