Re: DBVisualizer Null Pointer Exception

From: Holger Mitterwald <holger(dot)mitterwald(at)coi(dot)de>
To: Robert Treat <rtreat(at)webmd(dot)net>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: DBVisualizer Null Pointer Exception
Date: 2002-06-27 09:42:05
Message-ID: 3D1ADDED.2090002@coi.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello Robert,

Robert Treat wrote:

>[DEBUG] DB=myserver::mydb Cat=null Sch=null
>Exception occured during event dispatching:
>java.lang.NullPointerException
> at
> org.postgresql.jdbc2.DatabaseMetaData.getTables(DatabaseMetaData.java:1707)
> at se.pureit.dbvis.Selector.getTablesFor(Selector.java:679)
> etc...
>
>
Just a blind guess as I run into the same exception with an other program:

DatabaseMetaData.getTables() is case-sensitive, but PostgreSQL expects
table names as lowercase (if not quoted with "'").
So rename all your tables to lowercase.

Best regards,
Holger

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-06-27 13:42:43 Re: make check failures in current cvs
Previous Message Joachim Gabler 2002-06-27 05:29:17 Re: JDBC + PL/pgSQL ?