Re: DbVisualizer 2.1 exeptions - Mailing list pgsql-general

From Varun Kacholia
Subject Re: DbVisualizer 2.1 exeptions
Date
Msg-id 20020628221014.A4440@voxel.cse.iitb.ac.in
Whole thread Raw
In response to DbVisualizer 2.1 exeptions  (ktt <kestutis98@yahoo.com>)
Responses Re: DbVisualizer 2.1 exeptions
List pgsql-general
Hi,
 I am also facing a problem with DbVis.
 (well i know this is not the forum for it..but if anyone can help out :) )
 I have loaded the driver org.postgresql.Driver in it..
 but it fails to connect..(i am giving the proper user/passwd)
 does not give any errors...just stays as it is.
 has anyone experienced like this before?
 thanks for any help


On Fri, Jun 28, 2002 at 07:58:39AM -0700, ktt wrote:
> i'm trying to use DbVisualizer with my postgres 7.21
> (database was compilled --with-java, for DbVisualizer
> i'm using org.postgresql.Driver from pgjdbc.jar),
>
> but getting an error. maybe the url path is wrong?
> i'm using "localhost".
>
> thank you for any help.
>
> errors:
>
> 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:517)
>     at
> java.sql.DriverManager.getConnection(DriverManager.java:177)
>     at
> se.pureit.dbvis.wrapper.DriverManagerImpl.getConnection(DriverManagerImpl.java:31)
>     at
> se.pureit.dbvis.Database.doConnect(Database.java:180)
>     at
> se.pureit.dbvis.Database.access$0(Database.java:170)
>     at
> se.pureit.dbvis.Database$ConnectionCommand.execute(Database.java:1022)
>     at
> se.pureit.util.ThreadCommand.runExecute(ThreadCommand.java:161)
>     at
> se.pureit.util.ThreadCommand.run(ThreadCommand.java:141)
>     at java.lang.Thread.run(Thread.java:484)
> End of Stack 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:517)
>     at
> java.sql.DriverManager.getConnection(DriverManager.java:177)
>     at
> se.pureit.dbvis.wrapper.DriverManagerImpl.getConnection(DriverManagerImpl.java:31)
>     at
> se.pureit.dbvis.Database.doConnect(Database.java:180)
>     at
> se.pureit.dbvis.Database.access$0(Database.java:170)
>     at
> se.pureit.dbvis.Database$ConnectionCommand.execute(Database.java:1022)
>     at
> se.pureit.util.ThreadCommand.runExecute(ThreadCommand.java:161)
>     at
> se.pureit.util.ThreadCommand.run(ThreadCommand.java:141)
>     at java.lang.Thread.run(Thread.java:484)
> End of Stack Trace
> 5&
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>

--

Varun
------
@n=(544290696690,305106661574,116357),$b=16,@c=' .JPacehklnorstu'=~
/./g;for$n(@n){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}c(0..9);
push@p,map{$c[$_]}@c[c($b..$#c)];$#c=$b-1}print@p;sub'c{reverse @_}






pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Shared Memory Sizing
Next
From: Darko Prenosil
Date:
Subject: Re: Acessing columns of parent tables with PL/pgSQL