This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 141704 - postgres ClassCastException in db explorer, not in psql
Summary: postgres ClassCastException in db explorer, not in psql
Status: RESOLVED DUPLICATE of bug 141379
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ ahimanikya
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 17:11 UTC by gholmer
Modified: 2008-10-02 14:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (2.34 KB, text/plain)
2008-07-25 17:12 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2008-07-25 17:11:37 UTC
[ BUILD # : 200807240010 ]
[ JDK VERSION : 1.6.0_07 ]

1) In the Services tab, under Databases/Drivers, I selected "New
Driver", and set up Postgres JDBC driver corresponding to my
installed version (8.3 on Ubuntu 8.04). The driver name is
postgresql-8.3-603.jdbc3.jar.
2) Right-click driver icon and select "Connect using..."; fill in
information for a local database.
3) I do a simple "select * from taddress" against the database I
chose, and I get a ClassCastException (see attached stack trace).
4) The same query runs normally in psql (the Postgres command-line
monitor) and in a test program written using the same JDBC driver.
Comment 1 gholmer 2008-07-25 17:12:14 UTC
Created attachment 65659 [details]
stack trace
Comment 2 _ ahimanikya 2008-07-25 18:54:12 UTC
This has been fixed. Please use the latest build.
Comment 3 Roman Mostyka 2008-07-28 10:25:19 UTC
This issue is duplicate.
Comment 4 Roman Mostyka 2008-07-28 10:25:58 UTC

*** This issue has been marked as a duplicate of 141379 ***